Package org.opensourcephysics.ejs
Interface View
- All Superinterfaces:
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
Modifier and TypeMethodDescriptiongetComponent
(String _name) Get a graphical objectvoid
updating all possible datavoid
read()
Read current datavoid
Read a single variablevoid
reset()
Clearing any previous datavoid
update()
Accept data sentMethods inherited from interface org.opensourcephysics.controls.Control
calculationDone, clearMessages, clearValues, getBoolean, getDouble, getInt, getObject, getPropertyNames, getPropertyNamesRaw, getString, print, println, println, setLockValues, setValue, setValue, setValue, setValue, setValue
-
Method Details
-
reset
void reset()Clearing any previous data -
initialize
void initialize()updating all possible data -
read
void read()Read current data -
read
Read a single variable -
update
void update()Accept data sent -
getComponent
Get a graphical object- Parameters:
_name
- A keyword that identifies the graphical object that must be retrieved. Typically its name.- Returns:
- The graphical component
-