|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TreeOpenableModel
Indicate an openable collection or components. Generally used with TreeModel
and Tree.
| Method Summary | |
|---|---|
boolean |
addOpenPath(int[] path)
Adds path to the current open. |
boolean |
addOpenPaths(int[][] paths)
Adds paths to the current Open. |
void |
clearOpen()
Empties the current open path. |
int |
getOpenCount()
Returns the number of paths that are opened. |
int[] |
getOpenPath()
Returns the first path in the open. |
int[][] |
getOpenPaths()
Returns the paths in the open. |
boolean |
isOpenEmpty()
Returns true if the open is currently empty. |
boolean |
isPathOpened(int[] path)
Returns true if the path, path, is in the current open. |
boolean |
removeOpenPath(int[] path)
Removes path from the open. |
boolean |
removeOpenPaths(int[][] paths)
Removes paths from the open. |
| Method Detail |
|---|
boolean addOpenPath(int[] path)
path is null.
path - the new path to add to the current open
boolean addOpenPaths(int[][] paths)
paths is null.
paths - the new paths to add to the current Open
boolean removeOpenPath(int[] path)
path is null.
path - the path to remove from the open
boolean removeOpenPaths(int[][] paths)
paths
are in the open, the TreeDataListeners are notified. This method has no
effect if paths is null.
paths - the path to remove from the open
boolean isPathOpened(int[] path)
path, is in the current open.
boolean isOpenEmpty()
void clearOpen()
TreeDataListener listeners are notified.
int getOpenCount()
int[] getOpenPath()
int[][] getOpenPaths()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||