synergynetframework.appsystem.services.net.rapidnetworkmanager.messages.networkflick
Class TransferableContentItem

java.lang.Object
  extended by synergynetframework.appsystem.services.net.tablecomms.messages.TableMessage
      extended by synergynetframework.appsystem.services.net.tablecomms.messages.application.ApplicationMessage
          extended by synergynetframework.appsystem.services.net.tablecomms.messages.application.UnicastApplicationMessage
              extended by synergynetframework.appsystem.services.net.rapidnetworkmanager.messages.networkflick.TransferableContentItem
All Implemented Interfaces:
java.io.Serializable, Message
Direct Known Subclasses:
NonTransferableContentItem

public class TransferableContentItem
extends UnicastApplicationMessage

The Class TransferableContentItem.

See Also:
Serialized Form

Constructor Summary
TransferableContentItem(java.lang.Class<?> targetClass, ContentItem item, TableIdentity targetTableId)
          Instantiates a new transferable content item.
 
Method Summary
 ContentItem getContentItem()
          Gets the content item.
 float getDeceleration()
          Gets the deceleration.
 float getLinearVelocityX()
          Gets the linear velocity x.
 float getLinearVelocityY()
          Gets the linear velocity y.
 float[] getLocationStats()
          Gets the location stats.
 float getRoation()
          Gets the roation.
 float getScale()
          Gets the scale.
 void setDeceleration(float deceleration)
          Sets the deceleration.
 void setLinearVelocity(float velocityX, float velocityY)
          Sets the linear velocity.
 void setLocationStats(float[] thisArrivalLocationStats)
          Sets the location stats.
 void setRotation(float rotation)
          Sets the rotation.
 void setScale(float scale)
          Sets the scale.
 
Methods inherited from class synergynetframework.appsystem.services.net.tablecomms.messages.application.UnicastApplicationMessage
getRecipient, setRecipient
 
Methods inherited from class synergynetframework.appsystem.services.net.tablecomms.messages.application.ApplicationMessage
getTargetClassName, setTargetClassName
 
Methods inherited from class synergynetframework.appsystem.services.net.tablecomms.messages.TableMessage
getSender
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransferableContentItem

public TransferableContentItem(java.lang.Class<?> targetClass,
                               ContentItem item,
                               TableIdentity targetTableId)
Instantiates a new transferable content item.

Parameters:
targetClass - the target class
item - the item
targetTableId - the target table id
Method Detail

getContentItem

public ContentItem getContentItem()
Gets the content item.

Returns:
the content item

getDeceleration

public float getDeceleration()
Gets the deceleration.

Returns:
the deceleration

getLinearVelocityX

public float getLinearVelocityX()
Gets the linear velocity x.

Returns:
the linear velocity x

getLinearVelocityY

public float getLinearVelocityY()
Gets the linear velocity y.

Returns:
the linear velocity y

getLocationStats

public float[] getLocationStats()
Gets the location stats.

Returns:
the location stats

getRoation

public float getRoation()
Gets the roation.

Returns:
the roation

getScale

public float getScale()
Gets the scale.

Returns:
the scale

setDeceleration

public void setDeceleration(float deceleration)
Sets the deceleration.

Parameters:
deceleration - the new deceleration

setLinearVelocity

public void setLinearVelocity(float velocityX,
                              float velocityY)
Sets the linear velocity.

Parameters:
velocityX - the velocity x
velocityY - the velocity y

setLocationStats

public void setLocationStats(float[] thisArrivalLocationStats)
Sets the location stats.

Parameters:
thisArrivalLocationStats - the new location stats

setRotation

public void setRotation(float rotation)
Sets the rotation.

Parameters:
rotation - the new rotation

setScale

public void setScale(float scale)
Sets the scale.

Parameters:
scale - the new scale