com.partnersoft.io.formats.rover
Interface RoverConstants

All Known Subinterfaces:
MapServerConstants
All Known Implementing Classes:
EZ2DGL, GLDrawingSurface, MapClient, MapDataGraphic, MapDataGraphicList, MapDataGraphicReader, MapDataGraphicWriter, MapDataPoint, MapDataPointColor, MapDataPolygon, MapDataPolyline, MapDataText, MapServer, MapViewPanel, Renderer, RenderingCodeUnroller, RoverBytes, RoverClass, RoverData, RoverGraphic, RoverGraphicStash, RoverLib, RoverPoint, RoverPointColor, RoverPolygon, RoverPolyline, RoverReader, RoverText, RoverTileSet, RoverWriter, SimplerRoverGraphicStash, TranslationLib

public interface RoverConstants

Various constants in the rover universe. Mainly defines type codes and type code flags.

Author:
Paul Reavis Copyright 2002 Partner Software, Inc.

Field Summary
static int ALIGN_BOTTOM_CENTER
           
static int ALIGN_BOTTOM_FIT
           
static int ALIGN_BOTTOM_LEFT
           
static int ALIGN_BOTTOM_RIGHT
           
static int ALIGN_CENTER
          We store the full code as a byte, with the high four bits containing the x axis code and the low four bits containing the y axis code.
static int ALIGN_CENTER_LEFT
           
static int ALIGN_CENTER_RIGHT
           
static int ALIGN_CODE_CENTER
          These are the basic codes.
static int ALIGN_CODE_FIT
           
static int ALIGN_CODE_HIGH
           
static int ALIGN_CODE_LOW
           
static int ALIGN_FIT
           
static int ALIGN_FIT_LEFT
           
static int ALIGN_FIT_RIGHT
           
static int ALIGN_TOP_CENTER
           
static int ALIGN_TOP_FIT
           
static int ALIGN_TOP_LEFT
           
static int ALIGN_TOP_RIGHT
           
static int COMMENT
           
static int DATA_FIELDS_MAX
          The maximum number of fields in a class.
static int EOF
          Basic theory: Rover is streaming vector graphic data consisting of chunks containing the same type and style of data.
static int FLOAT_COORDS
          Indicates that the xy coordinates are given as Float values rather than the default UInt8 texel coordinates.
static java.lang.String[] GEOMETRY_TYPE_NAMES
           
static int HAS_DATA
          Indicates that the data includes a UInt32 data ID.
static int HAS_OFFSET
          Indicates that the data includes Int8 x and y pixel offsets.
