http://www.jpicedt.org

jpicedt.graphic.model
Enum PicText.TextIcon

java.lang.Object
  extended by java.lang.Enum<PicText.TextIcon>
      extended by 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.


Enum Constant Summary
ICON_MODE
           
TEXT_MODE
           
 
Method Summary
 String toString()
           
static PicText.TextIcon valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PicText.TextIcon[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TEXT_MODE

public static final PicText.TextIcon TEXT_MODE

ICON_MODE

public static final PicText.TextIcon ICON_MODE
Method Detail

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>

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org