|
org.netbeans.spi.viewmodel/2 1.26.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CheckNodeModelFilter
A model filter for CheckNodeModel.
Can be also used to add the check-boxes to an ordinary NodeModel.
| Method Summary | |
|---|---|
boolean |
isCheckable(NodeModel original,
Object node)
Tell the renderer to display the check-box. |
boolean |
isCheckEnabled(NodeModel original,
Object node)
Provide the enabled state of the check-box. |
Boolean |
isSelected(NodeModel original,
Object node)
Provide the selected state of the check-box. |
void |
setSelected(NodeModel original,
Object node,
Boolean selected)
Called by the renderer when the check-box gets selected/unselected |
| Methods inherited from interface org.netbeans.spi.viewmodel.NodeModelFilter |
|---|
addModelListener, getDisplayName, getIconBase, getShortDescription, removeModelListener |
| Method Detail |
|---|
boolean isCheckable(NodeModel original,
Object node)
throws UnknownTypeException
original - the original node modelnode - the tree node object
true if the check-box should be displayed, false otherwise.
UnknownTypeException
boolean isCheckEnabled(NodeModel original,
Object node)
throws UnknownTypeException
original - the original node modelnode - the tree node object
true if the check-box should be enabled, false otherwise.
UnknownTypeException
Boolean isSelected(NodeModel original,
Object node)
throws UnknownTypeException
original - the original node modelnode - the tree node object
true if the check-box should be selected,
false if it should be unselected and
null if the state is unknown.
UnknownTypeException
void setSelected(NodeModel original,
Object node,
Boolean selected)
throws UnknownTypeException
original - the original node modelnode - the tree node objectselected - true if the check-box was selected,
false if the check-box was unselected.
UnknownTypeException
|
org.netbeans.spi.viewmodel/2 1.26.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||