Package com.iizix.text
Class KStringStyleRange
- java.lang.Object
- com.iizix.text.KStringStyleRange
public class KStringStyleRange extends java.lang.ObjectThe style range for a KString.- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description intlengthLength.intstartStart position.static intT_ATTRIBUTE_NAMEstatic intT_ATTRIBUTE_VALUEstatic intT_EQUALSstatic intT_ERRORTypes of range.static intT_STRINGstatic intT_TAG_NAMEstatic intT_TAG_SYMBOLinttypeThe 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.StringtoString()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.