de.matthiasmann.twl.utils
Class StateExpression

java.lang.Object
  extended by de.matthiasmann.twl.utils.StateExpression
Direct Known Subclasses:
StateExpression.Check, StateExpression.Logic

public abstract class StateExpression
extends java.lang.Object

A class to handle animation state expression


Nested Class Summary
static class StateExpression.Check
           
static class StateExpression.Logic
           
 
Method Summary
abstract  boolean evaluate(AnimationState as)
           
static StateExpression parse(java.lang.String exp, boolean negate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

evaluate

public abstract boolean evaluate(AnimationState as)

parse

public static StateExpression parse(java.lang.String exp,
                                    boolean negate)
                             throws java.text.ParseException
Throws:
java.text.ParseException