|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.ifremer.isisfish.map.Motif
public class Motif
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 | |
|---|---|
protected float |
alpha
|
static float |
defaultAlpha
|
static java.awt.Color |
defaultFillcolor
|
static java.lang.String |
defaultFillColorString
The default fill color. |
static java.awt.Color |
defaultLineColor
|
static java.lang.String |
defaultLineColorString
The default line color. |
protected java.awt.Color |
fillColor
|
protected float |
height
|
protected java.awt.Color |
lineColor
|
protected float |
width
|
| Constructor Summary | |
|---|---|
Motif()
|
|
Motif(java.awt.Color fill)
|
|
Motif(java.awt.Color fill,
java.awt.Color line,
float alpha)
|
|
Motif(java.awt.Color fill,
float alpha)
|
|
| Method Summary | |
|---|---|
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. |
float |
getAlpha()
Get the value of alpha. |
java.awt.Color |
getFillColor()
Get the value of fillColor. |
float |
getHeight()
Get the value of height. |
java.awt.Color |
getLineColor()
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 |
setFillColor(java.awt.Color v)
Set the value of fillColor. |
void |
setHeight(float v)
Set the value of height. |
void |
setLineColor(java.awt.Color v)
Set the value of lineColor. |
void |
setWidth(float v)
Set the value of width. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.awt.Color defaultLineColor
public static final java.awt.Color defaultFillcolor
public static final float defaultAlpha
public static final java.lang.String defaultLineColorString
public static final java.lang.String defaultFillColorString
protected java.awt.Color lineColor
protected java.awt.Color fillColor
protected float alpha
protected float width
protected float height
| Constructor Detail |
|---|
public Motif(java.awt.Color fill,
java.awt.Color line,
float alpha)
public Motif(java.awt.Color fill,
float alpha)
public Motif(java.awt.Color fill)
public Motif()
| Method Detail |
|---|
public java.awt.Color getLineColor()
public void setLineColor(java.awt.Color v)
v - Value to assign to lineColor.public java.awt.Color getFillColor()
public void setFillColor(java.awt.Color v)
v - Value to assign to fillColor.public float getAlpha()
public void setAlpha(float v)
v - Value to assign to alpha.public float getWidth()
public void setWidth(float v)
v - Value to assign to width.public float getHeight()
public void setHeight(float v)
v - Value to assign to height.
public void setCellDimension(float width,
float height)
width - Cell width in radianheight - Cell height in radian
protected void createOMDataMap(com.bbn.openmap.proj.Projection proj,
com.bbn.openmap.omGraphics.OMGraphicList omlist,
Scale sc,
DataMap datamap)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||