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

java.lang.Object
  extended by com.partnersoft.v3x.io.formats.rover.RoverForRoverReader
All Implemented Interfaces:
RoverActor, RoverConstants

public class RoverForRoverReader
extends java.lang.Object
implements RoverActor

This is the RoverForRoverReader class which implements RoverActor. This class can be used for RoverReader object May 23rd, 2006.


Field Summary
 
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
RoverForRoverReader()
           
 
Method Summary
 void close()
          Draw an elliptical arc with the given style.
 void drawPoint(int styleCode, int dataType, int dataID, float x, float y, float rotation, int offsetX, int offsetY)
          Draw a point with the given style.
 void drawPolyline(int styleCode, int dataType, int recordID, int numPoints, FloatBuffer coords)
          If the reader is reading in bulk mode this is called for each polyline.
 void drawText(int styleCode, int dataType, int dataID, float x, float y, float rotation, CharBuffer text, int offsetX, int offsetY)
          Draw some text with the given style.
 void drawText(int styleCode, int dataType, int dataID, float x, float y, float rotation, int offsetX, int offsetY, int justification, CharBuffer text)
          Draw some text with the given style.
 java.util.ArrayList getCoords()
          returns an ArrayList of floating points.
 boolean isLine()
          returns boolean isLine to figure out processed data is line or not.
 boolean isStyleVisible(int styleCode)
          This method must be implemented to Enable this Class to read rover data.
 void setCoords(java.util.ArrayList eerie)
          sets the ArrayList to an ArrayList of floating points.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoverForRoverReader

public RoverForRoverReader()
Method Detail

isStyleVisible

public boolean isStyleVisible(int styleCode)
This method must be implemented to Enable this Class to read rover data.

Specified by:
isStyleVisible in interface RoverActor
Parameters:
styleCode - This is an int.
Returns:
boolean

drawPoint

public void drawPoint(int styleCode,
                      int dataType,
                      int dataID,
                      float x,
                      float y,
                      float rotation,
                      int offsetX,
                      int offsetY)
Draw a point with the given style. Not implemented in this class yet.

Specified by:
drawPoint in interface RoverActor

drawText

public void drawText(int styleCode,
                     int dataType,
                     int dataID,
                     float x,
                     float y,
                     float rotation,
                     CharBuffer text,
                     int offsetX,
                     int offsetY)
Draw some text with the given style. Not implemented in this class yet.

Specified by:
drawText in interface RoverActor

drawText

public void drawText(int styleCode,
                     int dataType,
                     int dataID,
                     float x,
                     float y,
                     float rotation,
                     int offsetX,
                     int offsetY,
                     int justification,
                     CharBuffer text)
Draw some text with the given style. Not implemented in this class yet.

Specified by:
drawText in interface RoverActor

drawPolyline

public void drawPolyline(int styleCode,
                         int dataType,
                         int recordID,
                         int numPoints,
                         FloatBuffer coords)
If the reader is reading in bulk mode this is called for each polyline.

Specified by:
drawPolyline in interface RoverActor

close

public void close()
Draw an elliptical arc with the given style. (not implemented yet)

Specified by:
close in interface RoverActor

setCoords

public void setCoords(java.util.ArrayList eerie)
sets the ArrayList to an ArrayList of floating points.


getCoords

public java.util.ArrayList getCoords()
returns an ArrayList of floating points.

Returns:
ArrayList

isLine

public boolean isLine()
returns boolean isLine to figure out processed data is line or not.

Returns:
boolean