com.tensegrity.graphics
Class AnchorConstraint

java.lang.Object
  extended bycom.tensegrity.graphics.AnchorConstraint
All Implemented Interfaces:
CustomizedConstraint

public class AnchorConstraint
extends java.lang.Object
implements CustomizedConstraint

TODO: comment

Version:
$Id$
Author:
MKegel

Constructor Summary
AnchorConstraint(Anchor[] validStates)
           
AnchorConstraint(java.util.List validStates)
           
 
Method Summary
 boolean validate(java.lang.Object value)
          This validates a value by this Constraint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnchorConstraint

public AnchorConstraint(Anchor[] validStates)

AnchorConstraint

public AnchorConstraint(java.util.List validStates)
Method Detail

validate

public boolean validate(java.lang.Object value)
Description copied from interface: CustomizedConstraint
This validates a value by this Constraint.

Specified by:
validate in interface CustomizedConstraint
Parameters:
value - the value to check.
Returns:
true if this value confirms to this Constraint, false if it does not.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.