BasicTreeBehavior

open class BasicTreeBehavior<T>(val generator: TreeBehavior.RowGenerator<T>, evenRowColor: Color? = White, oddRowColor: Color? = Lightgray.lighter().lighter(), rowHeight: Double = 20.0) : TreeBehavior<T> , KeyListener, SelectableTreeKeyHandler(source)

Inheritors

Constructors

Link copied to clipboard
constructor(focusManager: FocusManager?, rowHeight: Double = 20.0, evenRowColor: Color? = White, oddRowColor: Color? = Lightgray.lighter().lighter(), selectionColor: Color? = Green.lighter(), selectionBlurredColor: Color? = Lightgray, iconFactory: () -> TreeRowIcon = { SimpleTreeRowIcon() })
constructor(generator: TreeBehavior.RowGenerator<T>, evenRowColor: Color? = White, oddRowColor: Color? = Lightgray.lighter().lighter(), rowHeight: Double = 20.0)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun install(view: Tree<T, *>)
Link copied to clipboard
open override fun pressed(event: KeyEvent)
Link copied to clipboard
open override fun render(view: Tree<T, *>, canvas: Canvas)
Link copied to clipboard
open override fun uninstall(view: Tree<T, *>)

Inherited functions

Link copied to clipboard
open fun childrenClipPath(view: Tree<T, *>): View.ClipPath?
Link copied to clipboard
open fun clipCanvasToBounds(view: Tree<T, *>): Boolean
Link copied to clipboard
open fun contains(view: Tree<T, *>, point: Point): Boolean
Link copied to clipboard
open fun mirrorWhenRightToLeft(view: Tree<T, *>): Boolean
Link copied to clipboard
open fun released(event: KeyEvent)