|
UC Berkeley Group for User Interface Research Updated November 17, 2000 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface that specifies how a PathTree will be displayed as text.
This software is distributed under the Berkeley Software License.
Revisions: - GUIRLib-v1.0-1.0.0, Dec 01 1997, JH
Created class
- GUIRLib-v1.0-1.1.0, Feb 24 2000, JH
Updated for JDK1.3RC1 to use the Collections
- GUIRLib-v1.2-1.0.0, Jun 22 2000, JH
Touched for GUIRLib release
- GUIRLib-v1.3-1.0.0, Aug 11 2000, JH
Touched for GUIRLib release
- GUIRLib-v1.4-1.0.0, Aug 31 2000, JH
Touched for GUIRLib release
| Method Summary | |
void |
onBacktrack(PrintWriter pwriter,
int depth)
This method is called after we have traversed the children and before we start to traverse the siblings of the current node. |
void |
onEndOfNode(PrintWriter pwriter,
int depth)
This method is called after we have traversed all of the children and siblings of the node. |
void |
onFinish(PrintWriter pwriter)
This method is called after all traversing is done. |
void |
onLeaf(PrintWriter pwriter,
Object data,
int depth)
This method is called when we reach a leaf node. |
void |
onNode(PrintWriter pwriter,
Object data,
int depth)
This method is called just before we start traversing the children. |
void |
onStart(PrintWriter pwriter)
This method is called before any traversing is done. |
void |
onStartOfNode(PrintWriter pwriter,
int depth)
This method is called when we first traverse to a new node. |
| Method Detail |
public void onStart(PrintWriter pwriter)
pwriter - is the PrintWriter to print out to.
public void onStartOfNode(PrintWriter pwriter,
int depth)
pwriter - is the PrintWriter to print out to.depth - is the current depth we are at relative to the root.
public void onEndOfNode(PrintWriter pwriter,
int depth)
pwriter - is the PrintWriter to print out to.depth - is the current depth we are at relative to the root.
public void onBacktrack(PrintWriter pwriter,
int depth)
pwriter - is the PrintWriter to print out to.depth - is the current depth we are at relative to the root.
public void onLeaf(PrintWriter pwriter,
Object data,
int depth)
pwriter - is the PrintWriter to print out to.depth - is the current depth we are at relative to the root.
public void onNode(PrintWriter pwriter,
Object data,
int depth)
pwriter - is the PrintWriter to print out to.depth - is the current depth we are at relative to the root.public void onFinish(PrintWriter pwriter)
pwriter - is the PrintWriter to print out to.
|
Copyright Information | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||