org.zaval.lw.tree
Class ItemMetrics

java.lang.Object
  |
  +--org.zaval.lw.tree.ItemMetrics

public class ItemMetrics
extends java.lang.Object

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

x

protected int x

y

protected int y

width

protected int width

height

protected int height

viewWidth

protected int viewWidth

viewHeight

protected int viewHeight

isOpen

protected boolean isOpen
Constructor Detail

ItemMetrics

public ItemMetrics(boolean b)
Constructs the item metrics instance with the specified open flag valeu.
Parameters:
b - the specified open flag value.
Method Detail

getHeight

public int getHeight()
Gets the node height.
Returns:
the node height.

getWidth

public int getWidth()
Gets the node width.
Returns:
the node width.


Copyright © Zaval Creative Engineering Group, 2000-2005.
http://www.zaval.org