org.xith3d.utility.classes.beans
Class MemberConnection

java.lang.Object
  extended by org.xith3d.loop.opscheduler.impl.ScheduledOperationImpl
      extended by org.xith3d.utility.classes.beans.MemberConnection
All Implemented Interfaces:
ScheduledOperation, Updatable, Connection
Direct Known Subclasses:
FloatFactorConnection

public class MemberConnection
extends ScheduledOperationImpl
implements Connection

Link two members so that (member1 == member2)


Constructor Summary
MemberConnection(java.lang.Object object1, java.lang.String member1, java.lang.Object object2, java.lang.String member2, OperationScheduler opSched)
          Create a new member link so that the first member always has the value of the second one
 
Method Summary
 void breakConnection()
          
 void update(long gameTime, long frameTime, UpdatingThread.TimingMode timingMode)
          Updates this Updatable object.
 
Methods inherited from class org.xith3d.loop.opscheduler.impl.ScheduledOperationImpl
isAlive, isPersistent, setAlive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemberConnection

public MemberConnection(java.lang.Object object1,
                        java.lang.String member1,
                        java.lang.Object object2,
                        java.lang.String member2,
                        OperationScheduler opSched)
Create a new member link so that the first member always has the value of the second one

Method Detail

breakConnection

public void breakConnection()

Specified by:
breakConnection in interface Connection

update

public void update(long gameTime,
                   long frameTime,
                   UpdatingThread.TimingMode timingMode)
Updates this Updatable object.

Specified by:
update in interface Updatable
Parameters:
gameTime - the gameTime in Milliseconds
frameTime - the frameTime in Milliseconds (needed time for the last frame)
timingMode - the TimingMode to use for frameTime.