Class zebkit.ui.tree.ItemMetric <zebkit.ui.tree>

Simple private structure to keep a tree model item metrical characteristics

Constructor:
private zebkit.ui.tree.ItemMetric (b)

Parameters:
  • b <Boolean>

    a state of an appropriate tree component node of the given tree model item. The state is sensible for item that has children items and the state indicates if the given tree node is collapsed (false) or expanded (true)




public <Integer> height

The whole height of tree node that includes a rendered item preferred height, all icons and gaps heights

public <Boolean> isOpen

Indicates whether a node is in expanded or collapsed state

public <Integer> viewHeight

Height of an area of rendered tree model item. It excludes icons, toggle and gaps heights

public <Integer> viewWidth

Width of an area of rendered tree model item. It excludes icons, toggle and gaps widths

public <Integer> width

The whole width of tree node that includes a rendered item preferred width, all icons and gaps widths