org.das2.util.CombinedTreeModel

Forms a tree by connecting sub-trees.

CombinedTreeModel( Object root )


addTreeModelListener

addTreeModelListener( javax.swing.event.TreeModelListener l ) → void

Parameters

l - a TreeModelListener

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


fireTreeNodesRemoved

fireTreeNodesRemoved( javax.swing.event.TreeModelEvent e ) → void

Parameters

e - a TreeModelEvent

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


fireTreeStructureChanged

fireTreeStructureChanged( javax.swing.event.TreeModelEvent e ) → void

Parameters

e - a TreeModelEvent

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getChild

getChild( Object parent, int index ) → Object

Parameters

parent - an Object
index - an int

Returns:

java.lang.Object

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getChildCount

getChildCount( Object parent ) → int

Parameters

parent - an Object

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getIndexOfChild

getIndexOfChild( Object parent, Object child ) → int

Parameters

parent - an Object
child - an Object

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getRoot

getRoot( ) → Object

Returns:

java.lang.Object

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isLeaf

isLeaf( Object node ) → boolean

Parameters

node - an Object

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


mountTree

mountTree( javax.swing.tree.TreeModel treeModel ) → void

Parameters

treeModel - a TreeModel

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]

mountTree( javax.swing.tree.TreeModel treeModel, int sortIndex ) → void

removeTreeModelListener

removeTreeModelListener( javax.swing.event.TreeModelListener l ) → void

Parameters

l - a TreeModelListener

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


unmountTree

unmountTree( javax.swing.tree.TreeModel treeModel ) → void

Parameters

treeModel - a TreeModel

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


valueForPathChanged

valueForPathChanged( javax.swing.tree.TreePath path, Object newValue ) → void

Parameters

path - a TreePath
newValue - an Object

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]