com.mizar.metadata.mapviewer
Class MarkerStyle

java.lang.Object
  extended by com.mizar.metadata.mapviewer.Style
      extended by com.mizar.metadata.mapviewer.MarkerStyle

public class MarkerStyle
extends Style


Field Summary
static int MARKER_CIRCLE
           
static int MARKER_POLYGON
           
static int MARKER_POLYLINE
           
static int MARKER_RECT
           
 
Fields inherited from class com.mizar.metadata.mapviewer.Style
COLOR, fillColor, MARKER, name, strokeColor, type
 
Constructor Summary
MarkerStyle()
           
MarkerStyle(java.lang.String name, int mktype, java.lang.String strokeColor, java.lang.String fillColor, java.lang.String markerWidth, java.lang.String markerHeight, java.lang.String coords, java.lang.String radius)
           
MarkerStyle(java.lang.String name, java.lang.String strokeColor, java.lang.String fillColor, java.lang.Double radius)
           
 
Method Summary
 void add(oracle.lbs.mapclient.MapViewer mv)
           
 java.lang.String getCoords()
           
 java.lang.String getMarkerHeight()
           
 java.lang.String getMarkerWidth()
           
 int getMktype()
           
 java.lang.String getRadius()
           
 void setCoords(java.lang.String coords)
           
 void setMarkerHeight(java.lang.String markerHeight)
           
 void setMarkerWidth(java.lang.String markerWidth)
           
 void setMktype(int mktype)
           
 void setRadius(java.lang.String radius)
           
 
Methods inherited from class com.mizar.metadata.mapviewer.Style
getFillColor, getName, getStrokeColor, getType, setFillColor, setName, setStrokeColor, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MARKER_POLYGON

public static final int MARKER_POLYGON
See Also:
Constant Field Values

MARKER_POLYLINE

public static final int MARKER_POLYLINE
See Also:
Constant Field Values

MARKER_CIRCLE

public static final int MARKER_CIRCLE
See Also:
Constant Field Values

MARKER_RECT

public static final int MARKER_RECT
See Also:
Constant Field Values
Constructor Detail

MarkerStyle

public MarkerStyle()

MarkerStyle

public MarkerStyle(java.lang.String name,
                   int mktype,
                   java.lang.String strokeColor,
                   java.lang.String fillColor,
                   java.lang.String markerWidth,
                   java.lang.String markerHeight,
                   java.lang.String coords,
                   java.lang.String radius)
Parameters:
name - the name of the new style
mktype - the marker type
strokeColor - stroke color value
fillColor - fill color value
markerWidth - marker width (null for circle)
markerHeight - marker height (null for circle)
coords - the coordinates that define the vector marker (null for circle).
radius - used for marker of type "circle"

MarkerStyle

public MarkerStyle(java.lang.String name,
                   java.lang.String strokeColor,
                   java.lang.String fillColor,
                   java.lang.Double radius)
Method Detail

add

public void add(oracle.lbs.mapclient.MapViewer mv)
         throws java.lang.Exception
Throws:
java.lang.Exception

setMktype

public void setMktype(int mktype)

getMktype

public int getMktype()

setMarkerWidth

public void setMarkerWidth(java.lang.String markerWidth)

getMarkerWidth

public java.lang.String getMarkerWidth()

setMarkerHeight

public void setMarkerHeight(java.lang.String markerHeight)

getMarkerHeight

public java.lang.String getMarkerHeight()

setCoords

public void setCoords(java.lang.String coords)

getCoords

public java.lang.String getCoords()

setRadius

public void setRadius(java.lang.String radius)

getRadius

public java.lang.String getRadius()