pl.mbdev.openstage
Enum IppForm.Proportion

java.lang.Object
  extended by java.lang.Enum<IppForm.Proportion>
      extended by pl.mbdev.openstage.IppForm.Proportion
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IppForm.Proportion>
Enclosing class:
IppForm

public static enum IppForm.Proportion
extends java.lang.Enum<IppForm.Proportion>

Available values of proportion parameter in the constructor of IppForm, they define proportions between left and right column of the form.

Author:
Mateusz Bysiek

Enum Constant Summary
L0_R100
          left column 0%, right 100%
L15_R85
          left column 15%, right 85%
L25_R75
          left column 25%, right 75%
L40_R60
          left column 40%, right 60%
L50_R50
          left column 50%, right 50%
L60_R40
          left column 60%, right 40%
L75_R25
          left column 75%, right 25%
 
Method Summary
 java.lang.String toString()
           
static IppForm.Proportion valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IppForm.Proportion[] 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

L0_R100

public static final IppForm.Proportion L0_R100
left column 0%, right 100%


L15_R85

public static final IppForm.Proportion L15_R85
left column 15%, right 85%


L25_R75

public static final IppForm.Proportion L25_R75
left column 25%, right 75%


L40_R60

public static final IppForm.Proportion L40_R60
left column 40%, right 60%


L50_R50

public static final IppForm.Proportion L50_R50
left column 50%, right 50%


L60_R40

public static final IppForm.Proportion L60_R40
left column 60%, right 40%


L75_R25

public static final IppForm.Proportion L75_R25
left column 75%, right 25%

Method Detail

values

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

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

valueOf

public static IppForm.Proportion 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<IppForm.Proportion>