Package | Description |
---|---|
com.googlecode.lanterna.gui2 |
Modifier and Type | Method and Description |
---|---|
CheckBox |
CheckBox.addListener(CheckBox.Listener listener)
Adds a listener to this check box so that it will be notificed on certain user actions
|
CheckBox |
CheckBox.removeListener(CheckBox.Listener listener)
Removes a listener from this check box so that, if it was previously added, it will no long receive any events
|
CheckBox |
CheckBox.setChecked(boolean checked)
Programmatically updated the check box to a particular checked state
|
CheckBox |
CheckBox.setLabel(String label)
Updates the label of the checkbox
|
Modifier and Type | Method and Description |
---|---|
void |
CheckBox.DefaultCheckBoxRenderer.drawComponent(TextGUIGraphics graphics,
CheckBox component) |
TerminalPosition |
CheckBox.DefaultCheckBoxRenderer.getCursorLocation(CheckBox component) |
TerminalSize |
CheckBox.DefaultCheckBoxRenderer.getPreferredSize(CheckBox component) |
Copyright © 2016. All rights reserved.