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
-
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
String label that displays on this itemfinal UIItemList.Section
Section that this item belongs tovoid
Action handler, invoked when item is activatedMethods inherited from class heronarts.glx.ui.component.UIItemList.Item
dispose, getActiveColor, isActive, isChecked, onCheck, onDeactivate, onDelete, onFocus, onRename, onReorder
-
Constructor Details
-
Section
protected Section() -
Section
-
-
Method Details
-
getLabel
Description copied from class:UIItemList.Item
String label that displays on this item- Specified by:
getLabel
in classUIItemList.Item
- Returns:
- Label for the item
-
getSection
Description copied from class:UIItemList.Item
Section that this item belongs to- Overrides:
getSection
in classUIItemList.Item
- Returns:
- section or null
-
onActivate
public void onActivate()Description copied from class:UIItemList.Item
Action handler, invoked when item is activated- Overrides:
onActivate
in classUIItemList.Item
-