sub_arctic.style
Interface composer_consts

All Known Subinterfaces:
comp_placement_rule
All Known Implementing Classes:
button, label_toggle, style_test3, style_test4, style_test5, style_test6, style_test7, style_test8, switch_lens_test, uist_style_demo, composer, new_style_test, style_test2, text_extract_test2, gradient_test

public abstract interface composer_consts

This interface provides constants for refering to parts of objects in composition placement rules and for declaring expected types to composer objects.

See Also:
composer, comp_placement_rule, composition_part

Field Summary
static int BOTTOM
          Constant for designating the bottom edge of a part or parameter.
static int CONST
          Constant for indicating that a referent is a constant
static int DESIGNATOR_MASK
          Mask value from pulling out the designator portion of an encoded designator.
static int FEATURE_SHIFT
          Shift value for shifting feature point numbers.
static int FEATURE_X
          Constant for desginating the x position of a feature point.
static int FEATURE_Y
          Constant for desginating the y position of a feature point.
static int HCENTER
          Constant for designating the horizontal center position of a part or parameter
static int HEIGHT
          Constant for designating the height of a part or parameter.
static int INTERIOR_HEIGHT
          Constant for designating the interior height of a part or paramter (which must be a blank object).
static int INTERIOR_WIDTH
          Constant for designating the interior width of a part or parameter (which must be a blank object).
static int INTERIOR_X
          Constant for designating the interior (left) x border of a part or parameter (which must be a blank object).
static int INTERIOR_Y
          Constant for designating the interior (top) y border of a part or parameter (which must be a blank object).
static int LAST_TYPE
          Last valid constant for parameter type indicators
static int LEFT
          Constant for designating the left edge of a part or parameter.
static int MAX_REFERENT
          Largest constant for indicating a referent object
static int MK_PART_BLANK
          Constant to designate that a part should be instantiated as a bank part that is sized externally in both width and height.
static int MK_PART_COPY
          Constant to designate that a part should be instantiated by being copied directly from a parameter.
static int MK_PART_IMAGE
          Constant to designate that an image part should be instantiated from a loaded_image parameter.
static int MK_PART_INT_H_BLANK
          Constant to designate that a part should be instantiated as a bank part that is sized externally in width, but internally in height.
static int MK_PART_INT_W_BLANK
          Constant to designate that a part should be instantiated as a bank part that is sized internally in width, but externally in height.
static int MK_PART_INT_WH_BLANK
          Constant to designate that a part should be instantiated as a bank part that is sized internally in both width and height.
static int MK_PART_LAST
          Last valid constant for designating how a part is instantiated
static int MK_PART_POINT
          Constant to designate that a part should be instantiated as an anchor_point part.
static int MK_PART_TEXT
          Constant to designate that a text part should be instantiated from a text_renderer and string.
static java.lang.String[] parameter_type_names
          Strings for printing human readable rendition of one of our expected types.
static int PARM
          Constant for referring to a parameter value (by number)
static int PART
          Constant for referring to another part (by number)
static java.lang.String[] part_type_names
          Strings for printing human readable rendition of one of our part instantiation types.
static int RIGHT
          Constant for designating the right edge of a part or parameter.
static int TOP
          Constant for designating the top edge of a part or parameter.
static int TYPE_BLANK
          Constant for loaded_image parameter type
static int TYPE_BOOL
          Constant for Boolean parameter type
static int TYPE_COMP_PART
          Constant for arbitrary composition_part parameter type
static int TYPE_IMAGE
          Constant for loaded_image parameter type
static int TYPE_INT
          Constant for Integer parameter type
static int TYPE_POINT
          Constant for Point parameter type
static int TYPE_STRING
          Constant for String parameter type
static int TYPE_TEXT_REND
          Constant for text_renderer parameter type
static int VCENTER
          Constant for designating the vertical center position of a part or parameter.
static int WIDTH
          Constant for designating the width of a part or parameter.
 

Field Detail

PART

public static final int PART
Constant for referring to another part (by number)

PARM

public static final int PARM
Constant for referring to a parameter value (by number)

CONST

public static final int CONST
Constant for indicating that a referent is a constant

MAX_REFERENT

public static final int MAX_REFERENT
Largest constant for indicating a referent object

LEFT

public static final int LEFT
Constant for designating the left edge of a part or parameter.

RIGHT

public static final int RIGHT
Constant for designating the right edge of a part or parameter.

TOP

public static final int TOP
Constant for designating the top edge of a part or parameter.

BOTTOM

