|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultTreeSelectionModel
jaxx.runtime.swing.navigation.handler.AbstractNavigationHandler<E>
jaxx.runtime.swing.tree.
@Deprecated public abstract class AbstractNavigationHandler<E extends NavigationNode<E>>
The handler of a navigation tree.
This is also the selection model to use, since we must check before moving from a node we can not just listen selection model changed, we must control it.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface jaxx.runtime.swing.navigation.handler.NavigationHandler |
|---|
NavigationHandler.Strategy |
| Field Summary | |
|---|---|
protected JAXXContext |
context
Deprecated. UI which contains navigation tree |
protected NavigationContextHelper<E> |
contextHelper
Deprecated. JAXXContext access helper. |
protected NavigationHandler.Strategy |
strategy
Deprecated. UI Instanciation strategy |
| Fields inherited from class javax.swing.tree.DefaultTreeSelectionModel |
|---|
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, selection, SELECTION_MODE_PROPERTY, selectionMode |
| Fields inherited from interface javax.swing.tree.TreeSelectionModel |
|---|
CONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION |
| Constructor Summary | |
|---|---|
protected |
AbstractNavigationHandler(String contextPrefix,
JAXXObject context,
NavigationHandler.Strategy strategy)
Deprecated. |
| Method Summary | |
|---|---|
protected void |
addSelectedBeanInContext(E node,
Object data)
Deprecated. |
protected JAXXContext |
createUIContext(E node)
Deprecated. Prepare le context a utiliser pour initialiser une nouvelle ui. |
JAXXContext |
getContext()
Deprecated. |
NavigationContextHelper<E> |
getContextHelper()
Deprecated. |
protected void |
selectNodeUI(E node)
Deprecated. |
void |
setSelectionPath(TreePath path)
Deprecated. |
void |
setSelectionPaths(TreePath[] paths)
Deprecated. |
void |
valueChanged(TreeSelectionEvent event)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jaxx.runtime.swing.navigation.handler.NavigationHandler |
|---|
closeUI, createUI, getCurrentUI, getNavigationTreeModel, getUI, openUI, treateError |
| Field Detail |
|---|
protected JAXXContext context
protected NavigationHandler.Strategy strategy
protected NavigationContextHelper<E extends NavigationNode<E>> contextHelper
| Constructor Detail |
|---|
protected AbstractNavigationHandler(String contextPrefix,
JAXXObject context,
NavigationHandler.Strategy strategy)
| Method Detail |
|---|
public void valueChanged(TreeSelectionEvent event)
valueChanged in interface TreeSelectionListenervalueChanged in interface NavigationHandler<E extends NavigationNode<E>>public JAXXContext getContext()
getContext in interface NavigationHandler<E extends NavigationNode<E>>public NavigationContextHelper<E> getContextHelper()
getContextHelper in interface NavigationHandler<E extends NavigationNode<E>>public void setSelectionPath(TreePath path)
setSelectionPath in interface TreeSelectionModelsetSelectionPath in interface NavigationHandler<E extends NavigationNode<E>>setSelectionPath in class DefaultTreeSelectionModelpublic void setSelectionPaths(TreePath[] paths)
setSelectionPaths in interface TreeSelectionModelsetSelectionPaths in interface NavigationHandler<E extends NavigationNode<E>>setSelectionPaths in class DefaultTreeSelectionModelprotected void selectNodeUI(E node)
protected JAXXContext createUIContext(E node)
throws Exception
node - le noeud associé à l'ui à créer
Exception - if any
protected void addSelectedBeanInContext(E node,
Object data)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||