static int HAS_ROTATION
          Indicates that the data includes an Int8 rotation (expressed as signed units representing 1/256 of a circle; zero is due east (positive X axis).
static int LIST
           
static int MASK_TYPECODE
           
static int NAMING
           
static int POINT
           
static int POINT_COLOR
           
static int POLYGON
           
static int POLYLINE
           
static int POP
           
static int PUSH
           
static int RENDER_FINDITEM
           
static int RENDER_INDICATION
           
static int RENDER_NORMAL
          Render modes.
static int RENDER_SELECTION
           
static float ROTATION_MULT
          Converts from UInt8 rotation format to floating point radians.
static int TEXEL_COORD_MAX
          The maximum size of a texel coordinate.
static int TEXEL_COORD_SIZE
          Size of a texel coord in bits.
static int TEXT
           
static int TILE_COORD_MAX
          The maximum size of a tile coordinate.
static int TILE_SIZE_PIXELS
          This is multiplied by the minimum scale to get a tile size.
static int VALUE
           
 

Field Detail

EOF

static final int EOF
Basic theory: Rover is streaming vector graphic data consisting of chunks containing the same type and style of data. Each chunk is announced by an type code and flags, which tell you the format of the contents. This is followed by a count of the number of items in the contents. Finally the contents themselves are given.

See Also:
Constant Field Values

POINT

static final int POINT
See Also:
Constant Field Values

POLYLINE

static final int POLYLINE
See Also:
Constant Field Values

POLYGON

static final int POLYGON
See Also:
Constant Field Values

TEXT

static final int TEXT
See Also:
Constant Field Values

VALUE

static final int VALUE
See Also:
Constant Field Values

LIST

static final int LIST
See Also:
Constant Field Values

NAMING

static final int NAMING
See Also:
Constant Field Values

PUSH

static final int PUSH
See Also:
Constant Field Values

POP

static final int POP
See Also:
Constant Field Values

POINT_COLOR

static final int POINT_COLOR
See Also:
Constant Field Values

COMMENT

static final int COMMENT
See Also:
Constant Field Values

GEOMETRY_TYPE_NAMES

static final java.lang.String[] GEOMETRY_TYPE_NAMES

MASK_TYPECODE

static final int MASK_TYPECODE
See Also:
Constant Field Values

HAS_DATA

static final int HAS_DATA
Indicates that the data includes a UInt32 data ID.

See Also:
Constant Field Values

HAS_OFFSET

static final int HAS_OFFSET
Indicates that the data includes Int8 x and y pixel offsets. Currently only has meaning for points and text but lines could conceivably have it too.

See Also:
Constant Field Values

HAS_ROTATION

static final int HAS_ROTATION
Indicates that the data includes an Int8 rotation (expressed as signed units representing 1/256 of a circle; zero is due east (positive X axis). Only has meaning for points and text; could be reused for some other purpose for lines.

See Also:
Constant Field Values

FLOAT_COORDS

static final int FLOAT_COORDS
Indicates that the xy coordinates are given as Float values rather than the default UInt8 texel coordinates.

See Also:
Constant Field Values

ROTATION_MULT

static final float ROTATION_MULT
Converts from UInt8 rotation format to floating point radians.

See Also:
Constant Field Values

TEXEL_COORD_SIZE

static final int TEXEL_COORD_SIZE
Size of a texel coord in bits. If you change this, change TEXEL_COORD_MAX too.

See Also:
Constant Field Values

TEXEL_COORD_MAX

static final int TEXEL_COORD_MAX
The maximum size of a texel coordinate.

See Also:
Constant Field Values

TILE_COORD_MAX

static final int TILE_COORD_MAX
The maximum size of a tile coordinate. Currently using unsigned shorts.

See Also:
Constant Field Values

TILE_SIZE_PIXELS

static final int TILE_SIZE_PIXELS
This is multiplied by the minimum scale to get a tile size. For 8-bit texels, it should be 256; for 16-bits it shouldn't be 65536 because the tiles get humongous. 4096 is probably right for 16-bit texels; that gives the Palm decent numbers to work with and some extra resolution for the desktop.

See Also:
Constant Field Values

DATA_FIELDS_MAX

static final int DATA_FIELDS_MAX
The maximum number of fields in a class.

See Also:
Constant Field Values

ALIGN_CODE_CENTER

static final int ALIGN_CODE_CENTER
These are the basic codes. We combine them to make a single byte containing separate X and Y alignments.

See Also:
Constant Field Values

ALIGN_CODE_LOW

static final int ALIGN_CODE_LOW
See Also:
Constant Field Values

ALIGN_CODE_HIGH

static final int ALIGN_CODE_HIGH
See Also:
Constant Field Values

ALIGN_CODE_FIT

static final int ALIGN_CODE_FIT
See Also:
Constant Field Values

ALIGN_CENTER

static final int ALIGN_CENTER
We store the full code as a byte, with the high four bits containing the x axis code and the low four bits containing the y axis code.

See Also:
Constant Field Values

ALIGN_FIT

static final int ALIGN_FIT
See Also:
Constant Field Values

ALIGN_BOTTOM_LEFT

static final int ALIGN_BOTTOM_LEFT
See Also:
Constant Field Values

ALIGN_CENTER_LEFT

static final int ALIGN_CENTER_LEFT
See Also:
Constant Field Values

ALIGN_TOP_LEFT

static final int ALIGN_TOP_LEFT
See Also:
Constant Field Values

ALIGN_BOTTOM_RIGHT

static final int ALIGN_BOTTOM_RIGHT
See Also:
Constant Field Values

ALIGN_CENTER_RIGHT

static final int ALIGN_CENTER_RIGHT
See Also:
Constant Field Values

ALIGN_TOP_RIGHT

static final int ALIGN_TOP_RIGHT
See Also:
Constant Field Values

ALIGN_BOTTOM_CENTER

static final int ALIGN_BOTTOM_CENTER
See Also:
Constant Field Values

ALIGN_TOP_CENTER

static final int ALIGN_TOP_CENTER
See Also:
Constant Field Values

ALIGN_BOTTOM_FIT

static final int ALIGN_BOTTOM_FIT
See Also:
Constant Field Values

ALIGN_TOP_FIT

static final int ALIGN_TOP_FIT
See Also:
Constant Field Values

ALIGN_FIT_LEFT

static final int ALIGN_FIT_LEFT
See Also:
Constant Field Values

ALIGN_FIT_RIGHT

static final int ALIGN_FIT_RIGHT
See Also:
Constant Field Values

RENDER_NORMAL

static final int RENDER_NORMAL
Render modes. May not really belong here, who knows.

See Also:
Constant Field Values

RENDER_FINDITEM

static final int RENDER_FINDITEM
See Also:
Constant Field Values

RENDER_INDICATION

static final int RENDER_INDICATION
See Also:
Constant Field Values

RENDER_SELECTION

static final int RENDER_SELECTION
See Also:
Constant Field Values