java.lang.Object
com.intellij.formatting.Indent
com.intellij.formatting.IndentImpl
- 直接已知子类:
ExpandableIndent
-
嵌套类概要
从类继承的嵌套类/接口 com.intellij.formatting.Indent
Indent.Type -
构造器概要
构造器构造器说明IndentImpl(Indent.Type type, boolean absolute, boolean relativeToDirectParent) IndentImpl(Indent.Type type, boolean absolute, int spaces, boolean relativeToDirectParent, boolean enforceIndentToChildren) -
方法概要
修饰符和类型方法说明intgetType()booleanbooleanAllows to answer if current indent object is configured to enforce indent for sub-blocks of composite block that doesn't start new line.booleanAllows to answer if current indent object is configured to anchor direct parent that lays on a different line.@NonNls StringtoString()从类继承的方法 com.intellij.formatting.Indent
getAbsoluteLabelIndent, getAbsoluteNoneIndent, getContinuationIndent, getContinuationIndent, getContinuationWithoutFirstIndent, getContinuationWithoutFirstIndent, getIndent, getIndent, getLabelIndent, getNoneIndent, getNormalIndent, getNormalIndent, getSmartIndent, getSpaceIndent, getSpaceIndent
-
构造器详细资料
-
IndentImpl
-
IndentImpl
public IndentImpl(Indent.Type type, boolean absolute, int spaces, boolean relativeToDirectParent, boolean enforceIndentToChildren)
-
-
方法详细资料
-
getType
-
getSpaces
public int getSpaces() -
isAbsolute
public boolean isAbsolute()- 返回:
'isAbsolute'property value as defined duringIndentImplobject construction
-
isRelativeToDirectParent
public boolean isRelativeToDirectParent()Allows to answer if current indent object is configured to anchor direct parent that lays on a different line. Feel free to checkIndentclass-level javadoc in order to get more information and examples about expected usage of this property.- 返回:
- flag that indicates if this indent should anchor direct parent that lays on a different line
-
isEnforceIndentToChildren
public 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. Feel free to checkIndentjavadoc for the more detailed explanation of this property usage.- 返回:
trueif current indent object is configured to enforce indent for sub-blocks of composite block that doesn't start new line;falseotherwise
-
toString
-