Package | Description |
---|---|
heronarts.p3lx.ui.component |
Collection of standard UI components.
|
Modifier and Type | Class and Description |
---|---|
static class |
UIItemList.Section
A section is an item in the list that indents the items beneath it.
|
Modifier and Type | Method and Description |
---|---|
UIItemList.Item |
UIItemList.getFocusedItem()
Retrieves the currently focused item in the list.
|
UIItemList.Item |
UIItemList.ScrollList.getFocusedItem() |
UIItemList.Item |
UIItemList.BasicList.getFocusedItem() |
Modifier and Type | Method and Description |
---|---|
List<? extends UIItemList.Item> |
UIItemList.getItems()
Get the items in the list
|
List<? extends UIItemList.Item> |
UIItemList.ScrollList.getItems() |
List<? extends UIItemList.Item> |
UIItemList.BasicList.getItems() |
Modifier and Type | Method and Description |
---|---|
UIItemList |
UIItemList.addItem(int index,
UIItemList.Item item)
Adds an item to the list at the given index
|
UIItemList |
UIItemList.ScrollList.addItem(int index,
UIItemList.Item item) |
UIItemList |
UIItemList.BasicList.addItem(int index,
UIItemList.Item item) |
UIItemList |
UIItemList.addItem(UIItemList.Item item)
Adds an item to the list
|
UIItemList |
UIItemList.ScrollList.addItem(UIItemList.Item item) |
UIItemList |
UIItemList.BasicList.addItem(UIItemList.Item item) |
UIItemList |
UIItemList.moveItem(UIItemList.Item item,
int index)
Moves an item to another location in the list
|
UIItemList |
UIItemList.ScrollList.moveItem(UIItemList.Item item,
int index) |
UIItemList |
UIItemList.BasicList.moveItem(UIItemList.Item item,
int index) |
void |
UIItemList.Listener.onItemActivated(UIItemList.Item item) |
void |
UIItemList.Listener.onItemDeactivated(UIItemList.Item item) |
void |
UIItemList.Listener.onItemFocused(UIItemList.Item item) |
UIItemList |
UIItemList.removeItem(UIItemList.Item item)
Removes an item from the list
|
UIItemList |
UIItemList.ScrollList.removeItem(UIItemList.Item item) |
UIItemList |
UIItemList.BasicList.removeItem(UIItemList.Item item) |
Modifier and Type | Method and Description |
---|---|
UIItemList |
UIItemList.setItems(List<? extends UIItemList.Item> items)
Sets the items in the list and redraws it
|
UIItemList |
UIItemList.ScrollList.setItems(List<? extends UIItemList.Item> items) |
UIItemList |
UIItemList.BasicList.setItems(List<? extends UIItemList.Item> items) |
LX library by Mark C. Slee. © 2012-2020