Package | Description |
---|---|
org.netbeans.api.editor.fold | |
org.netbeans.spi.editor.fold |
Modifier and Type | Field and Description |
---|---|
static FoldType |
FoldHierarchy.ROOT_FOLD_TYPE
Fold type for the root fold.
|
Modifier and Type | Method and Description |
---|---|
FoldType |
Fold.getType()
Get type of this fold.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FoldType.accepts(FoldType type) |
static void |
FoldUtilities.collapse(FoldHierarchy hierarchy,
FoldType type)
Collapse all folds of the given type.
|
static void |
FoldUtilities.expand(FoldHierarchy hierarchy,
FoldType type)
Expand all folds of the given type.
|
static List |
FoldUtilities.find(Fold fold,
FoldType foldType)
Find direct subfolds of the given fold having certain type.
|
static List |
FoldUtilities.findRecursive(Fold fold,
FoldType foldType)
Recursively find any subfolds of the given fold having certain type.
|
Modifier and Type | Method and Description |
---|---|
Fold |
FoldOperation.addToHierarchy(FoldType type,
String description,
boolean collapsed,
int startOffset,
int endOffset,
int startGuardedLength,
int endGuardedLength,
Object extraInfo,
FoldHierarchyTransaction transaction)
Create new fold instance and add it to the hierarchy.
|
Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.