KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > tree > DefaultTreeSelectionModel

javax.swing.tree
Class DefaultTreeSelectionModel

java.lang.Object
  extended by javax.swing.tree.DefaultTreeSelectionModel
All Implemented Interfaces:
Serializable, Cloneable, TreeSelectionModel
Direct Known Subclasses:
JTree.EmptySelectionModel
See Also:
Top Examples, Source Code, XMLEncoder, JTree

public void addPropertyChangeListener(PropertyChangeListener listener)
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addSelectionPath(TreePath path)
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addSelectionPaths(TreePath[] paths)
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addTreeSelectionListener(TreeSelectionListener x)
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean arePathsContiguous(TreePath[] paths)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean canPathsBeAdded(TreePath[] paths)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean canPathsBeRemoved(TreePath[] paths)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected SwingPropertyChangeSupport changeSupport
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void clearSelection()
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object clone()
             throws CloneNotSupportedException
See Also:
Cloneable
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DefaultTreeSelectionModel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void fireValueChanged(TreeSelectionEvent e)
See Also:
EventListenerList, addTreeSelectionListener(javax.swing.event.TreeSelectionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TreePath getLeadSelectionPath()
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getLeadSelectionRow()
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public <T extends EventListener> T[] getListeners(Class<T> listenerType)
See Also:
getPropertyChangeListeners(), getTreeSelectionListeners(), ClassCastException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getMaxSelectionRow()
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getMinSelectionRow()
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public PropertyChangeListener[] getPropertyChangeListeners()
See Also:
removePropertyChangeListener(java.beans.PropertyChangeListener), addPropertyChangeListener(java.beans.PropertyChangeListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public RowMapper getRowMapper()
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getSelectionCount()
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getSelectionMode()
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TreePath getSelectionPath()
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TreePath[] getSelectionPaths()
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int[] getSelectionRows()
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TreeSelectionListener[] getTreeSelectionListeners()
See Also:
removeTreeSelectionListener(javax.swing.event.TreeSelectionListener), addTreeSelectionListener(javax.swing.event.TreeSelectionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void insureRowContinuity()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void insureUniqueness()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isPathSelected(TreePath path)
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isRowSelected(int row)
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isSelectionEmpty()
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int leadIndex
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreePath leadPath
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int leadRow
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected EventListenerList listenerList
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected DefaultListSelectionModel listSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void notifyPathChange(Vector<javax.swing.tree.PathPlaceHolder> changedPaths,
                                TreePath oldLeadSelection)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removePropertyChangeListener(PropertyChangeListener listener)
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeSelectionPath(TreePath path)
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeSelectionPaths(TreePath[] paths)
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeTreeSelectionListener(TreeSelectionListener x)
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void resetRowSelection()
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected transient RowMapper rowMapper
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreePath[] selection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int selectionMode
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final String SELECTION_MODE_PROPERTY
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setRowMapper(RowMapper newMapper)
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSelectionMode(int mode)
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSelectionPath(TreePath path)
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSelectionPaths(TreePath[] pPaths)
See Also:
TreeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void updateLeadIndex()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags