|
org.netbeans.swing.outline 1.20 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CheckRenderDataProvider
An extension to RenderDataProvider adding a possibility to
display a check box in the tree portion an Outline, next to the label.
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.netbeans.swing.outline.RenderDataProvider |
|---|
getBackground, getDisplayName, getForeground, getIcon, getTooltipText, isHtmlDisplayName |
| Method Detail |
|---|
boolean isCheckable(Object o)
o - the tree object
true if the check-box should be displayed, false otherwise.boolean isCheckEnabled(Object o)
o - the tree object
true if the check-box should be enabled, false otherwise.Boolean isSelected(Object o)
o - the tree object
true if the check-box should be selected,
false if it should be unselected and
null if the state is unknown.
void setSelected(Object o,
Boolean selected)
o - the tree objectselected - true if the check-box was selected,
false if the check-box was unselected.
|
org.netbeans.swing.outline 1.20 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||