|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Controls what methods have the Mascopt Objects.
Method Summary | |
boolean |
deleteValue(String name)
Delete the value for a category. |
boolean |
deleteValue(String name,
mascoptLib.abstractGraph.MascoptObjectInterface o)
Delete the value for a category and a specific context. |
Double |
getDoubleValue(String name)
Returns the value for a category. |
Double |
getDoubleValue(String name,
mascoptLib.abstractGraph.MascoptObjectInterface o)
Returns the value for a category and a specific context. |
String |
getId()
Returns the id of the MascoptObject. |
Integer |
getIntegerValue(String name)
Returns the value for a category. |
Integer |
getIntegerValue(String name,
mascoptLib.abstractGraph.MascoptObjectInterface o)
Returns the value for a category and a specific context. |
String |
getName()
Returns the name of the MascoptObject. |
String |
getValue(String name)
Returns the value associated to its name. |
String |
getValue(String name,
mascoptLib.abstractGraph.MascoptObjectInterface o)
Returns the value associated to its name and a context. |
Iterator |
getValueContexts(String name)
Returns an iterator on all contexts used for a value. |
String |
getValueDataType(String name)
Returns the data type of the value associated to this name and context |
String |
getValueDataType(String name,
mascoptLib.abstractGraph.MascoptObjectInterface o)
Returns the data type of the value associated to this name and context |
Iterator |
getValueEntries()
Give the name of values stored in this object. |
boolean |
notifyOnValueChange(boolean notify)
Can be called to notify observers that the user changed the value. |
boolean |
setName(String name)
Sets the name of the MascoptObject. |
void |
setValue(String name,
Double value)
Sets the value associated to its name. |
void |
setValue(String name,
Integer value)
Sets the value associated to its name. |
void |
setValue(String name,
mascoptLib.abstractGraph.MascoptObjectInterface o,
Double value)
Sets the value associated to its name and context. |
void |
setValue(String name,
mascoptLib.abstractGraph.MascoptObjectInterface o,
Integer value)
Sets the value associated to its name and context. |
void |
setValue(String name,
mascoptLib.abstractGraph.MascoptObjectInterface o,
String value)
Sets the value associated to its name and context. |
void |
setValue(String name,
String value)
|
Method Detail |
public String getId()
public String getName()
public boolean setName(String name)
name
- the name of the MascoptObject.public String getValue(String name)
name
- the name of the value to return.
public Integer getIntegerValue(String name)
name
- the category of value to get.
public Double getDoubleValue(String name)
name
- the category of value to get.
public String getValueDataType(String name)
name
- the name of the value we are interested in
public String getValueDataType(String name, mascoptLib.abstractGraph.MascoptObjectInterface o)
name
- the name of the value we are interested ino
- the object representing the context.
public String getValue(String name, mascoptLib.abstractGraph.MascoptObjectInterface o)
name
- the name of the value to return.o
- the object which represents the context. It is usefull when
associating a value to an object regarding to a certain context.
public Integer getIntegerValue(String name, mascoptLib.abstractGraph.MascoptObjectInterface o)
name
- the category of value to get.o
- the object, context of the value.
public Double getDoubleValue(String name, mascoptLib.abstractGraph.MascoptObjectInterface o)
name
- the category of value to get.o
- the object, context of the value.
public void setValue(String name, String value)
public void setValue(String name, Integer value)
name
- the name of the value to get.value
- the value to store.public void setValue(String name, Double value)
name
- the name of the value to get.value
- the value to store.public void setValue(String name, mascoptLib.abstractGraph.MascoptObjectInterface o, String value)
name
- the name of the value.o
- the object which represents the context. It is usefull when
associating a value to an object regarding to a certain context.value
- the value to store.public void setValue(String name, mascoptLib.abstractGraph.MascoptObjectInterface o, Integer value)
name
- the name of the value.o
- the object which represents the context. It is usefull when
associating a value to an object regarding to a certain context.value
- the value to store.public void setValue(String name, mascoptLib.abstractGraph.MascoptObjectInterface o, Double value)
name
- the name of the value.o
- the object which represents the context. It is usefull when
associating a value to an object regarding to a certain context.value
- the value to store.public boolean deleteValue(String name)
name
- the category of value to delete.
public boolean deleteValue(String name, mascoptLib.abstractGraph.MascoptObjectInterface o)
name
- the category of value to get.o
- the object, context of the value.
public Iterator getValueEntries()
public Iterator getValueContexts(String name)
name
- the name of the value
public boolean notifyOnValueChange(boolean notify)
notify
- true if we want to notify that a value has changed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |