org.xith3d.schedops.values
Class Adjuster

java.lang.Object
  extended by org.xith3d.schedops.values.Adjuster
All Implemented Interfaces:
org.jagatoo.datatypes.NamedObject, ScheduledOperation, Updatable
Direct Known Subclasses:
KeyFloatAdjuster, KeyPoint3fAdjuster

public abstract class Adjuster
extends java.lang.Object
implements ScheduledOperation, org.jagatoo.datatypes.NamedObject

Add comment here...


Nested Class Summary
static class Adjuster.Mode
           
 
Field Summary
protected  boolean changed
           
protected  java.lang.String name
           
static float RESOLUTION
           
 
Constructor Summary
Adjuster()
           
 
Method Summary
 java.lang.String getName()
          Return the name of this adjuster
abstract  java.lang.String getState()
          Get the state of this adjuster
 boolean hasChanged()
           
 boolean isAlive()
          if false, the object will be removed from the scheduler next loop iteration
 boolean isPersistent()
          If this operation is persistent, it remains scheduled after beeing executed once.
 void print()
          Print the value of this adjuster
 void setAlive(boolean alive)
          Sets this Object alive or dead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xith3d.loop.Updatable
update
 

Field Detail

RESOLUTION

public static final float RESOLUTION
See Also:
Constant Field Values

changed

protected boolean changed

name

protected java.lang.String name
Constructor Detail

Adjuster

public Adjuster()
Method Detail

hasChanged

public final boolean hasChanged()
Returns:
true if the adjuster has changed since the last frame

getState

public abstract java.lang.String getState()
Get the state of this adjuster


print

public void print()
Print the value of this adjuster

See Also:
getState()

isAlive

public final boolean isAlive()
if false, the object will be removed from the scheduler next loop iteration

Specified by:
isAlive in interface ScheduledOperation

isPersistent

public final boolean isPersistent()
If this operation is persistent, it remains scheduled after beeing executed once.

Specified by:
isPersistent in interface ScheduledOperation

setAlive

public final void setAlive(boolean alive)
Sets this Object alive or dead

Specified by:
setAlive in interface ScheduledOperation
Parameters:
alive - if false, the object will be removed from the scheduler next loop iteration

getName

public java.lang.String getName()
Return the name of this adjuster

Specified by:
getName in interface org.jagatoo.datatypes.NamedObject