com.azalient.apo.enums
Enum TextType

java.lang.Object
  extended by java.lang.Enum<TextType>
      extended by com.azalient.apo.enums.TextType
All Implemented Interfaces:
ITranslatable, Serializable, Comparable<TextType>

public enum TextType
extends Enum<TextType>
implements ITranslatable

Types of text that can be sized using the Display / Text Sizes dialog window


Enum Constant Summary
Area
           
Intersection
           
Link
           
Loop
           
Node
           
Sign
           
Stand
           
Walkway
           
Zone
           
 
Method Summary
static TextType parse(String s)
           
 double stdSize()
           
 String toString()
           
 String toStringTranslated()
           
static TextType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TextType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Link

public static final TextType Link

Node

public static final TextType Node

Intersection

public static final TextType Intersection

Walkway

public static final TextType Walkway

Area

public static final TextType Area

Zone

public static final TextType Zone

Loop

public static final TextType Loop

Sign

public static final TextType Sign

Stand

public static final TextType Stand
Method Detail

values

public static TextType[] 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 (TextType c : TextType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TextType 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

stdSize

public double stdSize()

toString

public String toString()
Overrides:
toString in class Enum<TextType>

toStringTranslated

public String toStringTranslated()
Specified by:
toStringTranslated in interface ITranslatable

parse

public static TextType parse(String s)