public class IndentData
extends java.lang.Object
Constructor and Description |
---|
IndentData(int indentSpaces) |
IndentData(int indentSpaces,
int spaces) |
Modifier and Type | Method and Description |
---|---|
IndentData |
add(IndentData childOffset) |
IndentData |
add(WhiteSpace whiteSpace) |
static IndentData |
createFrom(java.lang.CharSequence chars,
int startOffset,
int endOffset,
int tabSize) |
IndentInfo |
createIndentInfo() |
int |
getIndentSpaces() |
int |
getSpaces() |
int |
getTotalSpaces() |
boolean |
isEmpty() |
static IndentData |
min(IndentData first,
IndentData second) |
java.lang.String |
toString() |
public IndentData(int indentSpaces, int spaces)
public IndentData(int indentSpaces)
public int getTotalSpaces()
public int getIndentSpaces()
public int getSpaces()
public IndentData add(IndentData childOffset)
public IndentData add(WhiteSpace whiteSpace)
public boolean isEmpty()
public IndentInfo createIndentInfo()
public java.lang.String toString()
toString
in class java.lang.Object
public static IndentData createFrom(java.lang.CharSequence chars, int startOffset, int endOffset, int tabSize)
public static IndentData min(IndentData first, IndentData second)