synergynetframework.appsystem.services.net.networkedcontentmanager.messages.networkedflick
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.networkedcontentmanager.messages.networkedflick.TransferableContentItem
All Implemented Interfaces:
java.io.Serializable, Message

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 getMaxScale()
          Gets the max scale.
 float getMinScale()
          Gets the min scale.
 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[] arrivalLocationStats)
          Sets the location stats.
 void setMaxScale(float maxScale)
          Sets the max scale.
 void setMinScale(float minScale)
          Sets the min scale.
 void setRoation(float rotation)
          Sets the roation.
 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

getMaxScale

public float getMaxScale()
Gets the max scale.

Returns:
the max scale

getMinScale

public float getMinScale()
Gets the min scale.

Returns:
the min scale

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[] arrivalLocationStats)
Sets the location stats.

Parameters:
arrivalLocationStats - the new location stats

setMaxScale

public void setMaxScale(float maxScale)
Sets the max scale.

Parameters:
maxScale - the new max scale

setMinScale

public void setMinScale(float minScale)
Sets the min scale.

Parameters:
minScale - the new min scale

setRoation

public void setRoation(float rotation)
Sets the roation.

Parameters:
rotation - the new roation

setScale

public void setScale(float scale)
Sets the scale.

Parameters:
scale - the new scale