jpicedt.graphic.model
Enum PicText.TextIcon
java.lang.Object
java.lang.Enum<PicText.TextIcon>
jpicedt.graphic.model.PicText.TextIcon
- All Implemented Interfaces:
- Serializable, Comparable<PicText.TextIcon>
- Enclosing class:
- PicText
public static enum PicText.TextIcon
- extends Enum<PicText.TextIcon>
An enum for the text display options
TEXT_MODE
- In this mode the value of text is
used for display.
ICON_MODE
- In this mode an icon, when available
is used for display.
TEXT_MODE
public static final PicText.TextIcon TEXT_MODE
ICON_MODE
public static final PicText.TextIcon ICON_MODE
values
public static PicText.TextIcon[] 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 (PicText.TextIcon c : PicText.TextIcon.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PicText.TextIcon valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
toString
public String toString()
- Overrides:
toString
in class Enum<PicText.TextIcon>
Submit a bug : syd@jpicedt.org