|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.ows.acetate.AcetateEnvelope
A graphic object that can be drawn onto an acetate layer of an IMF map. TODO: Add pattern symbolization.
| Constructor Summary | |
AcetateEnvelope()
Creates new AcetateEnvelope. |
|
AcetateEnvelope(double x1,
double y1,
double x2,
double y2)
Creates new AcetateEnvelope using four double values |
|
AcetateEnvelope(Envelope env)
Creates new AcetateEnvelope using an envelope. |
|
| Method Summary | |
java.lang.Object |
clone()
Creates a clone of this object. |
void |
draw(java.awt.Graphics2D graphics,
java.awt.geom.AffineTransform pageTransform,
java.util.Locale locale)
Draws the graphic on the specified graphics device. |
AcetateEnvelope |
getCopy()
Creates a copy of this object. |
java.lang.String |
getName()
Gets the progammer specified name for this object. |
java.lang.Object |
getObjectTag()
Gets the object tag. |
int |
getObjectType()
Gets the object type enumerator. |
java.lang.String |
getProperty(java.lang.String name)
Gets the value of a property. |
java.lang.String[] |
getPropertyNames()
Returns a Set containing the property names. |
Geometry |
getShape()
Gets the geometry of this object. |
boolean |
hasProperties()
Returns an indicator of whether the object has programmer defined properties. |
boolean |
isNamed(java.lang.String name)
Returns an indicator of whether this object is named the same as the parameter. |
void |
setEnvelope(double x1,
double y1,
double x2,
double y2)
Sets the rectangle to be drawn. |
void |
setEnvelope(Envelope env)
Sets the rectangle to be drawn. |
void |
setFillColor(java.awt.Color color)
Sets the fill color of this object. |
void |
setName(java.lang.String name)
Sets a name for this object. |
void |
setObjectTag(java.lang.Object tag)
Sets an object tag for this object. |
void |
setOutlineColor(java.awt.Color color)
Sets the outline color of this object. |
void |
setOutlineWidth(float width)
Sets the line width of the outline. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets the value of a property (programmer defined). |
void |
setUnits(int units)
Sets the units of the acetate object. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AcetateEnvelope()
public AcetateEnvelope(Envelope env)
env - The envelope.
public AcetateEnvelope(double x1,
double y1,
double x2,
double y2)
x1 - The minimum X value.y1 - The minimum Y value.x2 - The maximum X value.y2 - The maximum Y value.| Method Detail |
public java.lang.Object clone()
clone in interface AcetateObjectpublic AcetateEnvelope getCopy()
public void draw(java.awt.Graphics2D graphics,
java.awt.geom.AffineTransform pageTransform,
java.util.Locale locale)
draw in interface AcetateObjectgraphics - The graphics.pageTransform - The page to map coordinate transformation matrix.locale - The locale, null OK, not used by this routine.public void setEnvelope(Envelope env)
env - The rectangle.
public void setEnvelope(double x1,
double y1,
double x2,
double y2)
x1 - The minimum X coordinate value.y1 - The minimum Y coordinate value.x2 - The maximum X coordinate value.y2 - The maximum Y coordinate value.public void setFillColor(java.awt.Color color)
color - The fill color.public boolean isNamed(java.lang.String name)
isNamed in interface AcetateObjectname - The name.
public void setName(java.lang.String name)
name - A programmer specified name for this object.public java.lang.String getName()
getName in interface AcetateObjectpublic void setObjectTag(java.lang.Object tag)
setObjectTag in interface AcetateObjecttag - A programmer defined element to associate with this object.public java.lang.Object getObjectTag()
getObjectTag in interface AcetateObjectpublic int getObjectType()
getObjectType in interface AcetateObjectpublic void setOutlineColor(java.awt.Color color)
color - The outline color.public void setOutlineWidth(float width)
width - The line width.public java.lang.String getProperty(java.lang.String name)
getProperty in interface AcetateObjectname - The property name
public void setProperty(java.lang.String name,
java.lang.String value)
setProperty in interface AcetateObjectname - The property namevalue - The property value.public java.lang.String[] getPropertyNames()
getPropertyNames in interface AcetateObjectpublic boolean hasProperties()
hasProperties in interface AcetateObjectpublic Geometry getShape()
getShape in interface AcetateObjectpublic void setUnits(int units)
units - The units of the acetate object, either
AcetateObjectUnitsType.ACETATE_OBJECT_UNITS_PIXEL
or AcetateObjectUnitsType.ACETATE_OBJECT_UNITS_DATABASE
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||