public interface CheckableNode
Modifier and Type | Method and Description |
---|---|
boolean |
isCheckable()
Tell the view to display a check-box for this node.
|
boolean |
isCheckEnabled()
Provide the enabled state of the check-box.
|
Boolean |
isSelected()
Provide the selected state of the check-box.
|
void |
setSelected(Boolean selected)
Called by the view when the check-box gets selected/unselected
|
boolean isCheckable()
true
if the check-box should be displayed, false
otherwise.boolean isCheckEnabled()
true
if the check-box should be enabled, false
otherwise.Boolean isSelected()
true
if the check-box should be selected,
false
if it should be unselected and
null
if the state is unknown.void setSelected(Boolean selected)
selected
- true
if the check-box was selected,
false
if the check-box was unselected.