|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimControl
This interface defines methods for setting values that can be changed after an animation has been initialized.
Field Summary |
---|
Fields inherited from interface org.opensourcephysics.controls.Control |
---|
NOT_EDITABLE_BACKGROUND |
Method Summary | |
---|---|
void |
removeParameter(java.lang.String name)
Removes a parameter from this control. |
void |
setAdjustableValue(java.lang.String name,
boolean val)
Stores a boolean in the control that can be edited after initialization. |
void |
setAdjustableValue(java.lang.String name,
double val)
Stores a double in the control that can be edited after initialization. |
void |
setAdjustableValue(java.lang.String name,
int val)
Stores an integer in the control that can be edited after initialization. |
void |
setAdjustableValue(java.lang.String name,
java.lang.Object val)
Stores an object in the control that can be edited after initialization. |
void |
setParameterToFixed(java.lang.String name,
boolean fixed)
Sets the fixed property of the given parameter. |
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 |
---|
void setAdjustableValue(java.lang.String name, boolean val)
name
- val
- void setAdjustableValue(java.lang.String name, double val)
name
- val
- void setAdjustableValue(java.lang.String name, int val)
name
- val
- void setAdjustableValue(java.lang.String name, java.lang.Object val)
name
- val
- void removeParameter(java.lang.String name)
name
- void setParameterToFixed(java.lang.String name, boolean fixed)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |