|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaxx.runtime.swing.navigation.NavigationContextHelper<E>
jaxx.runtime.swing.tree.
@Deprecated public class NavigationContextHelper<E extends NavigationNode<E>>
To help getting and setting navigation tree objects from a JAXXContext.
prefix.
Here is the keys mapping : prefix + "-tree"prefix + "-tree-table"prefix + "-tree-model"prefix +
"-tree-handler"prefix +
"-selected-path"prefix +
"-selected-node"prefix +
"-selected-bean"
| Field Summary | |
|---|---|
protected JAXXContextEntryDef<NavigationHandler<E>> |
handlerContextEntry
Deprecated. |
protected JAXXContextEntryDef<NavigationModel<E>> |
modelContextEntry
Deprecated. |
protected String |
prefix
Deprecated. |
protected JAXXContextEntryDef<List<Object>> |
selectedBeansContextEntry
Deprecated. |
protected JAXXContextEntryDef<List<E>> |
selectedNodesContextEntry
Deprecated. |
protected JAXXContextEntryDef<List<String>> |
selectedPathsContextEntry
Deprecated. |
protected JAXXContextEntryDef<JTree> |
treeContextEntry
Deprecated. |
protected JAXXContextEntryDef<org.jdesktop.swingx.JXTreeTable> |
treeTableContextEntry
Deprecated. |
| Constructor Summary | |
|---|---|
NavigationContextHelper(String prefix)
Deprecated. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final String prefix
protected JAXXContextEntryDef<List<String>> selectedPathsContextEntry
protected JAXXContextEntryDef<List<Object>> selectedBeansContextEntry
protected JAXXContextEntryDef<List<E extends NavigationNode<E>>> selectedNodesContextEntry
protected JAXXContextEntryDef<NavigationModel<E extends NavigationNode<E>>> modelContextEntry
protected JAXXContextEntryDef<NavigationHandler<E extends NavigationNode<E>>> handlerContextEntry
protected JAXXContextEntryDef<JTree> treeContextEntry
protected JAXXContextEntryDef<org.jdesktop.swingx.JXTreeTable> treeTableContextEntry
| Constructor Detail |
|---|
public NavigationContextHelper(String prefix)
| Method Detail |
|---|
public String getPrefix()
public JTree getTree(JAXXContext context)
public org.jdesktop.swingx.JXTreeTable getTreeTable(JAXXContext context)
public NavigationModel<E> getModel(JAXXContext context)
public NavigationHandler<E> getTreeHandler(JAXXContext context)
public String getSelectedPath(JAXXContext context)
public List<String> getSelectedPaths(JAXXContext context)
public E getSelectedNode(JAXXContext context)
public List<E> getSelectedNodes(JAXXContext context)
public Object getSelectedBean(JAXXContext context)
public List<Object> getSelectedBeans(JAXXContext context)
public void setModel(JAXXContext context,
NavigationModel<E> model)
public void setTree(JAXXContext context,
JTree tree)
public void setTreeTable(JAXXContext context,
org.jdesktop.swingx.JXTreeTable treeTable)
public void setTreeHandler(JAXXContext context,
NavigationHandler<E> handler)
public void setSelectedPath(JAXXContext context,
String path)
public void setSelectedPaths(JAXXContext context,
List<String> paths)
public void setSelectedNode(JAXXContext context,
E node)
public void setSelectedNodes(JAXXContext context,
List<E> nodes)
public void setSelectedBean(JAXXContext context,
Object bean)
public void setSelectedBeans(JAXXContext context,
List<Object> beans)
protected JAXXContextEntryDef<NavigationModel<E>> getModelContextEntry()
protected JAXXContextEntryDef<NavigationHandler<E>> getTreeHandlerContextEntry()
protected JAXXContextEntryDef<List<Object>> getSelectedBeanContextEntry()
protected JAXXContextEntryDef<List<E>> getSelectedNodeContextEntry()
protected JAXXContextEntryDef<List<String>> getSelectedPathContextEntry()
protected JAXXContextEntryDef<JTree> getTreeContextEntry()
protected JAXXContextEntryDef<org.jdesktop.swingx.JXTreeTable> getTreeTableContextEntry()
protected <T> T getSelectedValue(JAXXContextEntryDef<List<T>> entry,
JAXXContext context)
protected <T> void setSelectedValue(JAXXContextEntryDef<List<T>> entry,
JAXXContext context,
T value)
protected <T> void setSelectedValues(JAXXContextEntryDef<List<T>> entry,
JAXXContext context,
List<T> values)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||