public class SynergyNetPosition extends PerformActionMessage implements java.io.Serializable
PerformActionMessage.MESSAGESTATE
Constructor and Description |
---|
SynergyNetPosition()
Empty Constructor used to initialise value in the network cluster.
|
SynergyNetPosition(java.lang.String tableIdentity,
boolean remove)
Create a structured device position message for transmission through the
cluster.
|
SynergyNetPosition(java.lang.String tableIdentity,
float x,
float y,
float rotation,
float displayWidth,
float displayHeight,
float interfaceHeightFromFloor,
float pixelWidth)
Create a structured device position message for transmission through the
cluster.
|
Modifier and Type | Method and Description |
---|---|
float |
getHeightinMetres()
Get the height of the device interface represented.
|
float |
getInterfaceHeightFromFloorinMetres()
Get the height from the floor of the device interface represented.
|
float |
getOrientation()
Get the rotation of the device interface represented.
|
float |
getPixelWidth()
Get the pixel width of the interface represented in pixels.
|
java.lang.String |
getTableID()
Get the cluster ID of the device interface represented.
|
float |
getWidthinMetres()
Get the width of the device interface represented.
|
float |
getXinMetres()
Get the X value of the device interface represented's location.
|
float |
getYinMetres()
Get the Y value of the device interface represented's location.
|
void |
setHeightinMetres(float height)
Set the height of the device interface represented.
|
void |
setInterfaceHeightFromFloorinMetres(float interfaceHeightFromFloor)
Set the height from the floor of the interface represented.
|
void |
setPixelWidth(float pixelWidth)
Set the the pixel width of the interface represented in pixels.
|
void |
setRotation(float rotation)
Set the rotation of the device interface represented.
|
void |
setTableID(java.lang.String tableID)
Set the cluster ID of the device interface represented.
|
void |
setWidthinMetres(float width)
Set the width of the device interface represented.
|
void |
setXinMetres(float x)
Set the X value of the device interface represented's location.
|
void |
setYinMetres(float y)
Set the Y value of the device interface represented's location.
|
getMessageID, getMessageState, messageAlreadyReceived, regenerateID
public SynergyNetPosition()
public SynergyNetPosition(java.lang.String tableIdentity, boolean remove)
tableIdentity
- remove
- public SynergyNetPosition(java.lang.String tableIdentity, float x, float y, float rotation, float displayWidth, float displayHeight, float interfaceHeightFromFloor, float pixelWidth)
tableIdentity
- Cluster ID of the device interface represented.x
- X value of location of the device interface represented.y
- Y value of location of the device interface represented.thisTableAngleDegrees
- Rotation of the device interface representeddisplayWidth
- Width of the device interface represented.displayHeight
- Height of the device interface represented.pixelWidth
- Pixel width of the interface represented.public float getHeightinMetres()
public float getInterfaceHeightFromFloorinMetres()
public float getOrientation()
public float getPixelWidth()
public java.lang.String getTableID()
public float getWidthinMetres()
public float getXinMetres()
public float getYinMetres()
public void setHeightinMetres(float height)
height
- The height of the device interface represented.public void setInterfaceHeightFromFloorinMetres(float interfaceHeightFromFloor)
height
- The height from the floor of the device interface
represented.public void setPixelWidth(float pixelWidth)
pixelWidth
- The pixel width of the interface represented in pixels.public void setRotation(float rotation)
rotation
- The rotation of the device interface represented.public void setTableID(java.lang.String tableID)
tableID
- The cluster ID of the device interface represented.public void setWidthinMetres(float width)
width
- The width of the device interface represented.public void setXinMetres(float x)
x
- The X value of the device interface represented's location.public void setYinMetres(float y)
y
- The Y value of the device interface represented's location.