Package com.iizix.text
Enum KStringTag.Type
- java.lang.Object
-
- java.lang.Enum<KStringTag.Type>
-
- com.iizix.text.KStringTag.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<KStringTag.Type>
- Enclosing class:
- KStringTag<TARGET>
public static enum KStringTag.Type extends java.lang.Enum<KStringTag.Type>
The types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXTERNAL
HTML
HYPERLINK
IMAGE
PANEL
RESOURCE
TEXT_TABLE
VIRTUAL_SPACE
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
refType
The reference type.java.lang.String
typeString
The type string.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toRichTextDisplay()
Formats for display in button for Rich text editor.static KStringTag.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static KStringTag.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTML
public static final KStringTag.Type HTML
-
HYPERLINK
public static final KStringTag.Type HYPERLINK
-
IMAGE
public static final KStringTag.Type IMAGE
-
TEXT_TABLE
public static final KStringTag.Type TEXT_TABLE
-
VIRTUAL_SPACE
public static final KStringTag.Type VIRTUAL_SPACE
-
PANEL
public static final KStringTag.Type PANEL
-
RESOURCE
public static final KStringTag.Type RESOURCE
-
EXTERNAL
public static final KStringTag.Type EXTERNAL
-
-
Method Detail
-
values
public static KStringTag.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KStringTag.Type c : KStringTag.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KStringTag.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toRichTextDisplay
public java.lang.String toRichTextDisplay()
Formats for display in button for Rich text editor.
-
-