Package heronarts.glx.ui.component
Class UIItemList.Section
java.lang.Object
heronarts.glx.ui.component.UIItemList.Item
heronarts.glx.ui.component.UIItemList.Section
- Enclosing interface:
UIItemList
A section is an item in the list that indents the items beneath it.
-
Field Summary
Fields inherited from class heronarts.glx.ui.component.UIItemList.Item
hidden -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()String label that displays on this itemfinal UIItemList.SectionSection that this item belongs tovoidAction handler, invoked when item is activatedMethods inherited from class heronarts.glx.ui.component.UIItemList.Item
dispose, getActiveColor, getDescription, isActive, isChecked, onCheck, onDeactivate, onDelete, onFocus, onRename, onReorder
-
Constructor Details
-
Section
protected Section() -
Section
-
-
Method Details
-
getLabel
Description copied from class:UIItemList.ItemString label that displays on this item- Specified by:
getLabelin classUIItemList.Item- Returns:
- Label for the item
-
getSection
Description copied from class:UIItemList.ItemSection that this item belongs to- Overrides:
getSectionin classUIItemList.Item- Returns:
- section or null
-
onActivate
public void onActivate()Description copied from class:UIItemList.ItemAction handler, invoked when item is activated- Overrides:
onActivatein classUIItemList.Item
-