org.opensourcephysics.ejs
Interface View

All Superinterfaces:
Control

public interface View
extends Control

A base interface for the graphical user interface of a simulation


Field Summary
 
Fields inherited from interface org.opensourcephysics.controls.Control
NOT_EDITABLE_BACKGROUND
 
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

void reset()
Clearing any previous data


initialize

void initialize()
updating all possible data


read

void read()
Read current data


read

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


update

void update()
Accept data sent


getComponent

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