com.objex.progeny.anywhere.enums
Enum PEDIGREE_PROPERTY

java.lang.Object
  extended by java.lang.Enum<PEDIGREE_PROPERTY>
      extended by com.objex.progeny.anywhere.enums.PEDIGREE_PROPERTY
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PEDIGREE_PROPERTY>

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

Defines constant values for select properties of an pedigree object that are of interest


Enum Constant Summary
FONT
          Pedigree subtext font property
FOOTER
          Pedigree footer property
GO
          Pedigree generation offset property.
HEADER
          Pedigree header property
ICONYVALUE
          Icon y-value property
IH
          Icon height property
IO
          Pedigree individual offset property.
IW
          Icon width property
LINEWIDTH
          Pedigree line width property
SCALE
          Pedigree scale property
SUBTEXTYVALUE
          Subtext y-value property
XGRIDSPACING
          Pedigree x-grid spacing property
YGRIDSPACING
          Pedigree y-grid spacing property
 
Method Summary
 int getProperty()
           
static PEDIGREE_PROPERTY valueOf(int ai_property)
           
static PEDIGREE_PROPERTY valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PEDIGREE_PROPERTY[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HEADER

public static final PEDIGREE_PROPERTY HEADER
Pedigree header property


FOOTER

public static final PEDIGREE_PROPERTY FOOTER
Pedigree footer property


FONT

public static final PEDIGREE_PROPERTY FONT
Pedigree subtext font property


LINEWIDTH

public static final PEDIGREE_PROPERTY LINEWIDTH
Pedigree line width property


SCALE

public static final PEDIGREE_PROPERTY SCALE
Pedigree scale property


XGRIDSPACING

public static final PEDIGREE_PROPERTY XGRIDSPACING
Pedigree x-grid spacing property


YGRIDSPACING

public static final PEDIGREE_PROPERTY YGRIDSPACING
Pedigree y-grid spacing property


GO

public static final PEDIGREE_PROPERTY GO
Pedigree generation offset property. Identifies the gap between any two generations


IO

public static final PEDIGREE_PROPERTY IO
Pedigree individual offset property. Identifies the gap between any two indviduals within the same generation


IW

public static final PEDIGREE_PROPERTY IW
Icon width property


IH

public static final PEDIGREE_PROPERTY IH
Icon height property


SUBTEXTYVALUE

public static final PEDIGREE_PROPERTY SUBTEXTYVALUE
Subtext y-value property


ICONYVALUE

public static final PEDIGREE_PROPERTY ICONYVALUE
Icon y-value property

Method Detail

values

public static final PEDIGREE_PROPERTY[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(PEDIGREE_PROPERTY c : PEDIGREE_PROPERTY.values())
        System.out.println(c);

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

valueOf

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

getProperty

public int getProperty()
Returns:
The property ID for the Enum

valueOf

public static PEDIGREE_PROPERTY valueOf(int ai_property)
Parameters:
ai_property - The property ID related to the required enum
Returns:
The enum value for a give prperty ID