|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.admin.ui.ConnectorTreeUI.ConnectorTreeModel
public class ConnectorTreeUI.ConnectorTreeModel
List Model.
Constructor Summary | |
---|---|
ConnectorTreeUI.ConnectorTreeModel(AssemblyLineConfig config)
Constructor for the ConnectorTreeModel object |
Method Summary | |
---|---|
void |
addTreeModelListener(TreeModelListener l)
Adds a feature to the TreeModelListener attribute of the ConnectorTreeModel object |
void |
configurationChanged(MetamergeConfigChange changeEvent)
This method is called when the configuration is changed. |
Object |
getChild(Object parent,
int index)
Gets the child attribute of the ConnectorTreeModel object |
int |
getChildCount(Object parent)
Gets the childCount attribute of the ConnectorTreeModel object |
int |
getIndexOfChild(Object parent,
Object child)
Gets the indexOfChild attribute of the ConnectorTreeModel object. |
Object |
getRoot()
Gets the root attribute of the ConnectorTreeModel object |
int |
getSize()
Gets the size attribute of the ConnectorTreeModel object |
boolean |
isLeaf(Object node)
Checks if a specified node of the tree is leaf or not. |
void |
removeTreeModelListener(TreeModelListener l)
Removes a specified TreeModelListener. |
void |
valueForPathChanged(TreePath path,
Object newValue)
This method is called when a change is made to the tree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectorTreeUI.ConnectorTreeModel(AssemblyLineConfig config)
config
- contains information about the configuration of the AssemblyLine.Method Detail |
---|
public int getSize()
public void configurationChanged(MetamergeConfigChange changeEvent)
configurationChanged
in interface MetamergeConfigChangeListener
changeEvent
- describes the changes of the configuration.public void addTreeModelListener(TreeModelListener l)
addTreeModelListener
in interface TreeModel
l
- The feature to be added to the TreeModelListener attributepublic Object getChild(Object parent, int index)
getChild
in interface TreeModel
parent
- the parent object.index
- the index of the child.
public int getChildCount(Object parent)
getChildCount
in interface TreeModel
parent
- the parent object.
public int getIndexOfChild(Object parent, Object child)
getIndexOfChild
in interface TreeModel
parent
- the parent object.child
- the child object.
public Object getRoot()
getRoot
in interface TreeModel
public boolean isLeaf(Object node)
isLeaf
in interface TreeModel
node
- the desired node of the tree.
public void removeTreeModelListener(TreeModelListener l)
removeTreeModelListener
in interface TreeModel
l
- the Listener which will be removed.public void valueForPathChanged(TreePath path, Object newValue)
valueForPathChanged
in interface TreeModel
path
- path to the node that the user has altered.newValue
- the new value of the node.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |