org.xith3d.loop.opscheduler.impl
Class ScheduledOperationImpl

java.lang.Object
  extended by org.xith3d.loop.opscheduler.impl.ScheduledOperationImpl
All Implemented Interfaces:
ScheduledOperation, Updatable
Direct Known Subclasses:
ConnectionManager, DelayedLoadingScreenUpdater, FloatLowerLimiter, FloatUpperLimiter, InterpolatorTimer, KeyAdjustableFloat, LoadingPhaseController, MemberConnection, PlaceableConnection, PointFocusser, ScheduledPicker, ScheduledScreenshot, TimedInterpolator

public abstract class ScheduledOperationImpl
extends java.lang.Object
implements ScheduledOperation

This is a simple Adapter class for the ScheduledOperation interface.

See Also:
ScheduledOperation

Constructor Summary
ScheduledOperationImpl(boolean isPersistent)
          Creates a new ScheduledOperation.
 
Method Summary
 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 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
 

Constructor Detail

ScheduledOperationImpl

public ScheduledOperationImpl(boolean isPersistent)
Creates a new ScheduledOperation.

Parameters:
isPersistent - if true, this operation will be a persistent one.
Method Detail

isAlive

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

Specified by:
isAlive in interface ScheduledOperation

setAlive

public 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

isPersistent

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

Specified by:
isPersistent in interface ScheduledOperation