com.partnersoft.maps.rover
Class RoverConstants

java.lang.Object
  extended by com.partnersoft.maps.rover.RoverConstants
All Implemented Interfaces:
Constants

public class RoverConstants
extends java.lang.Object
implements Constants

Funny numbers used in Rover binary formats.

Generally you should use the enums RoverShapeType, RoverAlignment, etc. rather than these codes directly. However low-level code benefits from direct access to these numbers.

Note that these codes are only valid for the current version of the Rover format, and are not necessarily valid for older formats or backwards-compatible.

Copyright 2008 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Field Summary
static byte ALIGNMENT_BOTTOM_CENTER
          Bottom-center, or south, alignment code.
static byte ALIGNMENT_BOTTOM_FIT
          Bottom-fit alignment code.
static byte ALIGNMENT_BOTTOM_LEFT
          Bottom-left, or southwest, alignment code.
static byte ALIGNMENT_BOTTOM_RIGHT
          Bottom-right, or southeast, alignment code.
static byte ALIGNMENT_CENTER
          Alignment centered in both dimensions.
static byte ALIGNMENT_CENTER_FIT
          Centered in X, fit in Y.
static byte ALIGNMENT_CENTER_LEFT
          Center-left, or west, alignment code.
static byte ALIGNMENT_CENTER_RIGHT
          Center-right, or east, alignment code.
static byte ALIGNMENT_CODE_CENTER
          Four-bit one-dimensional alignment code for center.
static byte ALIGNMENT_CODE_FIT
          Four-bit one-dimensional alignment code for fit (justify).
static byte ALIGNMENT_CODE_HIGH
          Four-bit one-dimensional alignment code for high.
static byte ALIGNMENT_CODE_LOW
          Four-bit one-dimensional alignment code for low.
static byte ALIGNMENT_FIT
          Alignment stretched to fit or justified in both dimensions.
static byte ALIGNMENT_FIT_CENTER
          Fit in X, center in Y.
static byte ALIGNMENT_FIT_LEFT
          Left-fit alignment code.
static byte ALIGNMENT_FIT_RIGHT
          Right-fit alignment code.
static byte ALIGNMENT_TOP_CENTER
          Top-center, or north, alignment code.
static byte ALIGNMENT_TOP_FIT
          Top-fit alignment code.
static byte ALIGNMENT_TOP_LEFT
          Top-left, or northwest, alignment code.
static byte ALIGNMENT_TOP_RIGHT
          Top-right, or northeast, alignment code.
static int SHAPE_TYPE_AREA
           
static int SHAPE_TYPE_IMAGE
           
static int SHAPE_TYPE_LINE
           
static int SHAPE_TYPE_POINT
           
static int SHAPE_TYPE_TEXT
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHAPE_TYPE_IMAGE

public static final int SHAPE_TYPE_IMAGE
See Also:
Constant Field Values

SHAPE_TYPE_AREA

public static final int SHAPE_TYPE_AREA
See Also:
Constant Field Values

SHAPE_TYPE_LINE

public static final int SHAPE_TYPE_LINE
See Also:
Constant Field Values

SHAPE_TYPE_POINT

public static final int SHAPE_TYPE_POINT
See Also:
Constant Field Values

SHAPE_TYPE_TEXT

public static final int SHAPE_TYPE_TEXT
See Also:
Constant Field Values

ALIGNMENT_CODE_CENTER

public static final byte ALIGNMENT_CODE_CENTER
Four-bit one-dimensional alignment code for center.

See Also:
Constant Field Values

ALIGNMENT_CODE_LOW

public static final byte ALIGNMENT_CODE_LOW
Four-bit one-dimensional alignment code for low.

See Also:
Constant Field Values

ALIGNMENT_CODE_HIGH

public static final byte ALIGNMENT_CODE_HIGH
Four-bit one-dimensional alignment code for high.

See Also:
Constant Field Values

ALIGNMENT_CODE_FIT

public static final byte ALIGNMENT_CODE_FIT
Four-bit one-dimensional alignment code for fit (justify).

See Also:
Constant Field Values

ALIGNMENT_CENTER

public static final byte ALIGNMENT_CENTER
Alignment centered in both dimensions.

See Also:
Constant Field Values

ALIGNMENT_FIT

public static final byte ALIGNMENT_FIT
Alignment stretched to fit or justified in both dimensions.

See Also:
Constant Field Values

ALIGNMENT_BOTTOM_LEFT

public static final byte ALIGNMENT_BOTTOM_LEFT
Bottom-left, or southwest, alignment code.

See Also:
Constant Field Values

ALIGNMENT_CENTER_LEFT

public static final byte ALIGNMENT_CENTER_LEFT
Center-left, or west, alignment code.

See Also:
Constant Field Values

ALIGNMENT_TOP_LEFT

public static final byte ALIGNMENT_TOP_LEFT
Top-left, or northwest, alignment code.

See Also:
Constant Field Values

ALIGNMENT_BOTTOM_RIGHT

public static final byte ALIGNMENT_BOTTOM_RIGHT
Bottom-right, or southeast, alignment code.

See Also:
Constant Field Values

ALIGNMENT_CENTER_RIGHT

public static final byte ALIGNMENT_CENTER_RIGHT
Center-right, or east, alignment code.

See Also:
Constant Field Values

ALIGNMENT_TOP_RIGHT

public static final byte ALIGNMENT_TOP_RIGHT
Top-right, or northeast, alignment code.

See Also:
Constant Field Values

ALIGNMENT_BOTTOM_CENTER

public static final byte ALIGNMENT_BOTTOM_CENTER
Bottom-center, or south, alignment code.

See Also:
Constant Field Values

ALIGNMENT_TOP_CENTER

public static final byte ALIGNMENT_TOP_CENTER
Top-center, or north, alignment code.

See Also:
Constant Field Values

ALIGNMENT_BOTTOM_FIT

public static final byte ALIGNMENT_BOTTOM_FIT
Bottom-fit alignment code.

See Also:
Constant Field Values

ALIGNMENT_TOP_FIT

public static final byte ALIGNMENT_TOP_FIT
Top-fit alignment code.

See Also:
Constant Field Values

ALIGNMENT_FIT_LEFT

public static final byte ALIGNMENT_FIT_LEFT
Left-fit alignment code.

See Also:
Constant Field Values

ALIGNMENT_FIT_RIGHT

public static final byte ALIGNMENT_FIT_RIGHT
Right-fit alignment code.

See Also:
Constant Field Values

ALIGNMENT_CENTER_FIT

public static final byte ALIGNMENT_CENTER_FIT
Centered in X, fit in Y.

See Also:
Constant Field Values

ALIGNMENT_FIT_CENTER

public static final byte ALIGNMENT_FIT_CENTER
Fit in X, center in Y.

See Also:
Constant Field Values