public class ControlDescription extends java.lang.Object implements ActionDescription
Constructor and Description |
---|
ControlDescription(java.lang.String name,
java.lang.String number,
java.util.Vector<ParameterDescription> params,
java.util.Vector<java.lang.String> help)
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()
Help getter
|
java.lang.String |
getName()
Name getter
|
java.lang.String |
getNumber()
Attribute number getter
|
java.util.Vector<ParameterDescription> |
getParams()
Attribute params getter
|
void |
setGUIKey(java.lang.String guiKey)
The GUIKey Setter, this key is the reference in the table which store
the parameters definitions interfaces
|
public ControlDescription(java.lang.String name, java.lang.String number, java.util.Vector<ParameterDescription> params, java.util.Vector<java.lang.String> help)
name
- The name of the actionnumber
- The number of the timer in the object timer tableparams
- The parameters definitionshelp
- The help for this actionpublic void createNodeDescription(NodeDescription desc)
ActionDescription
createNodeDescription
in interface ActionDescription
desc
- The node descriptionpublic java.util.Vector<java.lang.String> getHelp()
ActionDescription
getHelp
in interface ActionDescription
public java.lang.String getGUIKey()
ActionDescription
getGUIKey
in interface ActionDescription
public void setGUIKey(java.lang.String guiKey)
ActionDescription
setGUIKey
in interface ActionDescription
guiKey
- The keypublic java.lang.String getName()
ActionDescription
getName
in interface ActionDescription
public java.lang.String getNumber()
public java.util.Vector<ParameterDescription> getParams()
getParams
in interface ActionDescription