com.partnersoft.v3x.io.formats.rover
Class RoverText

java.lang.Object
  extended by com.partnersoft.v3x.io.formats.rover.RoverGraphic
      extended by com.partnersoft.v3x.io.formats.rover.RoverPoint
          extended by com.partnersoft.v3x.io.formats.rover.RoverText
All Implemented Interfaces:
RoverConstants, java.io.Serializable

public class RoverText
extends RoverPoint

A structure representing a point in a rover file.

See Also:
Serialized Form

Field Summary
 int justification
           
 int offsetX
           
 int offsetY
           
 float rotation
           
 java.lang.String text
           
 
Fields inherited from class com.partnersoft.v3x.io.formats.rover.RoverPoint
x, y
 
Fields inherited from class com.partnersoft.v3x.io.formats.rover.RoverGraphic
dataID, dataType, styleCode
 
Fields inherited from interface com.partnersoft.v3x.io.formats.rover.RoverConstants
DRAW_JUSTIFIED_TEXT, DRAW_OFFSET_POINT, DRAW_OFFSET_TEXT, DRAW_POINT, DRAW_POLYGON, DRAW_POLYLINE, DRAW_TEXT, EOF, JUSTIFY_BASELINE_CENTER, JUSTIFY_BASELINE_LEFT, JUSTIFY_BASELINE_RIGHT, JUSTIFY_NOTSPECIFIED, OPCODE_TYPE_BOUNDARY, SIZE_DRAW_JUSTIFIED_TEXT_PREAMBLE, SIZE_DRAW_OFFSET_POINT, SIZE_DRAW_OFFSET_TEXT_CONCLUSION, SIZE_DRAW_OFFSET_TEXT_PREAMBLE, SIZE_DRAW_POINT, SIZE_DRAW_POLYLINE_PREAMBLE, SIZE_DRAW_TEXT_PREAMBLE, STYLE_REGION
 
Constructor Summary
RoverText()
           
RoverText(int styleCode, float x, float y, java.lang.String text)
           
RoverText(int styleCode, float x, float y, java.lang.String text, float rotation)
           
RoverText(int styleCode, float x, float y, java.lang.String text, float rotation, int dataType, int dataID)
           
 
Method Summary
 int getJustification()
           
 float getRotation()
           
 java.lang.String getText()
           
 boolean isOffset()
           
 void setJustification(int newJustification)
           
 void setJustification(java.lang.String newJustification)
           
 void setRotation(float newRotation)
           
 void setText(java.lang.String newText)
           
 
Methods inherited from class com.partnersoft.v3x.io.formats.rover.RoverPoint
getOffsetX, getOffsetY, getX, getY, setOffsetX, setOffsetY, setX, setY
 
Methods inherited from class com.partnersoft.v3x.io.formats.rover.RoverGraphic
getDataID, getDataType, getStyleCode, setDataID, setDataType, setStyleCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

public java.lang.String text

rotation

public float rotation

offsetX

public int offsetX

offsetY

public int offsetY

justification

public int justification
Constructor Detail

RoverText

public RoverText()

RoverText

public RoverText(int styleCode,
                 float x,
                 float y,
                 java.lang.String text)

RoverText

public RoverText(int styleCode,
                 float x,
                 float y,
                 java.lang.String text,
                 float rotation)

RoverText

public RoverText(int styleCode,
                 float x,
                 float y,
                 java.lang.String text,
                 float rotation,
                 int dataType,
                 int dataID)
Method Detail

isOffset

public boolean isOffset()

getText

public java.lang.String getText()

setText

public void setText(java.lang.String newText)

getRotation

public float getRotation()
Overrides:
getRotation in class RoverPoint

setRotation

public void setRotation(float newRotation)
Overrides:
setRotation in class RoverPoint

getJustification

public int getJustification()

setJustification

public void setJustification(int newJustification)

setJustification

public void setJustification(java.lang.String newJustification)