com.tensegrity.graphics
Class StrokePatternConstraint

java.lang.Object
  extended bycom.tensegrity.graphics.StrokePatternConstraint
All Implemented Interfaces:
Constraint

public class StrokePatternConstraint
extends java.lang.Object
implements Constraint

StrokePatternConstraint

Author:
BurkhardWick

Constructor Summary
StrokePatternConstraint()
          Constructor
 
Method Summary
 Constraint intern()
          This method pools the constraint analogous to the String.intern() method.
 java.lang.String toString()
           
 void trace(java.lang.StringBuffer sb)
          This method is called to trace for the last error.
 boolean validate(java.lang.Object value)
          Validates this contraint against a given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StrokePatternConstraint

public StrokePatternConstraint()
Constructor

Method Detail

validate

public boolean validate(java.lang.Object value)
Description copied from interface: Constraint
Validates this contraint against a given value.
Notice:The given argument may not be null.

Specified by:
validate in interface Constraint
Parameters:
value - the object to validate. It is not allowed to pass in null as an argument.
Returns:
true if this value confirms to this constraints and false if it doesn't.

trace

public void trace(java.lang.StringBuffer sb)
Description copied from interface: Constraint
This method is called to trace for the last error.
Notice:
The given argument may not be null.

Specified by:
trace in interface Constraint
Parameters:
sb - the StringBuffer to append the error message to. It is not allowed to pass in null as this argument.

intern

public Constraint intern()
Description copied from interface: Constraint
This method pools the constraint analogous to the String.intern() method.

Specified by:
intern in interface Constraint
Returns:
the pooled reference for the given constraint.

toString

public java.lang.String toString()


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