swingwtx.swing.tree
Interface TreeSelectionModel

All Known Implementing Classes:
DefaultTreeSelectionModel

public interface TreeSelectionModel


Field Summary
static int CONTIGUOUS_TREE_SELECTION
           
static int DISCONTIGUOUS_TREE_SELECTION
           
static int SINGLE_TREE_SELECTION
           
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void addSelectionPath(TreePath path)
           
 void addSelectionPaths(TreePath[] paths)
           
 void addTreeSelectionListener(TreeSelectionListener x)
           
 void clearSelection()
           
 TreePath getLeadSelectionPath()
           
 int getLeadSelectionRow()
           
 int getMaxSelectionRow()
           
 int getMinSelectionRow()
           
 RowMapper getRowMapper()
           
 int getSelectionCount()
           
 int getSelectionMode()
           
 TreePath getSelectionPath()
           
 TreePath[] getSelectionPaths()
           
 int[] getSelectionRows()
           
 boolean isPathSelected(TreePath path)
           
 boolean isRowSelected(int row)
           
 boolean isSelectionEmpty()
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void removeSelectionPath(TreePath path)
           
 void removeSelectionPaths(TreePath[] paths)
           
 void removeTreeSelectionListener(TreeSelectionListener x)
           
 void resetRowSelection()
           
 void setRowMapper(RowMapper newMapper)
           
 void setSelectionMode(int mode)
           
 void setSelectionPath(TreePath path)
           
 void setSelectionPaths(TreePath[] paths)
           
 

Field Detail

SINGLE_TREE_SELECTION

public static final int SINGLE_TREE_SELECTION
See Also:
Constant Field Values

CONTIGUOUS_TREE_SELECTION

public static final int CONTIGUOUS_TREE_SELECTION
See Also:
Constant Field Values

DISCONTIGUOUS_TREE_SELECTION

public static final int DISCONTIGUOUS_TREE_SELECTION
See Also:
Constant Field Values
Method Detail

setSelectionMode

public void setSelectionMode(int mode)

getSelectionMode

public int getSelectionMode()

setSelectionPath

public void setSelectionPath(TreePath path)

setSelectionPaths

public void setSelectionPaths(TreePath[] paths)

addSelectionPath

public void addSelectionPath(TreePath path)

addSelectionPaths

public void addSelectionPaths(TreePath[] paths)

removeSelectionPath

public void removeSelectionPath(TreePath path)

removeSelectionPaths

public void removeSelectionPaths(TreePath[] paths)

getSelectionPath

public TreePath getSelectionPath()

getSelectionPaths

public TreePath[] getSelectionPaths()

getSelectionCount

public int getSelectionCount()

isPathSelected

public boolean isPathSelected(TreePath path)

isSelectionEmpty

public boolean isSelectionEmpty()

clearSelection

public void clearSelection()

setRowMapper

public void setRowMapper(RowMapper newMapper)

getRowMapper

public RowMapper getRowMapper()

getSelectionRows

public int[] getSelectionRows()

getMinSelectionRow

public int getMinSelectionRow()

getMaxSelectionRow

public int getMaxSelectionRow()

isRowSelected

public boolean isRowSelected(int row)

resetRowSelection

public void resetRowSelection()

getLeadSelectionRow

public int getLeadSelectionRow()

getLeadSelectionPath

public TreePath getLeadSelectionPath()

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)

addTreeSelectionListener

public void addTreeSelectionListener(TreeSelectionListener x)

removeTreeSelectionListener

public void removeTreeSelectionListener(TreeSelectionListener x)