|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.imagero.gui.msp.Node
Manages component tree. Most methods in Node are recursive.
| Method Summary | |
void |
debug()
|
float |
getDividerLocation()
|
java.awt.Dimension |
getMaximumSize()
|
java.awt.Dimension |
getMinimumSize()
|
java.lang.String |
getName()
|
int |
getOrientation()
|
Node |
getParent()
|
java.awt.Dimension |
getPreferredSize()
|
float |
getResizeWeight()
resize weight determines how extra space is distributed. |
boolean |
isChild(Node n)
determine if given Node is child of this Node |
boolean |
isDescendant(Node p)
instead of long traversing through tree structure we just compare names |
boolean |
isLeaf()
|
boolean |
isMaximized()
|
boolean |
isSelected()
Determine if this Node is selected Node. |
void |
setDividerLocation(float location)
|
void |
setDividerLocation(int location)
|
void |
setMaximized(boolean b)
|
void |
setSelected(boolean selected)
change selected Node (single selection mode only) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void debug()
public float getDividerLocation()
public java.awt.Dimension getMaximumSize()
public java.awt.Dimension getMinimumSize()
public java.lang.String getName()
public int getOrientation()
public Node getParent()
public java.awt.Dimension getPreferredSize()
public float getResizeWeight()
public boolean isChild(Node n)
n - Node
public boolean isDescendant(Node p)
p -
public boolean isLeaf()
public boolean isMaximized()
public boolean isSelected()
public void setDividerLocation(float location)
public void setDividerLocation(int location)
public void setMaximized(boolean b)
public void setSelected(boolean selected)
selected -
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||