Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module : java.desktop - Package : javax.swing.tree
Version documentée : Java SE 17

Classe « DefaultTreeSelectionModel »

Informations générales

Héritage

java.lang.Object
    javax.swing.tree.DefaultTreeSelectionModel

Interfaces implémentées

java.io.Serializable
java.lang.Cloneable
javax.swing.tree.TreeSelectionModel

Définition

public class DefaultTreeSelectionModel extends java.lang.Object
implements java.io.Serializable,
java.lang.Cloneable,
javax.swing.tree.TreeSelectionModel

Description

A venir.

Liste des attributs

Tous les attributs Attributs d'instance Attributs statiques Attributs dépréciés
QualificateursTypeNomDescription
public static String SELECTION_MODE_PROPERTY
protected SwingPropertyChangeSupport changeSupport
protected int leadIndex
protected TreePath leadPath
protected int leadRow
protected DefaultListSelectionModel listSelectionModel
protected EventListenerList listenerList
protected RowMapper rowMapper
protected TreePath[] selection
protected int selectionMode

Liste des constructeurs

Constructeurs Constructeurs dépréciés
ConstructeurDescription
DefaultTreeSelectionModel()

Liste des propriétés (getters/setters)

Propriétés Propriétés dépréciées
QualificateursTypeNomR/W
public TreePath leadSelectionPath R/-
public int leadSelectionRow R/-
public int maxSelectionRow R/-
public int minSelectionRow R/-
public PropertyChangeListener[] propertyChangeListeners R/-
public RowMapper rowMapper R/W
public int selectionCount R/-
public boolean selectionEmpty R/-
public int selectionMode R/W
public TreePath selectionPath R/W
public TreePath[] selectionPaths R/W
public int[] selectionRows R/-
public TreeSelectionListener[] treeSelectionListeners R/-

Propriétés héritées de la classe java.lang.Object

class

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes concrètes Méthodes abstraites Méthodes dépréciées
QualificateursType de retourPrototype de la méthodeDescription
public synchronized void addPropertyChangeListener( PropertyChangeListener listener )
public void addSelectionPath( TreePath path )
public void addSelectionPaths( TreePath[] paths )
public void addTreeSelectionListener( TreeSelectionListener x )
protected boolean arePathsContiguous( TreePath[] paths )
protected boolean canPathsBeAdded( TreePath[] paths )
protected boolean canPathsBeRemoved( TreePath[] paths )
public void clearSelection()
public Object clone()
protected void fireValueChanged( TreeSelectionEvent e )
public TreePath getLeadSelectionPath()
public int getLeadSelectionRow()
public <T> T[] getListeners( Class<T> listenerType )
public int getMaxSelectionRow()
public int getMinSelectionRow()
public PropertyChangeListener[] getPropertyChangeListeners()
public RowMapper getRowMapper()
public int getSelectionCount()
public int getSelectionMode()
public TreePath getSelectionPath()
public TreePath[] getSelectionPaths()
public int[] getSelectionRows()
public TreeSelectionListener[] getTreeSelectionListeners()
protected void insureRowContinuity()
protected void insureUniqueness()
public boolean isPathSelected( TreePath path )
public boolean isRowSelected( int row )
public boolean isSelectionEmpty()
protected void notifyPathChange( Vector<?> changedPaths, TreePath oldLeadSelection )
public synchronized void removePropertyChangeListener( PropertyChangeListener listener )
public void removeSelectionPath( TreePath path )
public void removeSelectionPaths( TreePath[] paths )
public void removeTreeSelectionListener( TreeSelectionListener x )
public void resetRowSelection()
public void setRowMapper( RowMapper newMapper )
public void setSelectionMode( int mode )
public void setSelectionPath( TreePath path )
public void setSelectionPaths( TreePath[] pPaths )
public String toString()
protected void updateLeadIndex()

Méthodes héritées de la classe java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait