Package javax.swing.tree

Provides classes and interfaces for dealing with javax.swing.JTree.

See: Description

  • Interface Summary 
    Interface Description
    MutableTreeNode
    Defines the requirements for a tree node object that can change -- by adding or removing child nodes, or by changing the contents of a user object stored in the node.
    RowMapper
    Defines the requirements for an object that translates paths in the tree into display rows.
    TreeCellEditor
    Adds to CellEditor the extensions necessary to configure an editor in a tree.
    TreeCellRenderer
    Defines the requirements for an object that displays a tree node.
    TreeModel
    The model used by JTree.
    TreeNode
    Defines the requirements for an object that can be used as a tree node in a JTree.
    TreeSelectionModel
    This interface represents the current state of the selection for the tree component.

      

  • Class Summary 
    Class Description
    AbstractLayoutCache
    Warning: Serialized objects of this class will not be compatible with future Swing releases.
    AbstractLayoutCache.NodeDimensions
    Used by AbstractLayoutCache to determine the size and x origin of a particular node.
    DefaultMutableTreeNode
    A DefaultMutableTreeNode is a general-purpose node in a tree data structure.
    DefaultTreeCellEditor
    A TreeCellEditor.
    DefaultTreeCellRenderer
    Displays an entry in a tree.
    DefaultTreeModel
    A simple tree data model that uses TreeNodes.
    DefaultTreeSelectionModel
    Default implementation of TreeSelectionModel.
    FixedHeightLayoutCache
    NOTE: This will become more open in a future release.
    TreePath
    TreePath represents an array of objects that uniquely identify the path to a node in a tree.
    VariableHeightLayoutCache
    NOTE: This will become more open in a future release.

      

  • Exception Summary 
    Exception Description
    ExpandVetoException
    Exception used to stop and expand/collapse from happening.

      

Package javax.swing.tree Description

Provides classes and interfaces for dealing with javax.swing.JTree. You use these classes and interfaces if you want control over how trees are constructed, updated, and rendered, as well as how data associated with the tree nodes are viewed and managed.

Note: Most of the Swing API is not thread safe. For details, see Threads and Swing, a section in The Java Tutorial.

For overviews, tutorials, examples, guides, and tool documentation, please see:
Since:
1.2

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 30/08/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-javax/swing/java-api-rf-javax/swing/tree/package-summary.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, javax.swing.tree

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut