Class: DefaultNodeRenderer

olympe.ui.std.Tree. DefaultNodeRenderer

Default implementation of a tree displayer. Asks for the parent Tree for the itemHeight, and for most of the ui properties.


new DefaultNodeRenderer(parent [, themeClass])

Parameters:
Name Type Argument Description
parent olympe.ui.std.Tree
themeClass olympe.df.POString | string <optional>

The themeClass of the labels

Methods


getBackgroundColor()

Returns:
Type
olympe.df.Proxy.<olympe.df.Color> | olympe.df.Color

getFontColor()

Returns:
Type
olympe.df.Proxy.<olympe.df.Color> | olympe.df.Color

getFontFamily()

Returns:
Type
olympe.df.OString | olympe.df.Proxy.<olympe.df.OString>

getFontSize()

Returns:
Type
olympe.df.ONumber | olympe.df.Proxy.<olympe.df.ONumber>

renderElement(dimension, obj)

Parameters:
Name Type Description
dimension olympe.df.PVector2
obj olympe.df.Proxy | *
Returns:
Type
olympe.ui.std.Label