|
||||||||||
| 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.NavigationTreeHandler
jaxx.runtime.swing.navigation.NavigationTreeHandlerWithCardLayout
public abstract class NavigationTreeHandlerWithCardLayout
Simple NavigationTreeHandler implementation with a CardLayout2 to manage components to
associated with tree's nodes.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jaxx.runtime.swing.navigation.NavigationTreeHandler |
|---|
NavigationTreeHandler.Strategy |
| Field Summary |
|---|
| Fields inherited from class jaxx.runtime.swing.navigation.NavigationTreeHandler |
|---|
context, contextHelper, 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 | |
|---|---|
NavigationTreeHandlerWithCardLayout(java.lang.String contextPrefix,
JAXXObject context,
NavigationTreeHandler.Strategy strategy)
|
|
| Method Summary | |
|---|---|
protected boolean |
closeUI(java.awt.Component component)
|
protected java.awt.Component |
createUI(NavigationTreeNode node)
Instancie une nouvelle ui associé à un noeud de l'arbre de navigation |
protected abstract javax.swing.JPanel |
getContentContainer()
All components associated with a tree's node is displayed in a single container. |
protected abstract CardLayout2 |
getContentLayout()
the cardlayout managing components associated with tree node. |
protected java.awt.Component |
getCurrentUI()
|
protected java.awt.Component |
getUI(NavigationTreeNode node)
|
protected void |
openUI(java.awt.Component newUI,
NavigationTreeNode node)
Ouvre l'ui associée au noeud sélectionné dans l'arbre de navigation. |
| Methods inherited from class jaxx.runtime.swing.navigation.NavigationTreeHandler |
|---|
addSelectedBeanInContext, createUIContext, getContext, getContextHelper, getNavigationTreeModel, selectNodeUI, setSelectionPath, treateError |
| Methods inherited from class javax.swing.tree.DefaultTreeSelectionModel |
|---|
addPropertyChangeListener, addSelectionPath, addSelectionPaths, addTreeSelectionListener, arePathsContiguous, canPathsBeAdded, canPathsBeRemoved, clearSelection, clone, fireValueChanged, getLeadSelectionPath, getLeadSelectionRow, getListeners, getMaxSelectionRow, getMinSelectionRow, getPropertyChangeListeners, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, getTreeSelectionListeners, insureRowContinuity, insureUniqueness, isPathSelected, isRowSelected, isSelectionEmpty, notifyPathChange, removePropertyChangeListener, removeSelectionPath, removeSelectionPaths, removeTreeSelectionListener, resetRowSelection, setRowMapper, setSelectionMode, setSelectionPaths, toString, updateLeadIndex |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NavigationTreeHandlerWithCardLayout(java.lang.String contextPrefix,
JAXXObject context,
NavigationTreeHandler.Strategy strategy)
| Method Detail |
|---|
protected abstract javax.swing.JPanel getContentContainer()
protected abstract CardLayout2 getContentLayout()
protected java.awt.Component getCurrentUI()
getCurrentUI in class NavigationTreeHandlerprotected java.awt.Component getUI(NavigationTreeNode node)
getUI in class NavigationTreeHandlernode - le noeud associé à l'ui à retrouver
protected void openUI(java.awt.Component newUI,
NavigationTreeNode node)
throws java.lang.Exception
NavigationTreeHandler
openUI in class NavigationTreeHandlernewUI - l'ui associé au noeud sélectionné à ouvrirnode - le node de l'ui a ouvrir
java.lang.Exception - if any
protected boolean closeUI(java.awt.Component component)
throws java.lang.Exception
closeUI in class NavigationTreeHandlercomponent - le composent actuellement visible
true si le composent a bien été fermé, false sinon
java.lang.Exception - if any
protected java.awt.Component createUI(NavigationTreeNode node)
throws java.lang.Exception
NavigationTreeHandler
createUI in class NavigationTreeHandlernode - le noeud associé à l'ui à créer
java.lang.Exception - if any
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||