|
||||||||||
| 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.navigation.AbstractNavigationHelper<E>
E - type of nodes in modelpublic abstract class AbstractNavigationHelper<E extends NavigationNode<E>>
Helper object associated to a given navigation tree system.
To helper is context safe (base on aNavigationContextHelper.
NavigationTreeModel| Field Summary |
|---|
| Fields inherited from class jaxx.runtime.swing.navigation.NavigationContextHelper |
|---|
handlerContextEntry, modelContextEntry, prefix, selectedBeansContextEntry, selectedNodesContextEntry, selectedPathsContextEntry, treeContextEntry, treeTableContextEntry |
| Constructor Summary | |
|---|---|
AbstractNavigationHelper(String contextPrefix)
|
|
| Method Summary | |
|---|---|
abstract NavigationHandler<E> |
createTreeHandler(JAXXObject context)
Create the tree handler. |
abstract NavigationModel<E> |
createTreeModel(JAXXContext context)
Create the model. |
E |
findNode(JAXXContext context,
String path)
|
E |
findNode(JAXXContext context,
String path,
Pattern regex)
|
E |
findNode(JAXXContext context,
String path,
Pattern regex,
String suffix)
|
E |
findNode(JAXXContext context,
String path,
String regex)
|
E |
findNode(JAXXContext context,
String path,
String regex,
String suffix)
|
Object |
getContextValue(JAXXContext context,
String path)
|
E |
getParentNode(E current,
Class<?> beanClass)
Obtain the first ancestor with the matching internalClass |
NavigationModel<E> |
getSafeModel(JAXXContext context)
|
JTree |
getSafeTree(JAXXContext context)
|
org.jdesktop.swingx.JXTreeTable |
getSafeTreeTable(JAXXContext context)
|
void |
gotoChildNode(JAXXContext context,
int childIndex)
Sélection d'un fils du noeud selectionne dans l'arbre de navigation. |
void |
gotoParentNode(JAXXContext context)
Sélection du parent du noeud selectionne dans l'arbre de navigation. |
void |
repaintNode(JAXXContext context,
E node)
Demande une opération de repaint sur un noeud de l'arbre de navigation. |
void |
repaintNode(JAXXContext context,
E node,
boolean deep)
Demande une opération de repaint sur un noeud de l'arbre de navigation. |
void |
selectNode(JAXXContext context,
E node)
Sélection d'un noeud dans l'arbre de navigation. |
void |
selectNode(JAXXContext context,
String path)
Sélection d'un noeud dans l'arbre de navigation à partir de son path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractNavigationHelper(String contextPrefix)
| Method Detail |
|---|
public abstract NavigationModel<E> createTreeModel(JAXXContext context)
context - the context to associate with fresh model
public abstract NavigationHandler<E> createTreeHandler(JAXXObject context)
context - the context to associate with fresh handler
public Object getContextValue(JAXXContext context,
String path)
throws InvocationTargetException,
NoSuchMethodException,
IllegalAccessException
InvocationTargetException
NoSuchMethodException
IllegalAccessException
public E findNode(JAXXContext context,
String path)
public E findNode(JAXXContext context,
String path,
String regex)
public E findNode(JAXXContext context,
String path,
Pattern regex)
public E findNode(JAXXContext context,
String path,
String regex,
String suffix)
public E findNode(JAXXContext context,
String path,
Pattern regex,
String suffix)
public void selectNode(JAXXContext context,
String path)
context - le contexte applicatifpath - le path absolue du noeud dans l'arbre
public void selectNode(JAXXContext context,
E node)
context - le contexte applicatifnode - le noeud à sélectionner dans l'arbrepublic void gotoParentNode(JAXXContext context)
context - le contexte applicatif
public E getParentNode(E current,
Class<?> beanClass)
current - the node to testbeanClass - the type of the internal class to seek of
null
if not found
public void gotoChildNode(JAXXContext context,
int childIndex)
context - le contexte applicatifchildIndex - index du fils a selectionner
public void repaintNode(JAXXContext context,
E node)
context - le contexte applicatifnode - le noeud à repaindre
public void repaintNode(JAXXContext context,
E node,
boolean deep)
deep est à true.
context - le contexte applicatifnode - le noeud à repaindredeep - un flag pour activer la repainte de la descendance du
noeud
public NavigationModel<E> getSafeModel(JAXXContext context)
throws NullPointerException
NullPointerException
public JTree getSafeTree(JAXXContext context)
throws NullPointerException
NullPointerException
public org.jdesktop.swingx.JXTreeTable getSafeTreeTable(JAXXContext context)
throws NullPointerException
NullPointerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||