Package | Description |
---|---|
org.netbeans.api.editor.fold | |
org.netbeans.spi.editor.fold |
Modifier and Type | Field and Description |
---|---|
static FoldTemplate |
FoldTemplate.DEFAULT
The default template for folded text: no markers before+after, ellipsis
shown.
|
static FoldTemplate |
FoldTemplate.DEFAULT_BLOCK
A standard template, which represents a block of something.
|
Modifier and Type | Method and Description |
---|---|
FoldTemplate |
FoldType.getTemplate()
Provides FoldTemplate instance for this type.
|
Modifier and Type | Method and Description |
---|---|
static FoldType |
FoldType.create(String code,
String label,
FoldTemplate template)
Creates an instance of FoldType.
|
FoldType |
FoldType.derive(String code,
String label,
FoldTemplate template)
Derives a FoldType which acts as a child of this instance.
|
FoldType |
FoldType.override(String label,
FoldTemplate template)
Creates a FoldType, overriding its appearance.
|
Modifier and Type | Method and Description |
---|---|
FoldTemplate |
FoldInfo.getTemplate()
Provides FoldTemplate to be used with the Fold.
|
Modifier and Type | Method and Description |
---|---|
Fold |
FoldOperation.addToHierarchy(FoldType type,
int startOffset,
int endOffset,
Boolean collapsed,
FoldTemplate template,
String displayOverride,
Object extraInfo,
FoldHierarchyTransaction transaction)
Adds a fold to the hierarchy.
|
CharSequence |
ContentReader.read(Document d,
Fold f,
FoldTemplate ft)
Acquires text for fold content.
|
FoldInfo |
FoldInfo.withTemplate(FoldTemplate t)
Attaches FoldTemplate to the FoldInfo.
|