|
org.netbeans.modules.editor.fold/1 1.5.31 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FoldHierarchy | |
---|---|
org.netbeans.api.editor.fold | |
org.netbeans.spi.editor.fold |
Uses of FoldHierarchy in org.netbeans.api.editor.fold |
---|
Methods in org.netbeans.api.editor.fold that return FoldHierarchy | |
---|---|
static FoldHierarchy |
FoldHierarchy.get(JTextComponent component)
Get the fold hierarchy for the given component. |
FoldHierarchy |
Fold.getHierarchy()
Get the code folding hierarchy for which this fold was created. |
Methods in org.netbeans.api.editor.fold with parameters of type FoldHierarchy | |
---|---|
static void |
FoldUtilities.collapse(FoldHierarchy hierarchy,
Collection foldTypes)
Collapse all folds that having any of the fold types in the given collection. |
static void |
FoldUtilities.collapse(FoldHierarchy hierarchy,
FoldType type)
Collapse all folds of the given type. |
static void |
FoldUtilities.collapseAll(FoldHierarchy hierarchy)
Collapse all folds in the hierarchy. |
static Iterator |
FoldUtilities.collapsedFoldIterator(FoldHierarchy hierarchy,
int startOffset,
int endOffset)
Get iterator over the collapsed folds. |
static void |
FoldUtilities.expand(FoldHierarchy hierarchy,
Collection foldTypes)
Expand all folds of the given type (or all folds if the type is null) found in the whole fold hierarchy. |
static void |
FoldUtilities.expand(FoldHierarchy hierarchy,
FoldType type)
Expand all folds of the given type. |
static void |
FoldUtilities.expandAll(FoldHierarchy hierarchy)
Expand all folds in the hierarchy. |
static Fold |
FoldUtilities.findCollapsedFold(FoldHierarchy hierarchy,
int startOffset,
int endOffset)
Find the first collapsed fold (deep-diving into the hierarchy) in the requested boundaries. |
static Fold |
FoldUtilities.findNearestFold(FoldHierarchy hierarchy,
int offset)
Find nearest fold that either starts right at or follows the given offset. |
static Fold |
FoldUtilities.findOffsetFold(FoldHierarchy hierarchy,
int offset)
Find a deepest fold in the hierarchy which contains the offset or has it as one of its boundaries. |
Uses of FoldHierarchy in org.netbeans.spi.editor.fold |
---|
Methods in org.netbeans.spi.editor.fold that return FoldHierarchy | |
---|---|
FoldHierarchy |
FoldOperation.getHierarchy()
Get the hierarchy for which this fold operations works. |
|
org.netbeans.modules.editor.fold/1 1.5.31 | |||||||||
PREV NEXT | FRAMES NO FRAMES |