|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.omGraphics.awt.AbstractShapeDecoration
com.bbn.openmap.omGraphics.meteo.ColdFrontShapeDecoration
public class ColdFrontShapeDecoration
A ShapeDecoration for meteorological cold fronts.
| Field Summary | |
|---|---|
static java.awt.Color |
COLOR
We use to draw them blue ! |
| Fields inherited from interface com.bbn.openmap.omGraphics.awt.ShapeDecoration |
|---|
LEFT, RIGHT |
| Constructor Summary | |
|---|---|
ColdFrontShapeDecoration(int length,
int width,
int orientation)
Constructor. |
|
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics g,
java.awt.geom.Point2D[] points,
boolean complete)
Draws itself along the specified polyline Called by ShapeDecorator |
boolean |
isFilled()
Returns the filled boolean. |
void |
setFilled(boolean filled)
Sets the filled (draw a polygon or a polyline ?). |
| Methods inherited from class com.bbn.openmap.omGraphics.awt.AbstractShapeDecoration |
|---|
getLength, getOrientation, getPaint, getStroke, getWidth, restoreGraphics, revert, setGraphics, setLength, setOrientation, setPaint, setStroke, setWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.awt.Color COLOR
| Constructor Detail |
|---|
public ColdFrontShapeDecoration(int length,
int width,
int orientation)
length - width - orientation - | Method Detail |
|---|
public void draw(java.awt.Graphics g,
java.awt.geom.Point2D[] points,
boolean complete)
ShapeDecoration
points - the polylinecomplete - true if the polyline length equals the
decoration lengthShapeDecoration.draw(Graphics,
Point2D[], boolean)public boolean isFilled()
public void setFilled(boolean filled)
filled - The filled to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||