javax.swing.tree
public interface TreeSelectionModel
Field Summary | |
---|---|
int | CONTIGUOUS_TREE_SELECTION |
int | DISCONTIGUOUS_TREE_SELECTION |
int | SINGLE_TREE_SELECTION |
Method Summary | |
---|---|
void | addPropertyChangeListener(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(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) |