com.ibm.as400.ui.framework.java
Class PanelTreeTableTreeSelectionModel

java.lang.Object
  extended by javax.swing.tree.DefaultTreeSelectionModel
      extended by com.ibm.as400.ui.framework.java.PanelTreeTableTreeSelectionModel
All Implemented Interfaces:
Serializable, Cloneable, TreeSelectionModel

public class PanelTreeTableTreeSelectionModel
extends DefaultTreeSelectionModel

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
protected  boolean updatingListSelectionModel
           
 
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
Constructor and Description
PanelTreeTableTreeSelectionModel(JTable table, DefaultListSelectionModel listModel)
           
 
Method Summary
Modifier and Type Method and Description
protected  ListSelectionListener createListSelectionListener()
           
 DefaultListSelectionModel getListSelectionModel()
           
 JTable getTable()
           
 void resetRowSelection()
           
 void setTable(JTable table)
           
protected  void updateSelectedPathsFromSelectedRows()
           
 
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, setRowMapper, setSelectionMode, setSelectionPath, setSelectionPaths, toString, updateLeadIndex
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

updatingListSelectionModel

protected boolean updatingListSelectionModel
Constructor Detail

PanelTreeTableTreeSelectionModel

public PanelTreeTableTreeSelectionModel(JTable table,
                                        DefaultListSelectionModel listModel)
Method Detail

getListSelectionModel

public DefaultListSelectionModel getListSelectionModel()

getTable

public JTable getTable()

setTable

public void setTable(JTable table)

resetRowSelection

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

createListSelectionListener

protected ListSelectionListener createListSelectionListener()

updateSelectedPathsFromSelectedRows

protected void updateSelectedPathsFromSelectedRows()