sub_arctic.constraints
Interface std_constraint_consts

All Known Subinterfaces:
grow_draggable, grow_press_draggable, inout_draggable, inout_press_draggable, interactor, list_element, menu_focusable, menu_notifier, move_draggable, move_press_draggable, simple_draggable, simple_press_draggable, snap_draggable, snap_targetable
All Known Implementing Classes:
std_function, interactor_applet, interactor_app, interactor_frame, html_element, hello_world_canvas, speed2

public abstract interface std_constraint_consts

Interface to define user accessible constraint encoding constants.

This interface defines a series of "constant factories" used to designate parts of objects in a standard constraint. These are used in conjunction with the methods in std_function to define constraints from the standard set.


Field Summary
static std_objpart_encoding FIRST_CHILD
          "Constant factory" object for parts of the first child object.
static std_objpart_encoding LAST_CHILD
          "Constant factory" object for parts of the last child object.
static std_objpart_encoding MAX_CHILD
          "Constant factory" object for parts of the max child object.
static std_objpart_encoding MIN_CHILD
          "Constant factory" object for parts of the min child object.
static std_objpart_encoding NEXT_SIBLING
          "Constant factory" object for parts of the next sibling object.
static std_constraint NO_CONSTRAINT
          Encoding for no constraint.
static ext_maker OTHER
          "Constant factory" object for parts of a non-local object.
static std_objpart_encoding PARENT
          "Constant factory" object for parts of the parent object.
static std_objpart_encoding PREV_SIBLING
          "Constant factory" object for parts of the previous sibling object.
static std_objpart_encoding SELF
          "Constant factory" object for parts of the parent object.
static std_objpart_encoding ZERO
          Part designator constant for specifying a zero value.
 

Field Detail

SELF

public static final std_objpart_encoding SELF
"Constant factory" object for parts of the parent object. This provides a set of "constants" designating objects parts (e.g., SELF.X()).

PARENT

public static final std_objpart_encoding PARENT
"Constant factory" object for parts of the parent object. This provides a set of "constants" designating objects parts (e.g., PARENT.X()).

FIRST_CHILD

public static final std_objpart_encoding FIRST_CHILD
"Constant factory" object for parts of the first child object. This provides a set of "constants" designating objects parts (e.g., FIRST_CHILD.X()).

LAST_CHILD

public static final std_objpart_encoding LAST_CHILD
"Constant factory" object for parts of the last child object. This provides a set of "constants" designating objects parts (e.g., LAST_CHILD.X()).

MAX_CHILD

public static final std_objpart_encoding MAX_CHILD
"Constant factory" object for parts of the max child object. This provides a set of "constants" designating objects parts (e.g., MAX_CHILD.X()).

MIN_CHILD

public static final std_objpart_encoding MIN_CHILD
"Constant factory" object for parts of the min child object. This provides a set of "constants" designating objects parts (e.g., MIN_CHILD.X()).

PREV_SIBLING

public static final std_objpart_encoding PREV_SIBLING
"Constant factory" object for parts of the previous sibling object. This provides a set of "constants" designating objects parts (e.g., PREV_SIBLING.X()).

NEXT_SIBLING

public static final std_objpart_encoding NEXT_SIBLING
"Constant factory" object for parts of the next sibling object. This provides a set of "constants" designating objects parts (e.g., NEXT_SIBLING.X()).

OTHER

public static final ext_maker OTHER
"Constant factory" object for parts of a non-local object. This provides as set of "constants" designating standard or non-standard object parts (e.g., OTHER.OBJ(some_obj).PART(some_part) or OTHER.OBJ(some_obj).X()).

ZERO

public static final std_objpart_encoding ZERO
Part designator constant for specifying a zero value. PARENT.x() always returns 0, so this actually expands to a non-oriented version of that.

NO_CONSTRAINT

public static final std_constraint NO_CONSTRAINT
Encoding for no constraint. We need this since we always store some encoding for the attribute.