swingwtx.swing.tree
Interface TreeSelectionModel
- All Known Implementing Classes:
- DefaultTreeSelectionModel
- public interface TreeSelectionModel
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
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)