public class PluginTreeSelectionModel extends Object implements TreeSelectionModel
CONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION
Constructor and Description |
---|
PluginTreeSelectionModel() |
public void addSelectionPath(TreePath path)
addSelectionPath
in interface TreeSelectionModel
public void setSelectionPath(TreePath path)
setSelectionPath
in interface TreeSelectionModel
public int getLeadSelectionRow()
getLeadSelectionRow
in interface TreeSelectionModel
public int getMaxSelectionRow()
getMaxSelectionRow
in interface TreeSelectionModel
public int getMinSelectionRow()
getMinSelectionRow
in interface TreeSelectionModel
public int getSelectionCount()
getSelectionCount
in interface TreeSelectionModel
public int getSelectionMode()
getSelectionMode
in interface TreeSelectionModel
public void clearSelection()
clearSelection
in interface TreeSelectionModel
public void resetRowSelection()
resetRowSelection
in interface TreeSelectionModel
public boolean isSelectionEmpty()
isSelectionEmpty
in interface TreeSelectionModel
public int[] getSelectionRows()
getSelectionRows
in interface TreeSelectionModel
public void setSelectionMode(int mode)
setSelectionMode
in interface TreeSelectionModel
public boolean isRowSelected(int row)
isRowSelected
in interface TreeSelectionModel
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface TreeSelectionModel
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface TreeSelectionModel
public void addTreeSelectionListener(TreeSelectionListener x)
addTreeSelectionListener
in interface TreeSelectionModel
public void removeTreeSelectionListener(TreeSelectionListener x)
removeTreeSelectionListener
in interface TreeSelectionModel
public RowMapper getRowMapper()
getRowMapper
in interface TreeSelectionModel
public void setRowMapper(RowMapper newMapper)
setRowMapper
in interface TreeSelectionModel
public TreePath getLeadSelectionPath()
getLeadSelectionPath
in interface TreeSelectionModel
public TreePath getSelectionPath()
getSelectionPath
in interface TreeSelectionModel
public TreePath[] getSelectionPaths()
getSelectionPaths
in interface TreeSelectionModel
public void removeSelectionPath(TreePath path)
removeSelectionPath
in interface TreeSelectionModel
public boolean isPathSelected(TreePath path)
isPathSelected
in interface TreeSelectionModel
public void addSelectionPaths(TreePath[] paths)
addSelectionPaths
in interface TreeSelectionModel
public void removeSelectionPaths(TreePath[] paths)
removeSelectionPaths
in interface TreeSelectionModel
public void setSelectionPaths(TreePath[] paths)
setSelectionPaths
in interface TreeSelectionModel
TV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)