|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.ows.acetate.AcetateScalebar
| Field Summary |
| Fields inherited from interface com.moximedia.ows.types.AcetateObjectType |
ACETATE_OBJECT_TYPE_ENVELOPE, ACETATE_OBJECT_TYPE_IMAGE_MARKER, ACETATE_OBJECT_TYPE_LINE, ACETATE_OBJECT_TYPE_NORTHARROW, ACETATE_OBJECT_TYPE_POLYGON, ACETATE_OBJECT_TYPE_SCALEBAR, ACETATE_OBJECT_TYPE_SIMPLE_MARKER, ACETATE_OBJECT_TYPE_TEXT, ACETATE_OBJECT_TYPE_TEXT_MARKER |
| Fields inherited from interface com.moximedia.ows.types.AcetateObjectUnitsType |
ACETATE_OBJECT_UNITS_DATABASE, ACETATE_OBJECT_UNITS_PIXEL |
| Fields inherited from interface com.moximedia.ows.types.MeasureUnitsType |
MEASURE_UNITS_DECIMAL_DEGREES, MEASURE_UNITS_FEET, MEASURE_UNITS_IMPERIAL, MEASURE_UNITS_METERS, MEASURE_UNITS_METRES, MEASURE_UNITS_METRIC, MEASURE_UNITS_UNKNOWN, MEASURE_UNITS_US, MEASURE_UNITS_YARDS |
| Fields inherited from interface com.moximedia.ows.types.ScalebarUnitsType |
SCALEBAR_UNITS_FEET, SCALEBAR_UNITS_FEET_OR_MILES, SCALEBAR_UNITS_KILOMETERS, SCALEBAR_UNITS_METERS, SCALEBAR_UNITS_METERS_OR_KILOMETERS, SCALEBAR_UNITS_MILES, SCALEBAR_UNITS_NONE |
| Constructor Summary | |
AcetateScalebar()
Creates new AcetateText |
|
AcetateScalebar(double scale,
int mapUnits)
Creates new AcetateText |
|
AcetateScalebar(double scale,
int mapUnits,
int scalebarUnits)
Creates new AcetateText |
|
| 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. |
AcetateScalebar |
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()
Returns the object type. |
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()
Returns the object geometry. |
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 |
setBarColor(java.awt.Color color)
|
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 |
setPosition(double x,
double y)
|
void |
setPosition(Point point)
|
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets the value of a property (programmer defined). |
void |
setTextColor(java.awt.Color color)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AcetateScalebar()
public AcetateScalebar(double scale,
int mapUnits)
public AcetateScalebar(double scale,
int mapUnits,
int scalebarUnits)
| Method Detail |
public java.lang.Object clone()
clone in interface AcetateObjectpublic AcetateScalebar getCopy()
public void draw(java.awt.Graphics2D graphics,
java.awt.geom.AffineTransform pageTransform,
java.util.Locale locale)
AcetateObject
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 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 specified object to associate to this object.public java.lang.Object getObjectTag()
getObjectTag in interface AcetateObjectpublic int getObjectType()
AcetateObject
getObjectType in interface AcetateObjectpublic void setPosition(Point point)
public void setPosition(double x,
double y)
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()
AcetateObject
getShape in interface AcetateObjectpublic void setBarColor(java.awt.Color color)
public void setTextColor(java.awt.Color color)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||