javax.swing.tree
Interface TreeSelectionModel
java.lang.Object
|
+--javax.swing.tree.TreeSelectionModel
public interface TreeSelectionModel
TreeSelectionModel interface
Author:CONTIGUOUS_TREE_SELECTION
public static final int CONTIGUOUS_TREE_SELECTION
DISCONTIGUOUS_TREE_SELECTION
public static final int DISCONTIGUOUS_TREE_SELECTION
SINGLE_TREE_SELECTION
public static final int SINGLE_TREE_SELECTION
TreeSelectionModel interface
Author:
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Parameters:
addSelectionPath
public void addSelectionPath(javax.swing.tree.TreePath path)
Parameters:
addSelectionPaths
public void addSelectionPaths(javax.swing.tree.TreePath[] paths)
Parameters:
addTreeSelectionListener
public void addTreeSelectionListener(javax.swing.event.TreeSelectionListener x)
Parameters:
clearSelection
public void clearSelection()
getLeadSelectionPath
public TreePath getLeadSelectionPath()
getLeadSelectionRow
public int getLeadSelectionRow()
getMaxSelectionRow
public int getMaxSelectionRow()
getMinSelectionRow
public int getMinSelectionRow()
getRowMapper
public RowMapper getRowMapper()
getSelectionCount
public int getSelectionCount()
getSelectionMode
public int getSelectionMode()
getSelectionPath
public TreePath getSelectionPath()
getSelectionPaths
public TreePath[] getSelectionPaths()
getSelectionRows
public int[] getSelectionRows()
isPathSelected
public boolean isPathSelected(javax.swing.tree.TreePath path)
Parameters:
isRowSelected
public boolean isRowSelected(int row)
Parameters:
isSelectionEmpty
public boolean isSelectionEmpty()
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Parameters:
removeSelectionPath
public void removeSelectionPath(javax.swing.tree.TreePath path)
Parameters:
removeSelectionPaths
public void removeSelectionPaths(javax.swing.tree.TreePath[] paths)
Parameters:
removeTreeSelectionListener
public void removeTreeSelectionListener(javax.swing.event.TreeSelectionListener x)
Parameters:
resetRowSelection
public void resetRowSelection()
setRowMapper
public void setRowMapper(javax.swing.tree.RowMapper newMapper)
Parameters:
setSelectionMode
public void setSelectionMode(int mode)
Parameters:
setSelectionPath
public void setSelectionPath(javax.swing.tree.TreePath path)
Parameters:
setSelectionPaths
public void setSelectionPaths(javax.swing.tree.TreePath[] paths)
Parameters: