|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensourcephysics.controls.HiddenControl
A Control without a graphical user interface.
| Constructor Summary | |
HiddenControl()
|
|
| Method Summary | |
void |
calculationDone(java.lang.String s)
Notifies the control when a calculation has completed. |
void |
clearMessages()
Clears all text from the control's message area. |
void |
clearValues()
Clears all text from the control's data input area. |
boolean |
getBoolean(java.lang.String par)
Read a parameter value from the input display. |
double |
getDouble(java.lang.String par)
Read a parameter value from the input display. |
int |
getInt(java.lang.String par)
Read a parameter value from the input display. |
java.lang.Object |
getObject(java.lang.String name)
Gets the object with the specified property name. |
java.util.Collection |
getPropertyNames()
/** Gets the names of all properties stored in this control. |
java.lang.String |
getString(java.lang.String par)
Reads a parameter value from the input display. |
void |
print(java.lang.String s)
Prints a string in the control's message area. |
void |
println()
Prints a blank line in the control's message area. |
void |
println(java.lang.String s)
Prints a string in the control's message area followed by a CR and LF. |
void |
scriptValue(java.lang.String par,
java.lang.String val)
|
void |
setLockValues(boolean lock)
Locks the control's interface. |
void |
setValue(java.lang.String par,
boolean val)
Add an initial boolean value of a parameter to the input display. |
void |
setValue(java.lang.String par,
double val)
Add an initial value of a parameter to the input display. |
void |
setValue(java.lang.String par,
int val)
Add an initial value of a parameter to the input display. |
void |
setValue(java.lang.String par,
java.lang.Object val)
Adds an initial value of a parameter to the input display. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HiddenControl()
| Method Detail |
public void setLockValues(boolean lock)
setLockValues in interface Controllock - boolean
public void setValue(java.lang.String par,
java.lang.Object val)
setValue in interface Controlpar - the parameter nameval - the initial parameter value
public void setValue(java.lang.String par,
boolean val)
setValue in interface Controlpar - the parameter nameval - the initial parameter value
public void setValue(java.lang.String par,
double val)
setValue in interface Controlpar - the parameter nameval - the initial parameter value
public void setValue(java.lang.String par,
int val)
setValue in interface Controlpar - the parameter nameval - the initial parameter value
public void scriptValue(java.lang.String par,
java.lang.String val)
public java.util.Collection getPropertyNames()
getPropertyNames in interface Controlpublic double getDouble(java.lang.String par)
getDouble in interface Controlpar -
public int getInt(java.lang.String par)
getInt in interface Controlpar -
public java.lang.Object getObject(java.lang.String name)
getObject in interface Controlname - the name
public java.lang.String getString(java.lang.String par)
getString in interface Controlpar - the parameter name
public boolean getBoolean(java.lang.String par)
getBoolean in interface Controlpar - the parameter name
public void println(java.lang.String s)
Control
println in interface Controls - public void println()
Control
println in interface Controlpublic void print(java.lang.String s)
Control
print in interface Controls - public void clearMessages()
Control
clearMessages in interface Controlpublic void calculationDone(java.lang.String s)
Control
calculationDone in interface Controls - public void clearValues()
Control
clearValues in interface Control
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||