|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.algernon.app.j2p.FrameTree
FrameTree does...
Field Summary | |
private Java2Protege |
f_app
|
private DefaultTreeModel |
f_model
|
private HashMap |
f_nameTable
|
private DefaultMutableTreeNode |
f_root
|
Constructor Summary | |
FrameTree(Java2Protege app,
String rootLabel)
|
Method Summary | |
void |
add(DefaultMutableTreeNode parent,
J2PFrame child)
Adds the child to the table with the given parent. |
void |
clear()
Empties the FrameTree. |
Collection |
get(String s)
Returns a Collection of the entries in this table with the given name. |
String |
getErrorString()
Returns a string containing any errors found in the frames. |
Iterator |
getIterator()
Returns an iterator over the keys in this FrameTree. |
Iterator |
getKeyIterator()
Returns an iterator over the keys in this FrameTree. |
TreeModel |
getModel()
Returns the model defined by this. |
TreeNode |
getRoot()
Note that the root is not a J2PFrame. |
void |
resetErrors()
Sets the error flag on all frames to false; |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private HashMap f_nameTable
private Java2Protege f_app
private DefaultMutableTreeNode f_root
private DefaultTreeModel f_model
Constructor Detail |
public FrameTree(Java2Protege app, String rootLabel)
Method Detail |
public void add(DefaultMutableTreeNode parent, J2PFrame child)
parent
- the parent of the frame. May be nullchild
- the child to be added.public TreeNode getRoot()
public Collection get(String s)
public void resetErrors()
public Iterator getKeyIterator()
public Iterator getIterator()
public String getErrorString()
public TreeModel getModel()
public void clear()
|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |