class webfwt::TreeList

sys::Obj
  fwt::Widget
    fwt::Pane
      webfwt::WebList
        webfwt::TreeList

@Js

Source

TreeList displays a tree-style list.

aux

virtual Str? aux(Obj item)

Source

Get the auxiliary text for this item, or null for none.

auxIcon

virtual Image? auxIcon(Obj item, Bool selected)

Source

Get aux icon. The aux icon size may not exceed iconSize.

auxStyle

virtual Str auxStyle()

Source

Get the style used to render aux text.

  • "def": default style
  • "pill": pill capsule style
depth

virtual Int depth(Obj item)

Source

Get the depth for this item.

icon

virtual Image? icon(Obj item, Bool selected)

Source

Get the icon for this item.

iconSize

virtual Size iconSize()

Source

Get the size of the images returned in icon.

isHeading

virtual Bool isHeading(Obj item)

Source

Return true if this item should be treated as group heading.

text

virtual Str text(Obj item)

Source

Get display text for this item.