com.azalient.apo.enums
Enum TextType
java.lang.Object
java.lang.Enum<TextType>
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
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
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)