com.panayotis.jubler.subs.style
Enum StyleType

java.lang.Object
  extended by java.lang.Enum<StyleType>
      extended by com.panayotis.jubler.subs.style.StyleType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StyleType>

public enum StyleType
extends java.lang.Enum<StyleType>


Enum Constant Summary
ANGLE
           
BOLD
           
BORDERSIZE
           
BORDERSTYLE
           
DIRECTION
           
FONTNAME
           
FONTSIZE
           
ITALIC
           
LEFTMARGIN
           
OUTLINE
           
PRIMARY
           
RIGHTMARGIN
           
SECONDARY
           
SHADOW
           
SHADOWSIZE
           
SPACING
           
STRIKETHROUGH
           
UNDERLINE
           
UNKNOWN
           
VERTICAL
           
XSCALE
           
YSCALE
           
 
Method Summary
 java.lang.String get(SubStyle style)
           
 java.lang.Object getDefault()
           
 byte getType()
           
 java.lang.Object init(java.lang.Object val)
           
 java.lang.Object init(java.lang.String val)
           
static StyleType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StyleType[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FONTNAME

public static final StyleType FONTNAME

FONTSIZE

public static final StyleType FONTSIZE

BOLD

public static final StyleType BOLD

ITALIC

public static final StyleType ITALIC

UNDERLINE

public static final StyleType UNDERLINE

STRIKETHROUGH

public static final StyleType STRIKETHROUGH

PRIMARY

public static final StyleType PRIMARY

SECONDARY

public static final StyleType SECONDARY

OUTLINE

public static final StyleType OUTLINE

SHADOW

public static final StyleType SHADOW

BORDERSTYLE

public static final StyleType BORDERSTYLE

BORDERSIZE

public static final StyleType BORDERSIZE

SHADOWSIZE

public static final StyleType SHADOWSIZE

LEFTMARGIN

public static final StyleType LEFTMARGIN

RIGHTMARGIN

public static final StyleType RIGHTMARGIN

VERTICAL

public static final StyleType VERTICAL

ANGLE

public static final StyleType ANGLE

SPACING

public static final StyleType SPACING

XSCALE

public static final StyleType XSCALE

YSCALE

public static final StyleType YSCALE

DIRECTION

public static final StyleType DIRECTION

UNKNOWN

public static final StyleType UNKNOWN
Method Detail

values

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

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

valueOf

public static StyleType 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 name
java.lang.NullPointerException - if the argument is null

getType

public byte getType()

getDefault

public java.lang.Object getDefault()

init

public java.lang.Object init(java.lang.Object val)

init

public java.lang.Object init(java.lang.String val)

get

public java.lang.String get(SubStyle style)