com.bbn.openmap.omGraphics
Interface OMGraphicConstants

All Known Implementing Classes:
BasicGeometry, EsriPoint, EsriShapeExport, GraphicAttributes, OMAction, OMGraphic

public interface OMGraphicConstants

An interface that contains all the constants associated with OMGraphics.


Field Summary
static int ADD_GRAPHIC_MASK
          Graphic action descriptor mask - add a graphic.
static java.awt.Stroke BASIC_STROKE
          A Basic Stroke.
static java.awt.Color clear
          A transparent color.
static int DECIMAL_DEGREES
          The float coordinates are in decimal degrees.
static int DECLUTTERTYPE_LINE
          The graphic should be moved if it is going to share window space with another graphic, and a line should be drawn from the new position to the original position.
static int DECLUTTERTYPE_MOVE
          The graphic should be moved if it is going to share window space with another graphic.
static int DECLUTTERTYPE_NONE
          The graphic should not be moved or be considered in the placement of other graphics.
static int DECLUTTERTYPE_SPACE
          The graphic should not be moved, but its position should be considered when placing other graphics.
static double DEFAULT_ROTATIONANGLE
          The default rotation andle to use for java.awt.Graphics2D objects.
static int DELETE_GRAPHIC_MASK
          Graphic action descriptor mask - delete the graphic.
static int DESELECT_GRAPHIC_MASK
          Graphic action descriptor mask - deselect the graphic.
static int DESELECTALL_GRAPHIC_MASK
          Graphic action descriptor mask - deselect all graphics.
static int GRAPHICTYPE_ARC
          An arc type - OMArc.
static int GRAPHICTYPE_BITMAP
          A bitmap type - OMBitmap.
static int GRAPHICTYPE_CIRCLE
          A ellipse/circle type - OMCircle.
static int GRAPHICTYPE_GRAPHIC
          The generic graphic type.
static int GRAPHICTYPE_GRID
          A grid type - OMGrid.
static int GRAPHICTYPE_LINE
          A line type - OMLine.
static int GRAPHICTYPE_POINT
          A point type - OMPoint
static int GRAPHICTYPE_POLY
          A polygon/polyline type - OMPoly.
static int GRAPHICTYPE_RASTER
          A raster type - OMRaster.
static int GRAPHICTYPE_RECTANGLE
          A rectangle type - OMRect.
static int GRAPHICTYPE_TEXT
          A text type - OMText.
static java.lang.String INFOLINE
          A string that can be used for a keyword into the OMGraphic attribute hashtable to designate something that would be displayed on the InformationDelegator's information line for an OMGraphic.
static java.lang.String LABEL
          A string that can be used for a keyword into the OMGraphic attribute hashtable to designate something that would be displayed as a label for an OMGraphic.
static int LINETYPE_GREATCIRCLE
          Line will be drawn on the shortest geographical path between two locations.
static int LINETYPE_RHUMB
          Line will be drawn on a constant bearing between two points.
static int LINETYPE_STRAIGHT
          Line will be drawn straight between window points.
static int LINETYPE_UNKNOWN
          Line type is unknown.
static int LOWER_GRAPHIC_MASK
          Graphic action descriptor mask - lower down relative to other graphics by one.
static int LOWER_TO_BOTTOM_GRAPHIC_MASK
          Graphic action descriptor mask - lower graphics below others.
static int RADIANS
          The float coordinates are in radians.
static int RAISE_GRAPHIC_MASK
          Graphic action descriptor mask - raise the graphic relative to others by one.
static int RAISE_TO_TOP_GRAPHIC_MASK
          Graphic action descriptor mask - raise the graphic on top of others.
static int RENDERTYPE_LATLON
          The graphic should be projected relative to its lat/lon position.
static int RENDERTYPE_OFFSET
          The graphic should be projected in window space relative to a lat/lon position.
static int RENDERTYPE_UNKNOWN
          Render type is unknown.
static int RENDERTYPE_XY
          The graphic should be projected relative to its window position.
