public class IndentImpl extends Indent
Indent.Type| Constructor and Description |
|---|
IndentImpl(Indent.Type type,
boolean absolute,
boolean relativeToDirectParent) |
IndentImpl(Indent.Type type,
boolean absolute,
int spaces,
boolean relativeToDirectParent,
boolean enforceIndentToChildren) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSpaces() |
Indent.Type |
getType() |
boolean |
isAbsolute() |
boolean |
isEnforceIndentToChildren()
Allows to answer if current indent object is configured to enforce indent for sub-blocks of composite block that doesn't start
new line.
|
boolean |
isRelativeToDirectParent()
Allows to answer if current indent object is configured to anchor direct parent that lays on a different line.
|
java.lang.String |
toString() |
getAbsoluteLabelIndent, getAbsoluteNoneIndent, getContinuationIndent, getContinuationIndent, getContinuationWithoutFirstIndent, getContinuationWithoutFirstIndent, getIndent, getIndent, getLabelIndent, getNoneIndent, getNormalIndent, getNormalIndent, getSmartIndent, getSpaceIndent, getSpaceIndentpublic IndentImpl(Indent.Type type, boolean absolute, boolean relativeToDirectParent)
public IndentImpl(Indent.Type type, boolean absolute, int spaces, boolean relativeToDirectParent, boolean enforceIndentToChildren)
public Indent.Type getType()
public int getSpaces()
public boolean isAbsolute()
'isAbsolute' property value as defined during IndentImpl object constructionpublic boolean isRelativeToDirectParent()
Indent class-level javadoc in order to get more information and examples about expected
usage of this property.public boolean isEnforceIndentToChildren()
Indent javadoc for the more detailed explanation of this property usage.true if current indent object is configured to enforce indent for sub-blocks of composite block
that doesn't start new line; false otherwisepublic java.lang.String toString()
toString in class java.lang.Object