JIDE 3.5.15

com.jidesoft.editor.folding
Interface FoldingSpan

All Superinterfaces:
Span
All Known Implementing Classes:
DefaultFoldingSpan

public interface FoldingSpan
extends Span

An interface to represent a code folding span in the document.


Method Summary
 String getDescription()
          Gets the placeholder text that will be displayed when the code folding is collapsed.
 boolean isExpanded()
          Checks if the code folding span is expand.
 void setExpanded(boolean expanded)
          Expands the code folding.
 
Methods inherited from interface com.jidesoft.editor.Span
getEndOffset, getStartOffset, isValid
 

Method Detail

setExpanded

void setExpanded(boolean expanded)
Expands the code folding.

Parameters:
expanded -

isExpanded

boolean isExpanded()
Checks if the code folding span is expand.

Returns:
true if expanded. Otherwise false.

getDescription

String getDescription()
Gets the placeholder text that will be displayed when the code folding is collapsed.

Returns:
the placeholder text.

JIDE 3.5.15