|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.generic.constraint.CustomConstraintRegistry
This constraint allows to register custom constraints by name.
This class stores the mappings between the keys that identify registered
CustomConstraints and the
CustomizedConstraint instances
that provide the user-defined custom functionality.
CustomizedConstraint| Method Summary | |
static void |
register(java.lang.String key,
CustomizedConstraint constraint)
This method allows to register custom constraints by name. |
static void |
unregister(java.lang.String key)
This method allows to unregister custom constraints by name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final void register(java.lang.String key,
CustomizedConstraint constraint)
null.
key - the key string the constraint is referenced with.constraint - the CustomConstraint instance associated
with this key.
InvalidArgumentException - if one of the arguments is
null.public static final void unregister(java.lang.String key)
key - the key string the constraint is referenced with; may not be
null.
InvalidArgumentException - if the argument is null.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||