com.moximedia.aims
Class AimsEditTools

java.lang.Object
  extended bycom.moximedia.aims.AimsEditTools
All Implemented Interfaces:
java.io.Serializable

public class AimsEditTools
extends java.lang.Object
implements java.io.Serializable

Manages the toolsets for IMF editing routines.

Author:
Doug Cates - www.moximedia.com
See Also:
Serialized Form

Field Summary
static int COGO_DISTANCE_UNITS_FEET
          Enumeration for feet units.
static int COGO_DISTANCE_UNITS_METERS
          Enumeration for metric units.
 
Constructor Summary
AimsEditTools()
          Creates new AimsEditingTools
AimsEditTools(AimsWebSiteConfig config)
          Creates new AimsEditingTools.
 
Method Summary
 int getCogoDistanceUnits()
          Gets the COGO distance units enumeration.
 Projection getCogoProjection()
          Gets the COCO projection.
 AimsFeature getEditFeature()
          Gets the current edit feature.
 java.lang.String getEditFeatureId()
          Gets the feature id of the current edit feature.
 boolean getShowVerticies()
          Returns an indicator of whether the verticies of edit shapes are shown.
 AimsWebSiteConfig getSiteConfig()
          Gets the site configuration object associated with this object.
 void setAxlAttribute(java.lang.String tag, java.lang.String name, java.lang.String value)
          Sets one of the attributes of this object using a string value.
 void setCogoProjection(Projection prj)
          Sets the projection used in the COGO routines.
 void setEditFeature(AimsFeature feature)
          Sets the current edit feature.
 void setEditFeatureId(java.lang.String featureId)
          Sets the edit feature id.
 void setShowVerticies(boolean show)
          Sets whether to show the verticies of edit shapes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COGO_DISTANCE_UNITS_FEET

public static final int COGO_DISTANCE_UNITS_FEET
Enumeration for feet units.

See Also:
Constant Field Values

COGO_DISTANCE_UNITS_METERS

public static final int COGO_DISTANCE_UNITS_METERS
Enumeration for metric units.

See Also:
Constant Field Values
Constructor Detail

AimsEditTools

public AimsEditTools()
Creates new AimsEditingTools


AimsEditTools

public AimsEditTools(AimsWebSiteConfig config)
Creates new AimsEditingTools.

Parameters:
config - The site configuration object.
Method Detail

getCogoDistanceUnits

public int getCogoDistanceUnits()
Gets the COGO distance units enumeration.

Returns:
the distance units enumeration.

getCogoProjection

public Projection getCogoProjection()
Gets the COCO projection.

Returns:
The COGO projection object.

getEditFeature

public AimsFeature getEditFeature()
Gets the current edit feature.

Returns:
The current edit feature, or null if there isn't one.

setEditFeature

public void setEditFeature(AimsFeature feature)
Sets the current edit feature.

Parameters:
feature - The current edit feature.

getEditFeatureId

public java.lang.String getEditFeatureId()
Gets the feature id of the current edit feature.

Returns:
The edit feature id.

setEditFeatureId

public void setEditFeatureId(java.lang.String featureId)
Sets the edit feature id.

Parameters:
featureId - The edit feature id.

getSiteConfig

public AimsWebSiteConfig getSiteConfig()
Gets the site configuration object associated with this object.

Returns:
The site configuration object associated with this object.

setCogoProjection

public void setCogoProjection(Projection prj)
Sets the projection used in the COGO routines.

Parameters:
prj - The projection.

getShowVerticies

public boolean getShowVerticies()
Returns an indicator of whether the verticies of edit shapes are shown.

Returns:
True if they should be shown, otherwise false.

setShowVerticies

public void setShowVerticies(boolean show)
Sets whether to show the verticies of edit shapes.

Parameters:
show - True if they should be shown, otherwise false.

setAxlAttribute

public void setAxlAttribute(java.lang.String tag,
                            java.lang.String name,
                            java.lang.String value)
Sets one of the attributes of this object using a string value. This method should only be called from the SAX event handler.

Parameters:
tag - The AXL element tag containing this attribute.
name - The AXL attribute name.
value - The AXL attribute value.


Internet Mapping Framework for ArcIMS Java Object Model API (v5.1.00)
Copyright © 2006 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.