static int SELECT_GRAPHIC_MASK
          Graphic action descriptor mask - select the graphic.
static int SORT_GRAPHICS_MASK
          Graphic action descriptor mask - sort the graphics.
static java.lang.String TOOLTIP
          A string that can be used for a keyword into the OMGraphic attribute hashtable to designate a tooltip for an OMGraphic.
static int UPDATE_GRAPHIC_MASK
          Graphic action descriptor mask - update the graphic.
 

Field Detail

LINETYPE_UNKNOWN

public static final int LINETYPE_UNKNOWN
Line type is unknown.

See Also:
Constant Field Values

LINETYPE_STRAIGHT

public static final int LINETYPE_STRAIGHT
Line will be drawn straight between window points.

See Also:
Constant Field Values

LINETYPE_RHUMB

public static final int LINETYPE_RHUMB
Line will be drawn on a constant bearing between two points.

See Also:
Constant Field Values

LINETYPE_GREATCIRCLE

public static final int LINETYPE_GREATCIRCLE
Line will be drawn on the shortest geographical path between two locations.

See Also:
Constant Field Values

RENDERTYPE_UNKNOWN

public static final int RENDERTYPE_UNKNOWN
Render type is unknown.

See Also:
Constant Field Values

RENDERTYPE_LATLON

public static final int RENDERTYPE_LATLON
The graphic should be projected relative to its lat/lon position.

See Also:
Constant Field Values

RENDERTYPE_XY

public static final int RENDERTYPE_XY
The graphic should be projected relative to its window position.

See Also:
Constant Field Values

RENDERTYPE_OFFSET

public static final int RENDERTYPE_OFFSET
The graphic should be projected in window space relative to a lat/lon position.

See Also:
Constant Field Values

DECLUTTERTYPE_NONE

public static final int DECLUTTERTYPE_NONE
The graphic should not be moved or be considered in the placement of other graphics.

See Also:
Constant Field Values

DECLUTTERTYPE_SPACE

public static final int DECLUTTERTYPE_SPACE
The graphic should not be moved, but its position should be considered when placing other graphics.

See Also:
Constant Field Values

DECLUTTERTYPE_MOVE

public static final int DECLUTTERTYPE_MOVE
The graphic should be moved if it is going to share window space with another graphic.

See Also:
Constant Field Values

DECLUTTERTYPE_LINE

public static final int DECLUTTERTYPE_LINE
The graphic should be moved if it is going to share window space with another graphic, and a line should be drawn from the new position to the original position.

See Also:
Constant Field Values

GRAPHICTYPE_GRAPHIC

public static final int GRAPHICTYPE_GRAPHIC
The generic graphic type.

See Also:
Constant Field Values

GRAPHICTYPE_BITMAP

public static final int GRAPHICTYPE_BITMAP
A bitmap type - OMBitmap.

See Also:
Constant Field Values

GRAPHICTYPE_TEXT

public static final int GRAPHICTYPE_TEXT
A text type - OMText.

See Also:
Constant Field Values

GRAPHICTYPE_POLY

public static final int GRAPHICTYPE_POLY
A polygon/polyline type - OMPoly.

See Also:
Constant Field Values

GRAPHICTYPE_LINE

public static final int GRAPHICTYPE_LINE
A line type - OMLine.

See Also:
Constant Field Values

GRAPHICTYPE_RECTANGLE

public static final int GRAPHICTYPE_RECTANGLE
A rectangle type - OMRect.

See Also:
Constant Field Values

GRAPHICTYPE_CIRCLE

public static final int GRAPHICTYPE_CIRCLE
A ellipse/circle type - OMCircle.

See Also:
Constant Field Values

GRAPHICTYPE_RASTER

public static final int GRAPHICTYPE_RASTER
A raster type - OMRaster.

See Also:
Constant Field Values

GRAPHICTYPE_GRID

public static final int GRAPHICTYPE_GRID
A grid type - OMGrid.

See Also:
Constant Field Values

GRAPHICTYPE_POINT

