|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecteShopper.expansionListener
This keeps track of all the paths in the tree that are set to be expanded
| Constructor Summary | |
expansionListener()
constructor |
|
| Method Summary | |
javax.swing.tree.TreePath |
getPathAt(int i)
Gets the path of a element |
int |
size()
Gets the number of expanded paths |
void |
treeCollapsed(javax.swing.event.TreeExpansionEvent arg0)
Called when a node is collapsed. |
void |
treeExpanded(javax.swing.event.TreeExpansionEvent arg0)
Called when a node is expanded |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public expansionListener()
| Method Detail |
public void treeCollapsed(javax.swing.event.TreeExpansionEvent arg0)
treeCollapsed in interface javax.swing.event.TreeExpansionListenerarg0 - a TreeExpansionEventpublic void treeExpanded(javax.swing.event.TreeExpansionEvent arg0)
treeExpanded in interface javax.swing.event.TreeExpansionListenerarg0 - a TreeExpansionEventpublic int size()
public javax.swing.tree.TreePath getPathAt(int i)
i - the desired index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||