public static final int BOTTOM
Constant for designating the bottom edge of a part or parameter.

WIDTH

public static final int WIDTH
Constant for designating the width of a part or parameter.

HEIGHT

public static final int HEIGHT
Constant for designating the height of a part or parameter.

HCENTER

public static final int HCENTER
Constant for designating the horizontal center position of a part or parameter

VCENTER

public static final int VCENTER
Constant for designating the vertical center position of a part or parameter.

INTERIOR_X

public static final int INTERIOR_X
Constant for designating the interior (left) x border of a part or parameter (which must be a blank object).

INTERIOR_Y

public static final int INTERIOR_Y
Constant for designating the interior (top) y border of a part or parameter (which must be a blank object).

INTERIOR_WIDTH

public static final int INTERIOR_WIDTH
Constant for designating the interior width of a part or parameter (which must be a blank object).

INTERIOR_HEIGHT

public static final int INTERIOR_HEIGHT
Constant for designating the interior height of a part or paramter (which must be a blank object).

FEATURE_X

public static final int FEATURE_X
Constant for desginating the x position of a feature point. The feature point (shifted by an appropriate amount) will be ORed with this value. Note: this value must be the second largest designator value -- add new values numerically before this one.

FEATURE_Y

public static final int FEATURE_Y
Constant for desginating the y position of a feature point. The feature point (shifted by an appropriate amount) will be ORed with this value. Note: this value must be the largest designator value -- add new values numerically before this one and FEATURE_X.

FEATURE_SHIFT

public static final int FEATURE_SHIFT
Shift value for shifting feature point numbers. The x value of a feature point N will be encoded as:
 
    (N << FEATURE_SHIFT) | FEATURE_X 
 
. This value should be large enough to leave a sufficient number of low order bits for the FEATURE_X or FEATURE_Y designator constant.

DESIGNATOR_MASK

public static final int DESIGNATOR_MASK
Mask value from pulling out the designator portion of an encoded designator. The designator is "encoding & DESIGNATOR_MASK" and must match the bits "shifted past" by FEATURE_SHIFT.

TYPE_INT

public static final int TYPE_INT
Constant for Integer parameter type

TYPE_BOOL

public static final int TYPE_BOOL
Constant for Boolean parameter type

TYPE_POINT

public static final int TYPE_POINT
Constant for Point parameter type

TYPE_STRING

public static final int TYPE_STRING
Constant for String parameter type

TYPE_TEXT_REND

public static final int TYPE_TEXT_REND
Constant for text_renderer parameter type

TYPE_IMAGE

public static final int TYPE_IMAGE
Constant for loaded_image parameter type

TYPE_BLANK

public static final int TYPE_BLANK
Constant for loaded_image parameter type

TYPE_COMP_PART

public static final int TYPE_COMP_PART
Constant for arbitrary composition_part parameter type

LAST_TYPE

public static final int LAST_TYPE
Last valid constant for parameter type indicators

parameter_type_names

public static final java.lang.String[] parameter_type_names
Strings for printing human readable rendition of one of our expected types.

MK_PART_COPY

public static final int MK_PART_COPY
Constant to designate that a part should be instantiated by being copied directly from a parameter.

MK_PART_TEXT

public static final int MK_PART_TEXT
Constant to designate that a text part should be instantiated from a text_renderer and string.

MK_PART_IMAGE

public static final int MK_PART_IMAGE
Constant to designate that an image part should be instantiated from a loaded_image parameter.

MK_PART_POINT

public static final int MK_PART_POINT
Constant to designate that a part should be instantiated as an anchor_point part.

MK_PART_BLANK

public static final int MK_PART_BLANK
Constant to designate that a part should be instantiated as a bank part that is sized externally in both width and height.

MK_PART_INT_W_BLANK

public static final int MK_PART_INT_W_BLANK
Constant to designate that a part should be instantiated as a bank part that is sized internally in width, but externally in height.

MK_PART_INT_H_BLANK

public static final int MK_PART_INT_H_BLANK
Constant to designate that a part should be instantiated as a bank part that is sized externally in width, but internally in height.

MK_PART_INT_WH_BLANK

public static final int MK_PART_INT_WH_BLANK
Constant to designate that a part should be instantiated as a bank part that is sized internally in both width and height.

MK_PART_LAST

public static final int MK_PART_LAST
Last valid constant for designating how a part is instantiated

part_type_names

public static final java.lang.String[] part_type_names
Strings for printing human readable rendition of one of our part instantiation types.