|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ide.controls.elementtree.Handler
public class Handler
A Handler is responsible for restoring the expansion state of a tree that has been refreshed.
Handlers are registered through the ElementTreeRootNode's ElementRegistry. Example:
elementTreeRootNode.getElementRegistry().register(MyNode.class, new MyNodeHandler);
| Constructor Summary | |
|---|---|
Handler() |
|
| Method Summary | |
|---|---|
boolean |
isExpanded(java.util.HashMap expansionStore, Element[] hierarchy)Producers are queried to restore the expansion state of a tree after a transformation. |
void |
storeExpansionState(java.util.HashMap expansionStore, Element[] hierarchy)Gives the handler the oportunity to store the expansion state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Handler()
| Method Detail |
|---|
public void storeExpansionState(java.util.HashMap expansionStore,
Element[] hierarchy)
expansionStore - can be used to store any value you want to retrieve in isExpanded(java.util.HashMap, oracle.ide.model.Element[])hierarchy - The complete hierarchy of this Element in the tree. hierarchy[0] is the root of the tree.isExpanded(java.util.HashMap, oracle.ide.model.Element[])
public boolean isExpanded(java.util.HashMap expansionStore,
Element[] hierarchy)
expansionStore - is the same HashMap that was passed to storeExpansionState(HashMap, Element[]).hierarchy - The complete hierarchy of this Element in the tree. hierarchy[0] is the root of the tree.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||