public class DoubleHiddenRegionFormatter extends AbstractHiddenRegionFormatter
HIGH_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
Constructor and Description |
---|
DoubleHiddenRegionFormatter(IHiddenRegionFormatting first,
IHiddenRegionFormatting second) |
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(java.lang.String space)
The given space is used for this hidden region.
|
highPriority, lowPriority, newLine, noSpace, oneSpace, setNewLines
public DoubleHiddenRegionFormatter(IHiddenRegionFormatting first, IHiddenRegionFormatting second)
public void autowrap()
IHiddenRegionFormatter
autowrap(0)
.public void autowrap(int triggerLength)
IHiddenRegionFormatter
public FormatterRequest getRequest()
IHiddenRegionFormatter
public void indent()
public void noAutowrap()
IHiddenRegionFormatter
public void noIndentation()
IHiddenRegionFormatter
public void setNewLines(int minNewLines, int defaultNewLines, int maxNewLines)
IHiddenRegionFormatter
minNewLines
and maxNewLines
. Applies defaultNewLines
otherwise.public void setOnAutowrap(IAutowrapFormatter formatter)
IHiddenRegionFormatter
public void setPriority(int priority)
IHiddenRegionFormatter
IHiddenRegionFormatter.NORMAL_PRIORITY
.public void setSpace(java.lang.String space)
IHiddenRegionFormatter