Modifier | Constructor | Description |
---|---|---|
protected |
FoldHandleDefinition() |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
finish() |
Finish the fold at the current last line.
|
abstract void |
setExpanded(boolean expanded) |
Set state of the fold.
|
abstract IOFolding.FoldHandleDefinition |
startFold(boolean expanded) |
Start a new fold at the current last line.
|
public abstract void finish()
IllegalStateException
- if parent fold has been already
finished, or if there is an unfinished nested fold.public abstract IOFolding.FoldHandleDefinition startFold(boolean expanded)
expanded
- If false, the fold will be collapsed by default,
otherwise it will be expanded.IllegalStateException
- if the fold has been already finished,
or if the last nested fold hasn't been finished yet.public abstract void setExpanded(boolean expanded)
expanded
- True to expand the fold, false to collapse it.Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.