Zebra API Doc

zebra.ui.tree.$IM Class

Simple private structure to keep a tree model item metrical characteristics

Constructor

zebra.ui.tree.$IM

(
  • b
)
private

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)

Item Index

Attributes

height

Integer readonly

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

isOpen

Boolean readonly

Indicates whether a node is in expanded or collapsed state

viewHeight

Integer readonly

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

viewWidth

Integer readonly

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

width

Integer readonly

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