synergynetframework.mtinput.tuio.tuioobjects
Class TUIOObjectRepresentation

java.lang.Object
  extended by synergynetframework.mtinput.tuio.tuioobjects.TUIOObjectRepresentation
Direct Known Subclasses:
TUIOFiducialObject, TUIOFingerCursor

public abstract class TUIOObjectRepresentation
extends java.lang.Object

The Class TUIOObjectRepresentation.


Constructor Summary
TUIOObjectRepresentation(long id)
          Constructs the object with an id and also sets the creationTime to be now.
 
Method Summary
 long getCreationTime()
          Gets the creation time.
 long getId()
          Gets the id.
 java.awt.geom.Point2D.Float getPosition()
          Gets the position.
 java.awt.geom.Point2D.Float getVelocity()
          Gets the velocity.
 void setCreationTime(long creationTime)
          Sets the creation time.
 void setId(long id)
          Sets the id.
 void setPosition(java.awt.geom.Point2D.Float position)
          Sets the position.
 void setVelocity(java.awt.geom.Point2D.Float velocity)
          Sets the velocity.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TUIOObjectRepresentation

public TUIOObjectRepresentation(long id)
Constructs the object with an id and also sets the creationTime to be now.

Parameters:
id - the id
Method Detail

getCreationTime

public long getCreationTime()
Gets the creation time.

Returns:
the creation time

getId

public long getId()
Gets the id.

Returns:
the id

getPosition

public java.awt.geom.Point2D.Float getPosition()
Gets the position.

Returns:
the position

getVelocity

public java.awt.geom.Point2D.Float getVelocity()
Gets the velocity.

Returns:
the velocity

setCreationTime

public void setCreationTime(long creationTime)
Sets the creation time.

Parameters:
creationTime - the new creation time

setId

public void setId(long id)
Sets the id.

Parameters:
id - the new id

setPosition

public void setPosition(java.awt.geom.Point2D.Float position)
Sets the position.

Parameters:
position - the new position

setVelocity

public void setVelocity(java.awt.geom.Point2D.Float velocity)
Sets the velocity.

Parameters:
velocity - the new velocity