org.opensourcephysics.ejs
Interface View

All Superinterfaces:
Control

public interface View
extends Control

A base interface for the graphical user interface of a simulation


Method Summary
 java.awt.Component getComponent(java.lang.String _name)
          Get a graphical object
 void initialize()
          updating all possible data
 void read()
          Read current data
 void read(java.lang.String _variable)
          Read a single variable
 void reset()
          Clearing any previous data
 void update()
          Accept data sent
 
Methods inherited from interface org.opensourcephysics.controls.Control
calculationDone, clearMessages, clearValues, getBoolean, getDouble, getInt, getObject, getPropertyNames, getString, print, println, println, setLockValues, setValue, setValue, setValue, setValue
 

Method Detail

reset

public void reset()
Clearing any previous data


initialize

public void initialize()
updating all possible data


read

public void read()
Read current data


read

public void read(java.lang.String _variable)
Read a single variable


update

public void update()
Accept data sent


getComponent

public java.awt.Component getComponent(java.lang.String _name)
Get a graphical object

Parameters:
_name - A keyword that identifies the graphical object that must be retrieved. Typically its name.
Returns:
The graphical component