|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Openable<E>
Indicate a openable collection or component. Generally used with TreeModel
and Tree
.
TreeModel
,
Tree
Method Summary | |
---|---|
void |
clearOpen()
Clear all open status. |
boolean |
isOpen(E obj)
Returns whether the specified object be opened. |
void |
setOpen(E obj,
boolean open)
Sets the specified object into open. |
Method Detail |
---|
void setOpen(E obj, boolean open)
Notice that this method is designed to be called by a component
(such as Treeitem
).
If it is called by an application, the component's open status
won't be changed.
obj
- the object to be as open.open
- whether be openedboolean isOpen(E obj)
obj
- void clearOpen()
Notice that this method is designed to be called by a component
(such as Tree
).
If it is called by an application, the component's open status
won't be changed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |