Package fr.ifremer.isisfish.map
Class Motif
java.lang.Object
fr.ifremer.isisfish.map.Motif
- All Implemented Interfaces:
Serializable
A Motif that represents how to draw a DataMap on the map. A factor
is applied to the graphic according to the DataMap value and the maximum
DataMap value.
Created: Mon Apr 22 16:31:39 2002
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createOMDataMap
(com.bbn.openmap.proj.Projection proj, com.bbn.openmap.omGraphics.OMGraphicList omlist, Scale sc, DataMap datamap) Create a graphical object corresponding to this DataMap.float
getAlpha()
Get the value of alpha.Get the value of fillColor.float
Get the value of height.Get the value of lineColor.float
getWidth()
Get the value of width.void
setAlpha
(float v) Set the value of alpha.void
setCellDimension
(float width, float height) Set the width and the height of a cell for this Motif May be more accurate in the DataMap ???void
Set the value of fillColor.void
setHeight
(float v) Set the value of height.void
Set the value of lineColor.void
setWidth
(float v) Set the value of width.
-
Field Details
-
defaultLineColor
-
defaultFillcolor
-
defaultAlpha
public static final float defaultAlpha- See Also:
-
defaultLineColorString
The default line color. (black)- See Also:
-
defaultFillColorString
The default fill color. (none)- See Also:
-
lineColor
-
fillColor
-
alpha
protected float alpha -
width
protected float width -
height
protected float height
-
-
Constructor Details
-
Motif
-
Motif
-
Motif
-
Motif
public Motif()
-
-
Method Details
-
getLineColor
Get the value of lineColor.- Returns:
- Value of lineColor.
-
setLineColor
Set the value of lineColor.- Parameters:
v
- Value to assign to lineColor.
-
getFillColor
Get the value of fillColor.- Returns:
- Value of fillColor.
-
setFillColor
Set the value of fillColor.- Parameters:
v
- Value to assign to fillColor.
-
getAlpha
public float getAlpha()Get the value of alpha.- Returns:
- Value of alpha.
-
setAlpha
public void setAlpha(float v) Set the value of alpha.- Parameters:
v
- Value to assign to alpha.
-
getWidth
public float getWidth()Get the value of width.- Returns:
- Value of width.
-
setWidth
public void setWidth(float v) Set the value of width.- Parameters:
v
- Value to assign to width.
-
getHeight
public float getHeight()Get the value of height.- Returns:
- Value of height.
-
setHeight
public void setHeight(float v) Set the value of height.- Parameters:
v
- Value to assign to height.
-
setCellDimension
public void setCellDimension(float width, float height) Set the width and the height of a cell for this Motif May be more accurate in the DataMap ???- Parameters:
width
- Cell width in radianheight
- Cell height in radian
-
createOMDataMap
protected void createOMDataMap(com.bbn.openmap.proj.Projection proj, com.bbn.openmap.omGraphics.OMGraphicList omlist, Scale sc, DataMap datamap) Create a graphical object corresponding to this DataMap.
-