Package | Description |
---|---|
com.googlecode.lanterna.gui2 |
Modifier and Type | Method | Description |
---|---|---|
CheckBoxList<V> |
CheckBoxList.addItem(V object) |
|
CheckBoxList<V> |
CheckBoxList.addItem(V object,
boolean checkedState) |
Adds an item to the checkbox list with an explicit checked status
|
CheckBoxList<V> |
CheckBoxList.addListener(CheckBoxList.Listener listener) |
Adds a new listener to the
CheckBoxList that will be called on certain user actions |
CheckBoxList<V> |
CheckBoxList.clearItems() |
|
CheckBoxList<V> |
CheckBoxList.removeListener(CheckBoxList.Listener listener) |
Removes a listener from this
CheckBoxList so that if it had been added earlier, it will no longer be
called on user actions |
CheckBoxList<V> |
CheckBoxList.setChecked(V object,
boolean checked) |
Programmatically sets the checked state of an item in the list box
|
Modifier and Type | Method | Description |
---|---|---|
protected AbstractListBox.ListItemRenderer<V,CheckBoxList<V>> |
CheckBoxList.createDefaultListItemRenderer() |
Modifier and Type | Method | Description |
---|---|---|
void |
CheckBoxList.CheckBoxListItemRenderer.drawItem(TextGUIGraphics graphics,
CheckBoxList<V> listBox,
int index,
V item,
boolean selected,
boolean focused) |
|
String |
CheckBoxList.CheckBoxListItemRenderer.getLabel(CheckBoxList<V> listBox,
int index,
V item) |
Copyright © 2020. All rights reserved.