public class TimerDescription extends java.lang.Object implements ActionDescription
Constructor and Description |
---|
TimerDescription(java.lang.String n,
java.lang.String nb,
java.util.Vector<ParameterDescription> p,
java.util.Vector<java.lang.String> h)
Build a new timer description object, used to store information about a
timer action
|
Modifier and Type | Method and Description |
---|---|
void |
createNodeDescription(NodeDescription desc)
Method which update the node description for this action
The node have been initialised with the rigth type, we initialise the other fields
|
java.lang.String |
getGUIKey()
GUIKey getter
|
java.util.Vector<java.lang.String> |
getHelp()
Attribute help getter
|
java.lang.String |
getName()
Attribute name getter
|
java.lang.String |
getNumber()
Attribute number getter
|
java.util.Vector<ParameterDescription> |
getParams()
Attribute params getter
|
void |
setGUIKey(java.lang.String key)
The GUIKey Setter, this key is the reference in the table which store
the parameters definitions interfaces
|
public TimerDescription(java.lang.String n, java.lang.String nb, java.util.Vector<ParameterDescription> p, java.util.Vector<java.lang.String> h)
n
- The name of the actionnb
- The number of the timer in the object timer tablep
- The parameters definitionsh
- The help for this actionpublic void createNodeDescription(NodeDescription desc)
ActionDescription
createNodeDescription
in interface ActionDescription
desc
- The node descriptionpublic java.lang.String getGUIKey()
ActionDescription
getGUIKey
in interface ActionDescription
public void setGUIKey(java.lang.String key)
ActionDescription
setGUIKey
in interface ActionDescription
key
- The keypublic java.util.Vector<java.lang.String> getHelp()
getHelp
in interface ActionDescription
public java.lang.String getName()
getName
in interface ActionDescription
public java.lang.String getNumber()
public java.util.Vector<ParameterDescription> getParams()
getParams
in interface ActionDescription