|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.fopps.model.AbstractItem
|
+--org.fopps.model.TreeItem
|
+--org.fopps.model.ConfigurationItem
|
+--org.fopps.model.Parameter
Parameter represents a configuration entry for numeric parameters
| Field Summary |
| Fields inherited from class org.fopps.model.TreeItem |
mChildren, mParent |
| Fields inherited from class org.fopps.model.AbstractItem |
ADDED_EVENT, CHANGE_EVENT, name, REMOVED_EVENT |
| Constructor Summary | |
Parameter(java.lang.String pName,
ConfigurationItem pParent,
Feature pFeature)
|
|
Parameter(java.lang.String pName,
ConfigurationItem pParent,
java.lang.Object pDefaultValue,
Feature pFeature,
java.lang.Number pValue)
|
|
Parameter(java.lang.String pName,
Feature pFeature)
|
|
Parameter(java.lang.String pName,
TreeItem pParent,
boolean pChildrenAllowed,
java.lang.Object pDefaultValue,
Feature pFeature,
java.lang.Number pValue)
|
|
| Method Summary | |
java.lang.Object |
getValue()
Returns the current value |
java.lang.Object[] |
possibleValues()
Returns all possible values of this item. |
void |
restoreDefault()
Restores default value |
boolean |
setValue(int pIndex)
Set a value by given index. |
boolean |
setValue(java.lang.Object pValue)
Set a value by an object value. |
boolean |
switchToNextValue()
Switches to next possible value |
boolean |
switchToPrevValue()
Switches to next possible value |
| Methods inherited from class org.fopps.model.ConfigurationItem |
addAttachmentsFromFeature, fireItemChanged, getAttachments, getBinding, getChildrenForConfiguration, getDefaultValue, getDescription, getFeature, getOrigin, getSymbolicVar, isLocked, isSet, setDefaultValue, setIsLocked, setupInitialConfiguration, toString |
| Methods inherited from class org.fopps.model.TreeItem |
addChildren, allChildrenCount, childrenAllowed, childrenCount, delete, first, getChildAt, getChildren, getDepth, getIndexOfChild, getParent, getPath, getRoot, isLeaf, last, notifyListeners, removeAllChildren, removeAllChildrenRecursive, removeChildren, setChildren, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Parameter(java.lang.String pName,
Feature pFeature)
public Parameter(java.lang.String pName,
ConfigurationItem pParent,
Feature pFeature)
public Parameter(java.lang.String pName,
TreeItem pParent,
boolean pChildrenAllowed,
java.lang.Object pDefaultValue,
Feature pFeature,
java.lang.Number pValue)
public Parameter(java.lang.String pName,
ConfigurationItem pParent,
java.lang.Object pDefaultValue,
Feature pFeature,
java.lang.Number pValue)
| Method Detail |
public void restoreDefault()
restoreDefault in class ConfigurationItempublic boolean switchToNextValue()
switchToNextValue in class ConfigurationItempublic boolean switchToPrevValue()
switchToPrevValue in class ConfigurationItempublic boolean setValue(int pIndex)
setValue in class ConfigurationItempIndex - New value
public boolean setValue(java.lang.Object pValue)
setValue in class ConfigurationItempValue - New value
public java.lang.Object[] possibleValues()
possibleValues in class ConfigurationItempublic java.lang.Object getValue()
getValue in class ConfigurationItem
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||