|
com.im.ijc.core/1 5.9.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.im.ijc.core.api.nodes.NodesConfig
public final class NodesConfig
UNSTABLE API!
Represents root of TreeView node structure. Created in order to show
different view tree of DFItems.
| Method Summary | |
|---|---|
Node |
createNode(Object key)
Creates node for key, @see setNodesFactory(NodesFactory nodesFactory) to customize view |
Node |
createRootNode()
Creates root node of treeView |
List |
getChildrenKeys(Object parent)
Default implementation of creating parameters for ChildrenKeys of nodes. |
FilterMapping |
getFilterMapping(Class type)
get customizer to customize key (actions,...) |
static NodesConfig |
newInstance(Object item)
use this method to create new instance |
void |
setNodesFactory(NodesFactory nodesFactory)
Allows to customize Children for different nodes |
void |
setShowChildren(boolean b)
show only root node |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static NodesConfig newInstance(Object item)
item - The root keypublic Node createRootNode()
public FilterMapping getFilterMapping(Class type)
type - The key type (e.g. DFDataTree.class)
public void setShowChildren(boolean b)
b - public void setNodesFactory(NodesFactory nodesFactory)
nodesFactory - public Node createNode(Object key)
key - The key from Children.Keys
public List getChildrenKeys(Object parent)
|
com.im.ijc.core/1 5.9.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||