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

Interface « TreeSelectionModel »

Informations générales

Liste des attributs

Tous les attributs Attributs d'instance Attributs statiques Attributs dépréciés
QualificateursTypeNomDescription
public static int CONTIGUOUS_TREE_SELECTION
public static int DISCONTIGUOUS_TREE_SELECTION
public static int SINGLE_TREE_SELECTION

Liste des constructeurs

Constructeurs Constructeurs dépréciés
ConstructeurDescription

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 abstract void addPropertyChangeListener( PropertyChangeListener listener )
public abstract void addSelectionPath( TreePath path )
public abstract void addSelectionPaths( TreePath[] paths )
public abstract void addTreeSelectionListener( TreeSelectionListener x )
public abstract void clearSelection()
public abstract TreePath getLeadSelectionPath()
public abstract int getLeadSelectionRow()
public abstract int getMaxSelectionRow()
public abstract int getMinSelectionRow()
public abstract RowMapper getRowMapper()
public abstract int getSelectionCount()
public abstract int getSelectionMode()
public abstract TreePath getSelectionPath()
public abstract TreePath[] getSelectionPaths()
public abstract int[] getSelectionRows()
public abstract boolean isPathSelected( TreePath path )
public abstract boolean isRowSelected( int row )
public abstract boolean isSelectionEmpty()
public abstract void removePropertyChangeListener( PropertyChangeListener listener )
public abstract void removeSelectionPath( TreePath path )
public abstract void removeSelectionPaths( TreePath[] paths )
public abstract void removeTreeSelectionListener( TreeSelectionListener x )
public abstract void resetRowSelection()
public abstract void setRowMapper( RowMapper newMapper )
public abstract void setSelectionMode( int mode )
public abstract void setSelectionPath( TreePath path )
public abstract void setSelectionPaths( TreePath[] paths )