public final class ProjectTreeSelectionModel extends Object implements TreeSelectionModel
CONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION| Constructor and Description |
|---|
ProjectTreeSelectionModel()
Cria um ProjectTreeSelectionModel que aceitará a seleção de qualquer tipo
de arquivo de projeto.
|
ProjectTreeSelectionModel(csbase.logic.ProjectFileFilter filter)
Cria um ProjectTreeSelectionModel que permitirá a seleção apenas de
arquivos aceitos pelo filtro recebido.
|
public ProjectTreeSelectionModel()
public ProjectTreeSelectionModel(csbase.logic.ProjectFileFilter filter)
filter - O filtro de seleção.public int getLeadSelectionRow()
getLeadSelectionRow in interface TreeSelectionModelpublic int getMaxSelectionRow()
getMaxSelectionRow in interface TreeSelectionModelpublic int getMinSelectionRow()
getMinSelectionRow in interface TreeSelectionModelpublic int getSelectionCount()
getSelectionCount in interface TreeSelectionModelpublic int getSelectionMode()
getSelectionMode in interface TreeSelectionModelpublic void clearSelection()
clearSelection in interface TreeSelectionModelpublic void resetRowSelection()
resetRowSelection in interface TreeSelectionModelpublic boolean isSelectionEmpty()
isSelectionEmpty in interface TreeSelectionModelpublic int[] getSelectionRows()
getSelectionRows in interface TreeSelectionModelpublic void setSelectionMode(int mode)
setSelectionMode in interface TreeSelectionModelpublic boolean isRowSelected(int row)
isRowSelected in interface TreeSelectionModelpublic void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in interface TreeSelectionModelpublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface TreeSelectionModelpublic void addTreeSelectionListener(TreeSelectionListener listener)
addTreeSelectionListener in interface TreeSelectionModelpublic void removeTreeSelectionListener(TreeSelectionListener listener)
removeTreeSelectionListener in interface TreeSelectionModelpublic RowMapper getRowMapper()
getRowMapper in interface TreeSelectionModelpublic void setRowMapper(RowMapper newMapper)
setRowMapper in interface TreeSelectionModelpublic TreePath getLeadSelectionPath()
getLeadSelectionPath in interface TreeSelectionModelpublic TreePath getSelectionPath()
getSelectionPath in interface TreeSelectionModelpublic TreePath[] getSelectionPaths()
getSelectionPaths in interface TreeSelectionModelpublic void addSelectionPath(TreePath path)
addSelectionPath in interface TreeSelectionModelpublic void removeSelectionPath(TreePath path)
removeSelectionPath in interface TreeSelectionModelpublic void setSelectionPath(TreePath path)
setSelectionPath in interface TreeSelectionModelpublic boolean isPathSelected(TreePath path)
isPathSelected in interface TreeSelectionModelpublic void addSelectionPaths(TreePath[] paths)
addSelectionPaths in interface TreeSelectionModelpublic void removeSelectionPaths(TreePath[] paths)
removeSelectionPaths in interface TreeSelectionModelpublic void setSelectionPaths(TreePath[] paths)
setSelectionPaths in interface TreeSelectionModelCopyright © 2017. All rights reserved.