public static final int GRAPHICTYPE_POINT
A point type - OMPoint

See Also:
Constant Field Values

GRAPHICTYPE_ARC

public static final int GRAPHICTYPE_ARC
An arc type - OMArc.

See Also:
Constant Field Values

DECIMAL_DEGREES

public static final int DECIMAL_DEGREES
The float coordinates are in decimal degrees. Should not be used - switching over to com.bbn.openmap.proj.Length.

See Also:
Constant Field Values

RADIANS

public static final int RADIANS
The float coordinates are in radians. Should not be used - switching over to com.bbn.openmap.proj.Length.

See Also:
Constant Field Values

clear

public static final java.awt.Color clear
A transparent color.


BASIC_STROKE

public static final java.awt.Stroke BASIC_STROKE
A Basic Stroke.


DEFAULT_ROTATIONANGLE

public static final double DEFAULT_ROTATIONANGLE
The default rotation andle to use for java.awt.Graphics2D objects.

See Also:
Constant Field Values

RAISE_TO_TOP_GRAPHIC_MASK

public static final int RAISE_TO_TOP_GRAPHIC_MASK
Graphic action descriptor mask - raise the graphic on top of others.

See Also:
Constant Field Values

LOWER_TO_BOTTOM_GRAPHIC_MASK

public static final int LOWER_TO_BOTTOM_GRAPHIC_MASK
Graphic action descriptor mask - lower graphics below others.

See Also:
Constant Field Values

DELETE_GRAPHIC_MASK

public static final int DELETE_GRAPHIC_MASK
Graphic action descriptor mask - delete the graphic.

See Also:
Constant Field Values

SELECT_GRAPHIC_MASK

public static final int SELECT_GRAPHIC_MASK
Graphic action descriptor mask - select the graphic.

See Also:
Constant Field Values

DESELECT_GRAPHIC_MASK

public static final int DESELECT_GRAPHIC_MASK
Graphic action descriptor mask - deselect the graphic.

See Also:
Constant Field Values

DESELECTALL_GRAPHIC_MASK

public static final int DESELECTALL_GRAPHIC_MASK
Graphic action descriptor mask - deselect all graphics.

See Also:
Constant Field Values

ADD_GRAPHIC_MASK

public static final int ADD_GRAPHIC_MASK
Graphic action descriptor mask - add a graphic.

See Also:
Constant Field Values

UPDATE_GRAPHIC_MASK

public static final int UPDATE_GRAPHIC_MASK
Graphic action descriptor mask - update the graphic. Really for client/server notification to update.

See Also:
Constant Field Values

RAISE_GRAPHIC_MASK

public static final int RAISE_GRAPHIC_MASK
Graphic action descriptor mask - raise the graphic relative to others by one.

See Also:
Constant Field Values

LOWER_GRAPHIC_MASK

public static final int LOWER_GRAPHIC_MASK
Graphic action descriptor mask - lower down relative to other graphics by one.

See Also:
Constant Field Values

SORT_GRAPHICS_MASK

public static final int SORT_GRAPHICS_MASK
Graphic action descriptor mask - sort the graphics. The sorting criteria depends on local criteria as implemented in the object doing the sorting.

See Also:
Constant Field Values

TOOLTIP

public static final java.lang.String TOOLTIP
A string that can be used for a keyword into the OMGraphic attribute hashtable to designate a tooltip for an OMGraphic. The layer would then look for a value for this keyword to display as a tooltip for an OMGraphic.

See Also:
Constant Field Values

INFOLINE

public static final java.lang.String INFOLINE
A string that can be used for a keyword into the OMGraphic attribute hashtable to designate something that would be displayed on the InformationDelegator's information line for an OMGraphic. The layer would then look for a value for this keyword to display in the information line for an OMGraphic.

See Also:
Constant Field Values

LABEL

public static final java.lang.String LABEL
A string that can be used for a keyword into the OMGraphic attribute hashtable to designate something that would be displayed as a label for an OMGraphic.

See Also:
Constant Field Values


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details