|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.AimsEnvelopeObject
Implementation of an ArcIMS envelope object which can be placed in an Acetate layer of a map. The AimsEnvelopeObject contains a symbol so that it can be placed on an acetate layer. If you need an Envelope for non-acetate purposes, use an AimsEnvelope instead.
| Field Summary |
| Constructor Summary | |
AimsEnvelopeObject()
Creates a new AimsEnvelopeObject with no arguments. |
|
AimsEnvelopeObject(AimsEnvelope env)
Creates a new AimsEnvelopeObject with an existing envelope argument. |
|
AimsEnvelopeObject(double x1,
double y1,
double x2,
double y2)
Creates an AimsEnvelopeObject using the minimum and maximum coordinates. |
|
| Method Summary | |
java.lang.Object |
clone()
Creates a copy of this envelope. |
int |
getAcetateObjectType()
Gets the acetate object type. |
AimsEnvelope |
getEnvelope()
Gets the envelope of the object. |
AimsEnvelope |
getExtent()
Gets the extent of the object. |
java.lang.Object |
getObjectTag()
Gets the object tag. |
java.lang.String |
getProperty(java.lang.String name)
Gets the value of a property. |
java.util.Set |
getPropertyNames()
Returns a Set containing the property names. |
AimsEnvelope |
getShape()
Gets the shape geometry of the object. |
int |
getUnits()
Gets the units enumreation. |
java.lang.String |
getUnitsString()
Gets the units string, database or pixel. |
boolean |
hasProperties()
Returns an indicator of whether the object has programmer defined properties. |
boolean |
intersects(AimsShapeObject shape)
Returns an indicator whether this object intersects the specified geometry. |
void |
offsetBy(AimsPoint offset)
Offsets the points in the line by the x and y in a point. |
void |
setCoordsys(AimsCoordsys coordsys)
Sets the coordsys for this object. |
void |
setEnvelope(AimsEnvelope env)
Sets the envelope of the object. |
void |
setMaxScale(double scale,
AimsMap map)
Sets the value of attribute maxScale |
void |
setMaxScaleFactor(double unitsPerPixel)
Sets the value of attribute maxScaleFactor |
void |
setMinScale(double scale,
AimsMap map)
Sets the value of attribute minScale |
void |
setMinScaleFactor(double unitsPerPixel)
Sets the value of attribute minScaleFactor |
void |
setObjectTag(java.lang.Object tag)
Sets an object tag for this object. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets the value of a property (programmer defined). |
void |
setSymbol(AimsGradientFillSymbol sym)
Sets the symbol for the object. |
void |
setSymbol(AimsHashLineSymbol sym)
Sets the symbol for the object. |
void |
setSymbol(AimsRasterFillSymbol sym)
Sets the symbol for the object. |
void |
setSymbol(AimsRasterMarkerSymbol sym)
Sets the symbol for the object. |
void |
setSymbol(AimsSimpleLineSymbol sym)
Sets the symbol for the object. |
void |
setSymbol(AimsSimpleMarkerSymbol sym)
Sets the symbol for the object. |
void |
setSymbol(AimsSimplePolygonSymbol sym)
Sets the symbol for the object. |
void |
setSymbol(AimsTrueTypeMarkerSymbol sym)
Sets the symbol for the object. |
void |
setUnits(int units)
Sets the units of the acetate object. |
void |
setUnits(java.lang.String units)
Sets the units of the acetate object. |
java.lang.String |
toAxlString()
Returns the AXL string to refresh this object, using the default environment coordinate separators. |
java.lang.String |
toAxlString(AimsEnvironment env)
Returns the AXL string to refresh this object, using the coordinate separators in the specified environnment setting. |
java.lang.String |
toString()
Returns a text representation of of this object. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AimsEnvelopeObject()
public AimsEnvelopeObject(double x1,
double y1,
double x2,
double y2)
x1 - The minimum X coordinate valuey1 - The minimum Y coordinate valuex2 - The maximum X coordinate valuey2 - The maximum Y coordinate valuepublic AimsEnvelopeObject(AimsEnvelope env)
env - An envelope to set the envelope of this object| Method Detail |
public java.lang.String getProperty(java.lang.String name)
getProperty in interface AimsAcetateObjectname - The property name
public void setProperty(java.lang.String name,
java.lang.String value)
setProperty in interface AimsAcetateObjectname - The property namevalue - The property value.public java.util.Set getPropertyNames()
getPropertyNames in interface AimsAcetateObjectpublic boolean hasProperties()
hasProperties in interface AimsAcetateObjectpublic void setObjectTag(java.lang.Object tag)
setObjectTag in interface AimsAcetateObjecttag - A programmer defined element to associate with this object.public java.lang.Object getObjectTag()
getObjectTag in interface AimsAcetateObjectpublic java.lang.Object clone()
clone in interface AimsAcetateObjectpublic void offsetBy(AimsPoint offset)
offset - An AimsPoint object containing the offset.public void setCoordsys(AimsCoordsys coordsys)
coordsys - The coordsys for this object.
public void setMinScale(double scale,
AimsMap map)
scale - The map scale.map - The map used to calculate the scale factor.public void setMinScaleFactor(double unitsPerPixel)
unitsPerPixel - The value of minScaleFactor.
public void setMaxScale(double scale,
AimsMap map)
scale - The map scale.map - The map used to calculate the scale factor.public void setMaxScaleFactor(double unitsPerPixel)
unitsPerPixel - The value of maxScaleFactor.public AimsEnvelope getEnvelope()
public AimsEnvelope getExtent()
getExtent in interface AimsAcetateObjectpublic void setEnvelope(AimsEnvelope env)
env - An AimsEnvelope objectpublic void setSymbol(AimsGradientFillSymbol sym)
sym - The the symbol for the object.public void setSymbol(AimsHashLineSymbol sym)
sym - The the symbol for the object.public void setSymbol(AimsRasterFillSymbol sym)
sym - The the symbol for the object.public void setSymbol(AimsRasterMarkerSymbol sym)
sym - The the symbol for the object.public void setSymbol(AimsSimpleLineSymbol sym)
sym - The the symbol for the object.public void setSymbol(AimsSimpleMarkerSymbol sym)
sym - The the symbol for the object.public void setSymbol(AimsSimplePolygonSymbol sym)
sym - The the symbol for the object.public void setSymbol(AimsTrueTypeMarkerSymbol sym)
sym - The the symbol for the object.public java.lang.String toString()
public java.lang.String toAxlString()
toAxlString in interface AimsAcetateObjectpublic java.lang.String toAxlString(AimsEnvironment env)
toAxlString in interface AimsAcetateObjectenv - The environment object containing coordinate separators.
public int getAcetateObjectType()
getAcetateObjectType in interface AimsAcetateObjectpublic void setUnits(java.lang.String units)
units - The units of the acetate object. Valid values are
"pixel" and "database".public void setUnits(int units)
setUnits in interface AimsAcetateObjectunits - The units of the acetate object. Valid values are
AimsAcetateObject.ACETATE_OBJECT_UNITS_DATABASE or
AimsAcetateObject.ACETATE_OBJECT_UNITS_PIXEL.public int getUnits()
getUnits in interface AimsAcetateObjectpublic java.lang.String getUnitsString()
public AimsEnvelope getShape()
public boolean intersects(AimsShapeObject shape)
intersects in interface AimsAcetateObjectshape - The geometry to test.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||