org.netbeans.api.editor.fold |
|
Java Source File Name | Type | Comment |
Fold.java | Class | Fold is a building block of the code folding tree-based hierarchy. |
FoldHierarchy.java | Class | Hierarchy of the folds for a single text component represents
a model of the code-folding.
It is the main entry point into the Code Folding API.
Its instance can be obtained by
FoldHierarchy.get(javax.swing.text.JTextComponent) .
The hierarhcy mainly provides access to the root fold
by
FoldHierarchy.getRootFold() and allows to expand/collapse the folds
and listen for fold events describing folds structure changes
and state changes of any of the folds in the hierarchy.
Hierarchy is logically bound to view
i.e. |
FoldHierarchyEvent.java | Class | Event describing the changes done in the hierarchy.
The structural changes are described by the lists of added and removed folds.
State changes are described by a list of
FoldStateChange s.
In addition there is a description of the offset range that was
affected by the change. |
FoldHierarchyListener.java | Interface | Listener for changes in the fold hierarchy. |
FoldStateChange.java | Class | Information about state changes made in a particular fold. |
FoldType.java | Class | Each
Fold is identified by its fold type. |
FoldUtilities.java | Class | Various utility methods for dealing with the folds. |