public final class FoldStateChange extends Object
FoldHierarchyEvent
.
It can be extended to carry additional information specific to particular fold types.
Modifier and Type | Method and Description |
---|---|
Fold |
getFold()
Get the fold that has changed its state.
|
int |
getOriginalEndOffset()
Return the original end offset of the fold prior
to change to the current end offset that the fold has now.
|
int |
getOriginalStartOffset()
Return the original start offset of the fold prior
to change to the current start offset that the fold has now.
|
boolean |
isCollapsedChanged()
Has the collapsed flag of the fold
(returned by
getFold() ) changed? |
boolean |
isDescriptionChanged()
Has the text description of the collapsed fold
(returned by
getFold() ) changed? |
boolean |
isEndOffsetChanged()
Has the end offset of the fold
(returned by
getFold() ) changed? |
boolean |
isStartOffsetChanged()
Has the start offset of the fold
(returned by
getFold() ) changed? |
String |
toString() |
public Fold getFold()
public boolean isCollapsedChanged()
getFold()
) changed?public boolean isStartOffsetChanged()
getFold()
) changed?public int getOriginalStartOffset()
public boolean isEndOffsetChanged()
getFold()
) changed?public int getOriginalEndOffset()
public boolean isDescriptionChanged()
getFold()
) changed?