public class CheckBoxList extends AbstractListBox
Interactable.FocusChangeDirection, Interactable.Result
Component.Alignment
Constructor and Description |
---|
CheckBoxList() |
CheckBoxList(TerminalSize preferredSize) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(Object object) |
void |
clearItems() |
protected String |
createItemString(int index) |
protected int |
getHotSpotPositionOnLine(int selectedIndex) |
protected Theme.Definition |
getListItemThemeDefinition(Theme theme) |
protected Theme.Definition |
getSelectedListItemThemeDefinition(Theme theme) |
Boolean |
isChecked(int index) |
Boolean |
isChecked(Object object) |
void |
setChecked(Object object,
boolean checked) |
protected Interactable.Result |
unhandledKeyboardEvent(Key key) |
afterEnteredFocus, calculatePreferredSize, getItemAt, getNrOfItems, getSelectedIndex, getSelectedItem, getSize, indexOf, isScrollable, keyboardInteraction, printItem, repaint, setSelectedItem
afterLeftFocus, getHotspot, hasFocus, onEnterFocus, onLeaveFocus, setHotspot
addBorder, addComponentListener, getAlignment, getComponentListeners, getGUIScreen, getMinimumSize, getParent, getPreferredSize, getWindow, invalidate, isVisible, removeComponentListener, setAlignment, setParent, setPreferredSize, setVisible, transformAccordingToAlignment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBorder, addComponentListener, getAlignment, getMinimumSize, getParent, getPreferredSize, getWindow, isVisible, removeComponentListener, setAlignment, setPreferredSize, setVisible
public CheckBoxList()
public CheckBoxList(TerminalSize preferredSize)
public void clearItems()
clearItems
in class AbstractListBox
public void addItem(Object object)
addItem
in class AbstractListBox
public Boolean isChecked(int index)
public void setChecked(Object object, boolean checked)
protected Interactable.Result unhandledKeyboardEvent(Key key)
unhandledKeyboardEvent
in class AbstractListBox
protected int getHotSpotPositionOnLine(int selectedIndex)
getHotSpotPositionOnLine
in class AbstractListBox
protected String createItemString(int index)
createItemString
in class AbstractListBox
protected Theme.Definition getListItemThemeDefinition(Theme theme)
getListItemThemeDefinition
in class AbstractListBox
protected Theme.Definition getSelectedListItemThemeDefinition(Theme theme)
getSelectedListItemThemeDefinition
in class AbstractListBox
Copyright © 2015. All Rights Reserved.