jaxx.runtime.swing.navigation.handler
Interface NavigationHandler<E extends NavigationNode<E>>
- All Superinterfaces:
- Cloneable, EventListener, Serializable, TreeSelectionListener, TreeSelectionModel
- All Known Implementing Classes:
- AbstractNavigationHandler, NavigationMultiTreeHandler, NavigationOneClicSelectionHandler, NavigationTreeHandlerWithCardLayout
public interface NavigationHandler<E extends NavigationNode<E>>
- extends Cloneable, Serializable, TreeSelectionModel, TreeSelectionListener
| Methods inherited from interface javax.swing.tree.TreeSelectionModel |
addPropertyChangeListener, addSelectionPath, addSelectionPaths, addTreeSelectionListener, clearSelection, getLeadSelectionPath, getLeadSelectionRow, getMaxSelectionRow, getMinSelectionRow, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, isPathSelected, isRowSelected, isSelectionEmpty, removePropertyChangeListener, removeSelectionPath, removeSelectionPaths, removeTreeSelectionListener, resetRowSelection, setRowMapper, setSelectionMode |
getContext
JAXXContext getContext()
getNavigationTreeModel
NavigationModel<E> getNavigationTreeModel()
- Returns:
- le modèle de navigation associé
getCurrentUI
Component getCurrentUI()
- Returns:
- le composent actuellement visible associé au noeud courant ou au
noeud précédent lors d'un changement de noeud.
getUI
Component getUI(E node)
- Parameters:
node - le noeud associé à l'ui à retrouver
- Returns:
- l'ui associé au novueau noeud sélectionné
closeUI
boolean closeUI(Component component)
throws Exception
- Parameters:
component - le composent actuellement visible
- Returns:
true si le composent a bien été fermé,
false sinon
- Throws:
Exception - if any
createUI
Component createUI(E node)
throws Exception
- Instancie une nouvelle ui associé à un noeud de l'arbre de navigation
- Parameters:
node - le noeud associé à l'ui à créer
- Returns:
- la nouvelle ui associée au noeud
- Throws:
Exception - if any
openUI
void openUI(Component newUI,
E node)
throws Exception
- Ouvre l'ui associée au noeud sélectionné dans l'arbre de navigation.
- Parameters:
newUI - l'ui associé au noeud sélectionné à ouvrirnode - le node de l'ui a ouvrir
- Throws:
Exception - if any
treateError
void treateError(Exception e)
- Traitement des exceptions.
- Parameters:
e - l'erreur recontrée (ou null si pas d"erreur)
valueChanged
void valueChanged(TreeSelectionEvent event)
- Specified by:
valueChanged in interface TreeSelectionListener
getContextHelper
NavigationContextHelper<E> getContextHelper()
setSelectionPath
void setSelectionPath(TreePath path)
- Specified by:
setSelectionPath in interface TreeSelectionModel
setSelectionPaths
void setSelectionPaths(TreePath[] paths)
- Specified by:
setSelectionPaths in interface TreeSelectionModel
Copyright © 2008-2010 CodeLutin. All Rights Reserved.