This is the web version of EJS interface
EJS version 4.2
  1. Author=Fu-Kwun Hwang - Dept. of Physics, National Taiwan Normal Univ.
  2. Abstract=hwang@phy.ntnu.edu.tw
  3. CaptureTools=true
  4. DataTools=true
  5. LanguageTools=true
    NameValueTypeDimension
    NameValueTypeDimension

    setResolution

    public void setResolution () { resolution="1,"+cs+","+ps; }
    EJSVIEW: Click link to view it's content
    Control variables:(testing)
    int,int
    title="Frame"
    layout=border
    visible=true
    location="87,12"
    size="518,509"
    position=center
    minimumX=xmin
    maximumX=xmax
    minimumY=ymin
    maximumY=ymax
    minimumZ=zmin
    maximumZ=zmax
    cameraAzimuth=0.0
    cameraAltitude=0.0
    cameraFocusX=0.0
    cameraFocusY=0.0
    cameraFocusZ=0.0
    cameraRotation=0.0
    cameraDistanceToScreen=500.0
    radius=R
    fillColor=0,0,255,128
    resolution=%resolution%
    position=south
    layout=HBOX
    borderType=LOWERED_ETCHED
    variable=_isPaused
    imageOn=/org/opensourcephysics/resources/controls/images/play.gif
    actionOn=_play()
    imageOff=/org/opensourcephysics/resources/controls/images/pause.gif
    actionOff=_pause()
    image=/org/opensourcephysics/resources/controls/images/reset.gif
    action=_reset()
    layout=HBOX
    variable=cs
    minimum=1
    maximum=36
    format="cs=0"
    dragaction=setResolution ()
    variable=ps
    minimum=1
    maximum=72
    format="ps=0"
    dragaction=setResolution ()