org.chorem.vradi.ui.admin.models
Class AdminTreeSelectionModel

java.lang.Object
  extended by javax.swing.tree.DefaultTreeSelectionModel
      extended by org.chorem.vradi.ui.admin.models.AdminTreeSelectionModel
All Implemented Interfaces:
Serializable, Cloneable, TreeSelectionModel

public class AdminTreeSelectionModel
extends DefaultTreeSelectionModel

Author:
sletellier
See Also:
Serialized Form

Field Summary
protected  AdminHandler handler
           
protected  AdminNavUI ui
           
 
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
AdminTreeSelectionModel(AdminNavUI ui, AdminHandler handler)
           
 
Method Summary
 void addSelectionPath(TreePath path)
           
 void addSelectionPaths(TreePath[] paths)
           
protected  void afterSelection(TreePath path)
           
protected  void checkEmptySelection()
           
 void clearSelection()
           
 void removeSelectionPath(TreePath path)
           
 void removeSelectionPaths(TreePath[] paths)
           
 void setSelectionPath(TreePath path)
           
 void setSelectionPaths(TreePath[] pPaths)
           
protected  boolean willContinueSelection()
           
 
Methods inherited from class javax.swing.tree.DefaultTreeSelectionModel
addPropertyChangeListener, addTreeSelectionListener, arePathsContiguous, canPathsBeAdded, canPathsBeRemoved, clone, fireValueChanged, getLeadSelectionPath, getLeadSelectionRow, getListeners, getMaxSelectionRow, getMinSelectionRow, getPropertyChangeListeners, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, getTreeSelectionListeners, insureRowContinuity, insureUniqueness, isPathSelected, isRowSelected, isSelectionEmpty, notifyPathChange, removePropertyChangeListener, removeTreeSelectionListener, resetRowSelection, setRowMapper, setSelectionMode, toString, updateLeadIndex
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

handler

protected AdminHandler handler

ui

protected AdminNavUI ui
Constructor Detail

AdminTreeSelectionModel

public AdminTreeSelectionModel(AdminNavUI ui,
                               AdminHandler handler)
Method Detail

setSelectionPath

public void setSelectionPath(TreePath path)
Specified by:
setSelectionPath in interface TreeSelectionModel
Overrides:
setSelectionPath in class DefaultTreeSelectionModel

setSelectionPaths

public void setSelectionPaths(TreePath[] pPaths)
Specified by:
setSelectionPaths in interface TreeSelectionModel
Overrides:
setSelectionPaths in class DefaultTreeSelectionModel

addSelectionPath

public void addSelectionPath(TreePath path)
Specified by:
addSelectionPath in interface TreeSelectionModel
Overrides:
addSelectionPath in class DefaultTreeSelectionModel

addSelectionPaths

public void addSelectionPaths(TreePath[] paths)
Specified by:
addSelectionPaths in interface TreeSelectionModel
Overrides:
addSelectionPaths in class DefaultTreeSelectionModel

removeSelectionPath

public void removeSelectionPath(TreePath path)
Specified by:
removeSelectionPath in interface TreeSelectionModel
Overrides:
removeSelectionPath in class DefaultTreeSelectionModel

removeSelectionPaths

public void removeSelectionPaths(TreePath[] paths)
Specified by:
removeSelectionPaths in interface TreeSelectionModel
Overrides:
removeSelectionPaths in class DefaultTreeSelectionModel

clearSelection

public void clearSelection()
Specified by:
clearSelection in interface TreeSelectionModel
Overrides:
clearSelection in class DefaultTreeSelectionModel

willContinueSelection

protected boolean willContinueSelection()

afterSelection

protected void afterSelection(TreePath path)

checkEmptySelection

protected void checkEmptySelection()


Copyright © 2009-2011 CodeLutin. All Rights Reserved.