Package org.fife.ui.rtextarea
Class FoldIndicatorIcon
- java.lang.Object
-
- org.fife.ui.rtextarea.FoldIndicatorIcon
-
- All Implemented Interfaces:
javax.swing.Icon
- Direct Known Subclasses:
ChevronFoldIcon,PlusMinusFoldIcon
public abstract class FoldIndicatorIcon extends java.lang.Object implements javax.swing.IconA base class for icons in aFoldIndicator.- Version:
- 1.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFoldIndicatorIcon(boolean collapsed)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisArmed()Whether this fold is armed.protected booleanisCollapsed()Returns whether this fold is collapsed.protected voidsetArmed(boolean armed)Toggles whether this fold is armed.
-
-
-
Method Detail
-
isArmed
protected boolean isArmed()
Whether this fold is armed.- Returns:
- Whether this fold is armed.
- See Also:
setArmed(boolean)
-
isCollapsed
protected boolean isCollapsed()
Returns whether this fold is collapsed.- Returns:
- Whether this fold is collapsed.
-
setArmed
protected void setArmed(boolean armed)
Toggles whether this fold is armed.- Parameters:
armed- Whether this fold is armed.- See Also:
isArmed()
-
-