public class SingleHiddenRegionFormatter extends AbstractHiddenRegionFormatter
HIGH_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY| Constructor and Description |
|---|
SingleHiddenRegionFormatter(IHiddenRegionFormatting formatting) |
| Modifier and Type | Method and Description |
|---|---|
void |
autowrap()
Configure autowrap.
|
void |
autowrap(int triggerLength)
Configure autowrap.
|
FormatterRequest |
getRequest()
Returns teh current formatter request and allows to read configuration settings.
|
void |
indent() |
void |
noAutowrap()
Suppresses auto wrap in this hidden region.
|
void |
noIndentation()
Resets the indentation level to zero.
|
void |
setNewLines(int minNewLines,
int defaultNewLines,
int maxNewLines)
Configures the given new lines for this hidden region.
|
void |
setOnAutowrap(IAutowrapFormatter formatter)
Callback if autowrapping was applied.
|
void |
setPriority(int priority)
Sets the priority of this formatting configuration.
|
void |
setSpace(String space)
The given space is used for this hidden region.
|
highPriority, lowPriority, newLine, noSpace, oneSpace, setNewLinespublic SingleHiddenRegionFormatter(IHiddenRegionFormatting formatting)
public void autowrap()
IHiddenRegionFormatterautowrap(0).public void autowrap(int triggerLength)
IHiddenRegionFormatterpublic FormatterRequest getRequest()
IHiddenRegionFormatterpublic void indent()
public void noAutowrap()
IHiddenRegionFormatterpublic void noIndentation()
IHiddenRegionFormatterpublic void setNewLines(int minNewLines,
int defaultNewLines,
int maxNewLines)
IHiddenRegionFormatterminNewLines and maxNewLines. Applies defaultNewLines otherwise.public void setOnAutowrap(IAutowrapFormatter formatter)
IHiddenRegionFormatterpublic void setPriority(int priority)
IHiddenRegionFormatterIHiddenRegionFormatter.NORMAL_PRIORITY.public void setSpace(String space)
IHiddenRegionFormatterCopyright © 2015. All Rights Reserved.