org.ow2.clif.scenario.isac.egui.plugins.gui
Class ParametersWidgetsNode

java.lang.Object
  extended by org.ow2.clif.scenario.isac.egui.plugins.gui.ParametersWidgetsNode

public class ParametersWidgetsNode
extends java.lang.Object

This class is a node of the parameters widgets trees

Author:
JC Meillaud, A Peyrard

Constructor Summary
ParametersWidgetsNode(WidgetDescription wd)
          Build a new parameters widget node
 
Method Summary
 void addChild(ParametersWidgetsNode child)
          Add a new child to this node
static ParametersWidgetsNode createParametersWidgetsNode(java.util.Vector ids, java.util.Vector params, java.lang.String type, java.lang.String plugin)
          Create a new parameters widgets node
 java.util.Vector getChildren()
           
 ParametersWidgetsNode getParent()
           
 WidgetDescription getWidget()
           
 void setParent(ParametersWidgetsNode parent)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParametersWidgetsNode

public ParametersWidgetsNode(WidgetDescription wd)
Build a new parameters widget node

Parameters:
wd - The widget description
Method Detail

getParent

public ParametersWidgetsNode getParent()
Returns:
Returns the parent.

setParent

public void setParent(ParametersWidgetsNode parent)
Parameters:
parent - The parent to set.

addChild

public void addChild(ParametersWidgetsNode child)
Add a new child to this node

Parameters:
child - The child to be added

getChildren

public java.util.Vector getChildren()
Returns:
Returns the children.

createParametersWidgetsNode

public static ParametersWidgetsNode createParametersWidgetsNode(java.util.Vector ids,
                                                                java.util.Vector params,
                                                                java.lang.String type,
                                                                java.lang.String plugin)
Create a new parameters widgets node

Parameters:
ids - The table containing all the parameters values
params - a vector of all params
type - The type of the action to create the tree
plugin - The name of the plugin
Returns:
The default parameters widgets node created

getWidget

public WidgetDescription getWidget()
Returns:
Returns the widget.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object