Package com.iizix.text
Class KStringStyleRange
- java.lang.Object
- com.iizix.text.KStringStyleRange
public class KStringStyleRange extends java.lang.Object
The style range for a KString.- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description int
length
Length.int
start
Start position.static int
T_ATTRIBUTE_NAME
static int
T_ATTRIBUTE_VALUE
static int
T_EQUALS
static int
T_ERROR
Types of range.static int
T_STRING
static int
T_TAG_NAME
static int
T_TAG_SYMBOL
int
type
The type, a T_* constant.
Constructor Summary
Constructors Constructor Description KStringStyleRange(int type, int start, int length)
Constructor.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
To debug string.
Field Detail
T_ERROR
public static final int T_ERROR
Types of range.- See Also:
- Constant Field Values
T_STRING
public static final int T_STRING
- See Also:
- Constant Field Values
T_TAG_SYMBOL
public static final int T_TAG_SYMBOL
- See Also:
- Constant Field Values
T_EQUALS
public static final int T_EQUALS
- See Also:
- Constant Field Values
T_TAG_NAME
public static final int T_TAG_NAME
- See Also:
- Constant Field Values
T_ATTRIBUTE_NAME
public static final int T_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
T_ATTRIBUTE_VALUE
public static final int T_ATTRIBUTE_VALUE
- See Also:
- Constant Field Values
type
public int type
The type, a T_* constant.
start
public int start
Start position.
length
public int length
Length.