|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.zaval.lw.tree.ItemMetrics
This is tree view node descriptor class. The class provides set of metrical characteristics for a node of the tree component. Mainly, the class is used for internal purposes.
Field Summary | |
protected int |
height
|
protected boolean |
isOpen
|
protected int |
viewHeight
|
protected int |
viewWidth
|
protected int |
width
|
protected int |
x
|
protected int |
y
|
Constructor Summary | |
ItemMetrics(boolean b)
Constructs the item metrics instance with the specified open flag valeu. |
Method Summary | |
int |
getHeight()
Gets the node height. |
int |
getWidth()
Gets the node width. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int x
protected int y
protected int width
protected int height
protected int viewWidth
protected int viewHeight
protected boolean isOpen
Constructor Detail |
public ItemMetrics(boolean b)
b
- the specified open flag value.Method Detail |
public int getHeight()
public int getWidth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |