gggt.eg.set
Class Constraint

java.lang.Object
  extended by gggt.eg.set.Constraint

public abstract class Constraint
extends java.lang.Object

This class corresponds to a constraint tag into the setting file.


Method Summary
abstract  void constrain(gom.std.OSymbol s)
          To constraint a symbol.
 void down()
          To clear the stack.
 boolean full()
          Test is the stack is full.
abstract  java.lang.String getCName()
          To get the constraint type.
 java.lang.String getModels()
          To get a string representation of models.
 double getMorph()
          To get the morph parameter.
 java.lang.String getName()
          To get the constraint name.
 boolean getOutside()
          To get the outside parameter.
 boolean getOverflow()
          To get the overflow parameter.
 boolean getOverlap()
          To get the overlap parameter.
 double[] getPolar()
          To get the polar parameters.
 double getResize()
          To get the resize parameter.
 boolean getRigid()
          To get the rigid parameter.
 double getRoll()
          To get the rool parameters.
 double getScale()
          To get the scale parameter.
abstract  java.lang.String getShape()
          To get the value parameters.
 int getSize()
          To get the sizing parameter.
 double getSlope()
          To get the slope parameters.
 double[] getWrap()
          To get the wrap parameters.
 void grow()
          To grow the constraint stack
 Model nextModel()
          To get the next model attribute.
abstract  boolean overflows(gom.std.OSymbol s)
          To check a symbol.
 void print()
          The print method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
To get the constraint name.


getCName

public abstract java.lang.String getCName()
To get the constraint type.


getSize

public int getSize()
To get the sizing parameter.


grow

public void grow()
To grow the constraint stack


full

public boolean full()
Test is the stack is full.


down

public void down()
To clear the stack.


getScale

public double getScale()
To get the scale parameter.


getWrap

public double[] getWrap()
To get the wrap parameters.


getResize

public double getResize()
To get the resize parameter.


getMorph

public double getMorph()
To get the morph parameter.


getRigid

public boolean getRigid()
To get the rigid parameter.


getOverflow

public boolean getOverflow()
To get the overflow parameter.


getOverlap

public boolean getOverlap()
To get the overlap parameter.


getOutside

public boolean getOutside()
To get the outside parameter.


getRoll

public double getRoll()
To get the rool parameters.


getPolar

public double[] getPolar()
To get the polar parameters.


getSlope

public double getSlope()
To get the slope parameters.


getShape

public abstract java.lang.String getShape()
To get the value parameters.


nextModel

public Model nextModel()
To get the next model attribute.


getModels

public java.lang.String getModels()
To get a string representation of models.


constrain

public abstract void constrain(gom.std.OSymbol s)
To constraint a symbol.


overflows

public abstract boolean overflows(gom.std.OSymbol s)
To check a symbol.


print

public void print()
The print method.