|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.geeboss.model.editors.AbstractParameter
net.sourceforge.geeboss.model.editors.MemoryValueParameter
public class MemoryValueParameter
MemoryValue based parameter
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.geeboss.model.editors.AbstractParameter |
|---|
mParent |
| Constructor Summary | |
|---|---|
MemoryValueParameter(MemoryObjectEditorHandler parentEditor,
org.apache.avalon.framework.configuration.Configuration configuration,
GeebossContainer container)
Create a new MemoryValueParameter given it's parent memory object editor and it's configuration |
|
| Method Summary | |
|---|---|
int |
getMax()
Returns the max value of this parameter |
MemoryValue |
getMemoryValue()
Get the memory value associated to this parmeter |
int |
getMin()
Returns the min value of this parameter |
int |
getNumberValue()
Returns the number value of this parameter |
java.lang.String |
getStringValue()
Returns the string value of this parameter |
boolean |
isNumber()
Returns true it this parameter is a number parameter |
boolean |
isString()
Returns true it this parameter is a string parameter |
void |
loadConfiguration(org.apache.avalon.framework.configuration.Configuration configuration,
GeebossContainer container)
Load the configuration of this object |
void |
setNumberValue(int value)
Set the number value for this parameter |
void |
setStringValue(java.lang.String value)
Set the string value for this parameter |
| Methods inherited from class net.sourceforge.geeboss.model.editors.AbstractParameter |
|---|
getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryValueParameter(MemoryObjectEditorHandler parentEditor,
org.apache.avalon.framework.configuration.Configuration configuration,
GeebossContainer container)
throws org.apache.avalon.framework.configuration.ConfigurationException
parentEditor - the parent memory object editorconfiguration - this parameter's configurationcontainer - a reference to the GeebossContainer
org.apache.avalon.framework.configuration.ConfigurationException| Method Detail |
|---|
public MemoryValue getMemoryValue()
public boolean isNumber()
public boolean isString()
public void setNumberValue(int value)
value - the number value for this parameter
java.lang.UnsupportedOperationException - if this parameter is not a number parameterpublic int getNumberValue()
java.lang.UnsupportedOperationException - if this parameter is not a number parameterpublic int getMin()
java.lang.UnsupportedOperationException - if this parameter is not a number parameterpublic int getMax()
java.lang.UnsupportedOperationException - if this parameter is not a number parameterpublic void setStringValue(java.lang.String value)
value - the string value for this parameter
java.lang.UnsupportedOperationException - if this parameter is not a string parameterpublic java.lang.String getStringValue()
java.lang.UnsupportedOperationException - if this parameter is not a string parameter
public void loadConfiguration(org.apache.avalon.framework.configuration.Configuration configuration,
GeebossContainer container)
throws org.apache.avalon.framework.configuration.ConfigurationException
loadConfiguration in interface LoadConfigurationSupportloadConfiguration in class AbstractParameterconfiguration - this object's configurationcontainer - a reference to the GeebossContainer
org.apache.avalon.framework.configuration.ConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||