public interface CheckRenderDataProvider extends RenderDataProvider
RenderDataProvider
adding a possibility to
display a check box in the tree portion an Outline, next to the label.Modifier and Type | Method and Description |
---|---|
boolean |
isCheckable(Object o)
Tell the renderer to display the check-box.
|
boolean |
isCheckEnabled(Object o)
Provide the enabled state of the check-box.
|
Boolean |
isSelected(Object o)
Provide the selected state of the check-box.
|
void |
setSelected(Object o,
Boolean selected)
Called by the renderer when the check-box gets selected/unselected
|
getBackground, getDisplayName, getForeground, getIcon, getTooltipText, isHtmlDisplayName
boolean isCheckable(Object o)
o
- the tree objecttrue
if the check-box should be displayed, false
otherwise.boolean isCheckEnabled(Object o)
o
- the tree objecttrue
if the check-box should be enabled, false
otherwise.Boolean isSelected(Object o)
o
- the tree objecttrue
if the check-box should be selected,
false
if it should be unselected and
null
if the state is unknown.