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
CHANGE_VERTICAL_POSITIONS
           
CONSERVE_LEFT_SPACE
           
FONT
          Pedigree subtext font property
FOOTER
          Pedigree footer property
GO
          Pedigree generation offset property.
HEADER
          Pedigree header property
ICONYVALUE
          Icon y-value propertyf
IH
          Icon height property
IO
          Pedigree individual offset property.
IW
          Icon width property
LINEWIDTH
          Pedigree line width property
MATCH_SPOUSE
           
PROBAND_ARROW_POSITION
           
RECALCULATE_POSITIONS
           
SCALE
          Pedigree scale property
SHOW_BLUEID
           
SHOW_DATE
           
SHOW_HOOKS
           
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 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

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 propertyf


MATCH_SPOUSE

public static final PEDIGREE_PROPERTY MATCH_SPOUSE

CHANGE_VERTICAL_POSITIONS

public static final PEDIGREE_PROPERTY CHANGE_VERTICAL_POSITIONS

RECALCULATE_POSITIONS

public static final PEDIGREE_PROPERTY RECALCULATE_POSITIONS

SHOW_HOOKS

public static final PEDIGREE_PROPERTY SHOW_HOOKS

SHOW_DATE

public static final PEDIGREE_PROPERTY SHOW_DATE

SHOW_BLUEID

public static final PEDIGREE_PROPERTY SHOW_BLUEID

CONSERVE_LEFT_SPACE

public static final PEDIGREE_PROPERTY CONSERVE_LEFT_SPACE

PROBAND_ARROW_POSITION

public static final PEDIGREE_PROPERTY PROBAND_ARROW_POSITION
Method Detail

values

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

Returns:
an array containing the constants of this enum type, in the order they are 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
java.lang.NullPointerException - if the argument is null

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