|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.AimsFeatureLayer
AimsFeatureLayer class represents all of the geographic features in a dataset that are contained in a single layer. The valid feature classes contained in a Map Service's AimsFeatureLayer object are points, lines, and polygons.
| Field Summary | |
static int |
SHAPE_TYPE_LINE
Shape type enumerator |
static int |
SHAPE_TYPE_POINT
Shape type enumerator |
static int |
SHAPE_TYPE_POLYGON
Shape type enumerator |
| Fields inherited from interface com.moximedia.aims.AimsObject |
OBJECT_TYPE_ACETATE_LAYER, OBJECT_TYPE_FEATURE_LAYER, OBJECT_TYPE_FOLDER, OBJECT_TYPE_FOLDERS, OBJECT_TYPE_GROUP, OBJECT_TYPE_GROUPS, OBJECT_TYPE_IMAGE_LAYER, OBJECT_TYPE_WMS_LAYER |
| Fields inherited from interface com.moximedia.aims.AimsLayer |
LAYER_TYPE_ACETATE, LAYER_TYPE_FEATURE, LAYER_TYPE_IMAGE, LAYER_TYPE_WMS |
| Constructor Summary | |
AimsFeatureLayer()
Do not use. |
|
AimsFeatureLayer(AimsMap map)
Creates a new AimsFeatureLayer |
|
AimsFeatureLayer(java.lang.String xml,
AimsMap map)
Creates a feature layer using ArcXML text. |
|
| Method Summary | |
void |
addIdentifyLink(AimsIdentifyLink link)
|
void |
addIdentifyReport(AimsReport report)
Adds an identify report for this layer. |
void |
addLayerListLegend(AimsLayerListLegend legend)
Adds a layer list legend. |
void |
addSelectReport(AimsReport report)
Adds a select report for this layer. |
void |
addSqlQuery(SqlQuery query)
Adds a SQL query for this layer. |
void |
addSqlReport(SqlReport report)
Adds a SQL report for this layer. |
void |
adjustScaleFactors(double multiplier)
Adjusts the scale factors for this layer and its renderers. |
void |
adjustScaleFactors(java.lang.String inUnits,
java.lang.String outUnits)
Adjusts the scale factors for this layer and its renderers. |
boolean |
canClearFilter()
Gets an indicator of whether the user can clear the filter for this layer using the clear tool. |
boolean |
canEdit()
Returns an indicator of whether the layer can be edited. |
boolean |
canExtract()
|
boolean |
canExtractExcel()
Returns an indicator of whether this layer supports Excel extraction. |
boolean |
canExtractFme()
|
boolean |
canExtractGml()
Returns an indicator of whether this layer supports GML extraction. |
boolean |
canFindByAttribute()
Gets a boolean value indicating whether a feature layer can be queried using the find location by attribute tool. |
boolean |
canHideLabels()
Returns a boolean value indicating whether labels can be hidden. |
boolean |
canHideLayerListLegend()
Gets and indicator of whether the legend could be shown, true regardless of whether or not it is turned off. |
boolean |
canSelectByAttribute()
Gets a boolean value indicating whether a feature layer can be queried using the select by attribute tool. |
boolean |
canShowLayerListLegend()
Gets and indicator of whether the legend could be shown, true regardless of whether or not it is turned off. |
java.lang.Object |
clone()
Creates a copy of this feature layer. |
AimsFeatureLayer |
createHighlightLayer(AimsFilter fltr)
Creates a clone of this layer with selected features highlighted. |
AimsFeatureLayer |
createHighlightLayer(AimsShapeObject shape)
Creates a clone of this layer with selected features highlighted. |
AimsFeatureLayer |
createHighlightLayer(java.lang.String query)
Creates a clone of this layer with selected features highlighted. |
boolean |
extract()
Performs an extract using the layer settings. |
boolean |
extract(AimsFilter filter)
Performs an extract using the layer settings. |
AimsEnvelope |
findByAttribute(java.lang.String fieldName,
java.lang.String value)
Returns an extent envelope of the features matching the specified query. |
java.lang.String |
getAlias()
get the alias of the layer |
boolean |
getCanDrillIdentify()
Gets a boolean value indicating whether the layer can be identified using the drill down identify tool. |
boolean |
getCanIdentify()
Gets a boolean value indicating whether a feature layer can be identified. |
boolean |
getCanSelect()
Gets a boolean value indicating whether a feature layer can be selected. |
boolean |
getCanSetVisibility()
Gets a boolean value indicating whether the layer can be turned on and off by the user. |
boolean |
getCanSetVisibilityBeyondScale()
Gets a boolean value indicating whether the layer can be turned on and off by the user when the layer is beyond scale. |
boolean |
getCanSymbolize()
Gets an indicator of whether the layer can be symbolized. |
boolean |
getCanSymbolizeByAttribute()
|
boolean |
getCanZoomToLayer()
Returns a boolean indicator of whether the zoom to layer extent function should be enabled for this layer. |
java.lang.String |
getClonedFromId()
|
java.lang.String |
getClonedFromName()
|
AimsCoordsys |
getCoordsys()
Returns the coordsys object associated with this layer. |
AimsDataset |
getDataset()
Gets the dataset of the layer, if any. |
java.lang.String |
getEditHandler()
Returns the URL of the handler to perform the database actions. |
java.lang.String |
getEditHandlerTarget()
Returns the window used to execute the edit handler. |
AimsField |
getEditKeyField()
Gets the key field used for managing the editing record. |
java.lang.String |
getEditKeyValue()
Gets the value of the key feild for use in determining the record being worked on. |
AimsEnvelope |
getExtent()
Returns the extent of the layer. |
boolean |
getExtractClip()
Returns a boolean value indicating whether the extract request should include the extent. |
java.lang.String |
getExtractFile()
Gets the path to the extract file created by the extract() method. |
java.lang.String |
getExtractLayerId()
|
java.lang.String |
getExtractUrl()
Gets the url of the extract file created by the extract() method. |
java.lang.String |
getFeatureClass()
Get the feature class (point, line, or polygon) |
AimsFilter |
getFilter()
|
java.util.Vector |
getFindByAttributeFields()
|
java.lang.String |
getFmeDataSource()
Gets the FME data source name for the Spatial Direct routines. |
AimsGeocode |
getGeocode()
Gets the Geocode object for this layer, if any. |
java.lang.String |
getGeocodeLayerId()
Gets the alternate geocoding layerid for this layer. |
java.lang.String |
getGeocodeServer()
Gets the alternate geocoding server for this layer. |
java.lang.String |
getGeocodeService()
Gets the alternate geocoding servide name for this layer. |
java.lang.String |
getGeocodeServlet()
Gets the alternate geocoding servlet for this layer. |
int |
getHighlightType()
|
java.lang.String |
getId()
Get the ID of the layer |
java.lang.String |
getIdentifyHandler()
Gets the identify handler URL for the layer. |
java.lang.String |
getIdentifyHandlerSuffix()
Gets the identify handler URL suffix for the layer. |
java.util.Vector |
getIdentifyKeyFields()
Gets the identify key fields for the layer. |
AimsIdentifyLink[] |
getIdentifyLinks()
|
AimsReport |
getIdentifyReport(java.lang.String name)
Gets the identify report for this layer by name. |
java.util.ArrayList |
getIdentifyReports()
Gets the identify reports set for this layer. |
int |
getIdentifyTolerance()
Gets the number of pixels on each side of the point clicked by the user that will be used to select features using the identify or select tools. |
java.lang.String |
getIdentifyType()
Gets the identify type for the layer. |
boolean |
getIdentifyWindow()
Gets whether a separate identify window is used for the layer. |
boolean |
getImmediateRefresh()
Returns whether the map should immediately refresh when the map layer visibility is changed. |
AimsLayerListLegend |
getLayerListLegend()
Gets and indicator of whether a layer list legend exists at this scale. |
AimsLayerListLegends |
getLayerListLegends()
Gets the array of layer list legends for this group. |
AimsFeatureLayer |
getLayerManagerCopy(AimsMap map)
Creates a copy of this feature layer for use in another map. |
int |
getLayerType()
Gets the layer type, AimsLayer.LAYER_TYPE_FEATURE |
boolean |
getLegendVisible()
Returns whether the layer should be visible in the legend. |
AimsMap |
getMap()
Gets the map object containing this layer. |
int |
getMaximumExtractExcelRecords()
Returns the maximum number of records possible in an Excel extraction. |
int |
getMaximumExtractGmlRecords()
Returns the maximum number of records possible in a GML extraction. |
double |
getMaxScale()
Gets the maximum scale at which the feature layer will be displayed. |
java.lang.String |
getMetadataHandler()
Returns the URL of the metadata handler page for this layer, or null if no metatata handler is defined. |
java.lang.String |
getMetadataUrl()
Returns the URL to the metadata page for this layer, or null if no metatata URL is defined. |
double |
getMinScale()
Gets the minimum scale at which the feature layer will be displayed. |
java.lang.String |
getName()
Get the name of the layer |
int |
getObjectId()
Returns the IMF internal id for this layer. |
int |
getObjectType()
Gets the type of object this is. |
java.lang.String |
getProperty(java.lang.String name)
Gets the value of a property set in the configuration XML using a <property> element. |
AimsRecordset |
getRecordset()
Gets the recordset of the feature layer. |
AimsRenderer |
getRenderer()
Gets the renderer used to symbolize and label the feature layer. |
java.lang.String |
getSdeTableName()
Returns the SDE table names of the layer, generated from the schema / column portion of the field names found in the layer's recordset. |
java.util.HashSet |
getSdeTableNames()
Returns a set of SDE table names, generated from the schema / column portion of the field names in the layer's recordset. |
java.util.Vector |
getSelectByAttributeFields()
|
java.lang.String |
getSelectHandler()
Gets the selection handler URL for the layer. |
java.lang.String |
getSelectHandlerSuffix()
Gets the select handler URL suffix for the layer. |
boolean |
getSelectHighlight()
Returns a boolean value indicating whether the features of this layer that are selected using the select tool should be highlighted. |
java.util.Vector |
getSelectKeyFields()
Gets the selection key fields for the layer. |
AimsWebSiteSelectMenuOptions |
getSelectMenuOptions()
Gets the layer specific select menu options. |
AimsReport |
getSelectReport(java.lang.String name)
Gets the select report for this layer by name. |
java.util.ArrayList |
getSelectReports()
Gets the select reports set for this layer. |
AimsWebSiteSelectSetOptions |
getSelectSetOptions()
Gets the layer specific select set page options. |
java.lang.String |
getSelectShape()
Gets the type of select tool that is used for this layer. |
java.lang.String |
getSelectType()
Gets the select type for the layer. |
boolean |
getSelectWindow()
Gets whether a separate select window is used for the layer. |
int |
getShapeType()
Gets the feature type of this layer. |
boolean |
getShowSymbolizeIcon()
Gets an indicator of whether the symbolize icon shows up in the layer list. |
double |
getSnapDistance()
Gets the snapping distance when snapping to this layer. |
AimsPoint |
getSnapVertex(AimsPoint pt)
Gets the closest vertex within the set snap distance for this layer, or null if there is no vertex within the snap distance. |
AimsPoint |
getSnapVertex(AimsPoint pt,
double snapDistance)
Gets the closest vertex within the specified snap distance for this layer, or null if there is no vertex within the snap distance. |
java.util.ArrayList |
getSqlQueries()
Gets the SQL queries set for this layer. |
SqlQuery |
getSqlQuery(int objectId)
Gets the SQL query for this layer by object id. |
SqlQuery |
getSqlQuery(java.lang.String description)
Gets the SQL query for this layer by description. |
SqlReport |
getSqlReport(int objectId)
Gets the SQL report for this layer withthe specified object ID. |
SqlReport |
getSqlReport(java.lang.String description)
Gets the SQL report for this layer by description. |
java.util.ArrayList |
getSqlReports()
Gets the SQL reports set for this layer. |
java.lang.String |
getSymbolizeScript()
Gets the name of the symbolize script used for symbolization. |
java.lang.Object |
getTag()
Gets the user defined object tag assosciated with this object. |
AimsRecordset |
getToolTipsRecordset()
|
java.lang.String |
getType()
Gets the layer type. |
boolean |
getVisible()
Get if the layer is visible (ie: visible=true). |
java.lang.Double |
getZoomExtentBuffer()
|
boolean |
hasLayerListLegend()
Gets and indicator of whether a layer list legend exists at this scale. |
boolean |
isBufferLayer()
Returns true if this layer is a buffer layer. |
boolean |
isClone()
Returns a boolean value indicating whether this layer is a clone. |
boolean |
isDynamic()
Returns a boolean value indicating whether this layer was added dynamically. |
boolean |
isExtractLayer()
Returns a boolean value indicating whether the layer is an extract layer. |
boolean |
isHighlightLayer()
Returns true if this layer is a highlight layer. |
boolean |
isLayerWithinThreshold()
Returns whether this layer is within threshold tolerance. |
boolean |
isSde()
Returns an indicator of whether this layer is an SDE table. |
boolean |
isServiceLayer()
Reports whether this layer was loaded from the map service. |
boolean |
isVisible()
Get if the layer is visible (ie: visible=true). |
boolean |
labelsHidden()
Returns a boolean value indicating whether labels are currently hidden. |
void |
removeLabels()
Removes the label renderers from this layer. |
void |
setAlias(java.lang.String alias)
Sets the alias of the layer |
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 |
setCanClearFilter(boolean flag)
Sets an indicator of whether the user can clear the filter for this layer using the clear tool. |
void |
setCanDrillIdentify(boolean canDrillIdentify)
Sets whether a feature layer can be identified using the drill down identify tool. |
void |
setCanExtractExcel(boolean flag)
Sets an indicator of whether this layer supports Excel extraction. |
void |
setCanExtractGml(boolean flag)
Sets an indicator of whether this layer supports GML extraction. |
void |
setCanIdentify(boolean canIdentify)
Sets whether a feature layer can be identified. |
void |
setCanSelect(boolean canSelect)
Sets whether a feature layer can be selected. |
void |
setCanSetVisibility(boolean canSetVisibility)
Sets whether the layer can be turned on and off by the user. |
void |
setCanSetVisibilityBeyondScale(boolean canSetVisibility)
Sets whether the layer can be turned on and off by the user. |
void |
setCanSymbolize(boolean canSymbolize)
Sets whether the layer can be symbolized. |
void |
setCanZoomToLayer(boolean canZoom)
Sets whether the zoom to layer extent function should be enabled for this layer. |
void |
setCoordsys(AimsCoordsys cs)
Sets the coordsys for this layer. |
void |
setDataset(AimsDataset ds)
Sets the dataset, for use with dynamic layers. |
void |
setDynamicAxl(java.lang.String xml)
|
void |
setExtent(AimsEnvelope envelope)
Sets the envelope (extent) of the layer. |
void |
setFeatureClass(java.lang.String featureClass)
Set the feature class (point, line, or polygon) |
void |
setFilter(AimsFilter filter)
|
void |
setFmeDataSource(java.lang.String name)
Sets the FME data source name for the Spatial Direct routines. |
void |
setGeocode(AimsGeocode geocode)
Sets the layer's geocode object. |
void |
setHighlightColor(AimsColor color)
Sets the highlighted color for selected features. |
void |
setHighlightTransparency(double transparency)
Sets the highlighted transparency for selected features. |
void |
setHighlightType(int highlightType)
|
void |
setHighlightType(java.lang.String highlightType)
|
void |
setId(java.lang.String id)
Sets the id of the layer |
void |
setIdentifyKeyFields(java.lang.String fieldNameList)
Sets the identify key fields for the layer. |
void |
setIdentifyTolerance(int tolerance)
Sets the number of pixels on each side of the point clicked by the user that will be used to select features using the identify or select tools. |
void |
setIsBufferLayer(boolean isBuffer)
Sets whether this layer is a buffer layer. |
void |
setLegendVisible(boolean isVisible)
Sets the visibility of the layer in the legend. |
void |
setMap(AimsMap map)
Sets the map that this layer belongs to if it isn't null, |
void |
setMaximumExtractExcelRecords(int count)
Sets the maximum number of records possible in an Excel extraction. |
void |
setMaximumExtractGmlRecords(int count)
Sets the maximum number of records possible in a GML extraction. |
void |
setMaxScale(double scale)
Gets the minimum scale at which the feature layer will be displayed. |
void |
setMinScale(double scale)
Sets the minimum scale at which the feature layer will be displayed. |
void |
setModified(boolean isModified)
|
void |
setName(java.lang.String name)
Sets the name of the layer |
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets the value of a property (programmer defined). |
protected void |
setRecordset(AimsRecordset rs)
Sets the recordset of the feature layer. |
void |
setRenderer(AimsRenderer renderer)
Sets the renderer used to symbolize and label the feature layer. |
void |
setSelectKeyFields(java.lang.String fieldNameList)
Sets the selection key for the layer. |
void |
setSelectShape(java.lang.String shapeType)
Sets the type of select tool that is used for this layer. |
void |
setShowSymbolizeIcon(boolean showSymbolizeIcon)
Sets whether the symbolize icon is displayed in the layer list. |
void |
setSnapDistance(double distance)
Sets the snapping distance when snapping to this layer. |
void |
setSymbolizeScript(java.lang.String jspScript)
Sets the name of the symbolize script used for symbolization. |
void |
setTag(java.lang.Object tag)
Sets the user defined object associated to this object. |
void |
setToolTipsRecordset(AimsRecordset rs)
|
void |
setVisible(boolean visible)
turn on/off the layer |
void |
setXmlAttribute(java.lang.String type,
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 |
showLabels(boolean showLabels)
Toggles the visibility of the label renderers in this layer. |
java.lang.String |
toAxlString(java.lang.String requestType)
Returns the AXL string to refresh this object. |
java.lang.String |
toAxlString(java.lang.String requestType,
boolean forceVisible)
Returns the AXL string to refresh this object. |
java.lang.String |
toString()
Returns a text representation of of this class. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int SHAPE_TYPE_POINT
public static final int SHAPE_TYPE_LINE
public static final int SHAPE_TYPE_POLYGON
| Constructor Detail |
public AimsFeatureLayer()
public AimsFeatureLayer(AimsMap map)
map - The map containing the layer.
public AimsFeatureLayer(java.lang.String xml,
AimsMap map)
xml - The AXL string used to create the layer.map - The map that will contain the layer. Used to calculate
scale factors, etc.| Method Detail |
public void setDynamicAxl(java.lang.String xml)
public AimsCoordsys getCoordsys()
public void setCoordsys(AimsCoordsys cs)
cs - The coordsys object to apply to this layer.public void setDataset(AimsDataset ds)
ds - The dataset object.public AimsDataset getDataset()
public void addLayerListLegend(AimsLayerListLegend legend)
addLayerListLegend in interface AimsLayerlegend - The legend to add.public boolean hasLayerListLegend()
hasLayerListLegend in interface AimsLayerpublic AimsLayerListLegend getLayerListLegend()
getLayerListLegend in interface AimsLayerpublic AimsLayerListLegends getLayerListLegends()
getLayerListLegends in interface AimsLayerpublic boolean canHideLayerListLegend()
canHideLayerListLegend in interface AimsLayerpublic boolean canShowLayerListLegend()
canShowLayerListLegend in interface AimsLayerpublic java.lang.Object getTag()
getTag in interface AimsLayerpublic void setTag(java.lang.Object tag)
setTag in interface AimsLayertag - Any Object.public boolean canExtractExcel()
public void setCanExtractExcel(boolean flag)
flag - True if Excel can be extracted, otherwise false.public int getMaximumExtractExcelRecords()
public void setMaximumExtractExcelRecords(int count)
count - The number of records that can be extracted.public boolean canExtractGml()
public void setCanExtractGml(boolean flag)
flag - True if GML can be extracted, otherwise false.public int getMaximumExtractGmlRecords()
public void setMaximumExtractGmlRecords(int count)
count - The number of records that can be extracted.public AimsFeatureLayer getLayerManagerCopy(AimsMap map)
map - The map where this layer will be copied to.
public java.lang.Object clone()
clone in interface AimsLayerpublic void addIdentifyReport(AimsReport report)
report - An identify report.public AimsReport getIdentifyReport(java.lang.String name)
name - The name of an identify report.
public java.util.ArrayList getIdentifyReports()
public int getIdentifyTolerance()
public void setIdentifyTolerance(int tolerance)
tolerance - The number of pixels each side of the point.public void addSelectReport(AimsReport report)
report - An select report.public AimsReport getSelectReport(java.lang.String name)
name - The name of the select report.
public java.util.ArrayList getSelectReports()
public void addSqlQuery(SqlQuery query)
query - A SQL query.public SqlQuery getSqlQuery(int objectId)
objectId - The object ID of the query.
public SqlQuery getSqlQuery(java.lang.String description)
public java.util.ArrayList getSqlQueries()
public void addSqlReport(SqlReport report)
report - A SQL report.public SqlReport getSqlReport(int objectId)
objectId - The objectId of the report.
public SqlReport getSqlReport(java.lang.String description)
public java.util.ArrayList getSqlReports()
public int getObjectId()
getObjectId in interface AimsLayerpublic int getLayerType()
getLayerType in interface AimsLayerpublic int getShapeType()
public boolean canClearFilter()
public void setCanClearFilter(boolean flag)
flag - True if the user can clear the filter, otherwise false.public boolean canEdit()
canEdit in interface AimsLayerpublic AimsField getEditKeyField()
public java.lang.String getEditKeyValue()
public java.lang.String getEditHandler()
public java.lang.String getEditHandlerTarget()
public boolean getImmediateRefresh()
getImmediateRefresh in interface AimsLayerpublic boolean canExtract()
public java.lang.String getExtractLayerId()
public java.lang.String getExtractUrl()
public java.lang.String getExtractFile()
public boolean isExtractLayer()
public boolean getExtractClip()
public boolean extract()
public boolean extract(AimsFilter filter)
filter - A filter to limit the extracted set.
public boolean canSelectByAttribute()
canSelectByAttribute in interface AimsLayerpublic java.util.Vector getSelectByAttributeFields()
public boolean getCanSymbolizeByAttribute()
public boolean canFindByAttribute()
canFindByAttribute in interface AimsLayerpublic java.util.Vector getFindByAttributeFields()
public AimsEnvelope findByAttribute(java.lang.String fieldName,
java.lang.String value)
fieldName - The name of the fieldvalue - The field value
public boolean getLegendVisible()
getLegendVisible in interface AimsLayerpublic void setLegendVisible(boolean isVisible)
setLegendVisible in interface AimsLayerisVisible - A boolean value indicating whether the layer should be
visible in the legend.public AimsMap getMap()
getMap in interface AimsLayerpublic AimsGeocode getGeocode()
public void setGeocode(AimsGeocode geocode)
geocode - The geocode object.public boolean getSelectHighlight()
public void setHighlightColor(AimsColor color)
color - The highlight color.public void setHighlightTransparency(double transparency)
transparency - The highlight transparency.public java.lang.String getSelectShape()
public void setSelectShape(java.lang.String shapeType)
shapeType - A string containing the select shape.public double getSnapDistance()
public void setSnapDistance(double distance)
distance - The snap distance, in metres.public AimsPoint getSnapVertex(AimsPoint pt)
pt - The point to find the snap vertex for.
public AimsPoint getSnapVertex(AimsPoint pt,
double snapDistance)
pt - The point to find the snap vertex for.
public boolean isServiceLayer()
isServiceLayer in interface AimsLayerpublic AimsFeatureLayer createHighlightLayer(java.lang.String query)
query - A where clause used to select features.
public AimsFeatureLayer createHighlightLayer(AimsShapeObject shape)
shape - A shape used to select features.
public AimsFeatureLayer createHighlightLayer(AimsFilter fltr)
public boolean isHighlightLayer()
isHighlightLayer in interface AimsLayerpublic boolean isBufferLayer()
isBufferLayer in interface AimsLayerpublic void setIsBufferLayer(boolean isBuffer)
isBuffer - True if this layer is a buffer layer, otherwise false.public java.lang.String getClonedFromName()
public java.lang.String getClonedFromId()
public boolean isClone()
isClone in interface AimsLayerpublic boolean isDynamic()
isDynamic in interface AimsLayerpublic void removeLabels()
public AimsFilter getFilter()
public void setFilter(AimsFilter filter)
filter - public void setIdentifyKeyFields(java.lang.String fieldNameList)
fieldNameList - A comma separated list of field names.public java.util.Vector getIdentifyKeyFields()
public void setSelectKeyFields(java.lang.String fieldNameList)
fieldNameList - A comma separated list of field names.public java.util.Vector getSelectKeyFields()
public java.lang.String getIdentifyHandler()
public java.lang.String getIdentifyHandlerSuffix()
public java.lang.String getSelectHandler()
public java.lang.String getSelectHandlerSuffix()
public java.lang.String getIdentifyType()
public java.lang.String getSelectType()
public boolean getIdentifyWindow()
public boolean getSelectWindow()
public boolean getCanSetVisibility()
getCanSetVisibility in interface AimsLayerpublic void setCanSetVisibility(boolean canSetVisibility)
public boolean getCanSetVisibilityBeyondScale()
getCanSetVisibilityBeyondScale in interface AimsLayerpublic void setCanSetVisibilityBeyondScale(boolean canSetVisibility)
public boolean getCanDrillIdentify()
getCanDrillIdentify in interface AimsLayerpublic boolean getCanIdentify()
getCanIdentify in interface AimsLayerpublic boolean getCanSelect()
getCanSelect in interface AimsLayerpublic void setCanDrillIdentify(boolean canDrillIdentify)
public void setCanIdentify(boolean canIdentify)
public void setCanSelect(boolean canSelect)
public java.lang.String getType()
getType in interface AimsLayerpublic void setMinScale(double scale)
setMinScale in interface AimsLayerscale - The minimum scale at which the feature layer will be displayed.public void setMaxScale(double scale)
setMaxScale in interface AimsLayerpublic void setModified(boolean isModified)
setModified in interface AimsLayerisModified - public void setRenderer(AimsRenderer renderer)
renderer - The renderer used to symbolize and label the feature layer.public AimsRenderer getRenderer()
getRenderer in interface AimsLayerpublic AimsRecordset getRecordset()
getRecordset in interface AimsLayerprotected void setRecordset(AimsRecordset rs)
rs - The recordset of the feature layer.public void setFeatureClass(java.lang.String featureClass)
featureClass - The feature class (point, line, or polygon)public double getMaxScale()
getMaxScale in interface AimsLayerpublic double getMinScale()
getMinScale in interface AimsLayerpublic java.lang.String getFeatureClass()
public java.lang.String getId()
getId in interface AimsLayerpublic void setId(java.lang.String id)
id - The id of the layer.public java.lang.String getName()
getName in interface AimsLayerpublic void setName(java.lang.String name)
name - The name of the layer.public java.lang.String getAlias()
getAlias in interface AimsLayerpublic void setAlias(java.lang.String alias)
alias - The alias of the layer.public boolean getVisible()
getVisible in interface AimsLayerpublic boolean isVisible()
public void setVisible(boolean visible)
setVisible in interface AimsLayervisible - true if turn onpublic boolean isLayerWithinThreshold()
isLayerWithinThreshold in interface AimsLayer
public void setXmlAttribute(java.lang.String type,
java.lang.String tag,
java.lang.String name,
java.lang.String value)
type - The type of source, AXL-CONFIG, AXL-SERVICE-INFO.tag - The AXL element tag containing this attribute.name - The AXL attribute name.value - The AXL attribute value.
public void setAxlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
tag - The AXL element tag containing this attribute (not used).name - The AXL attribute name.value - The AXL attribute value.public java.lang.String toString()
toString in interface AimsLayerpublic java.lang.String toAxlString(java.lang.String requestType)
toAxlString in interface AimsLayerrequestType - The parent tag of the response, "LAYERDEF" or "LAYER".
public java.lang.String toAxlString(java.lang.String requestType,
boolean forceVisible)
toAxlString in interface AimsLayerrequestType - The type of AXL requested. Valid values are "LAYER" and "LAYERDEF".forceVisible - A flag to indicate that the layer should be drawn even if not visible.
public java.lang.String getMetadataHandler()
getMetadataHandler in interface AimsLayerpublic java.lang.String getMetadataUrl()
getMetadataUrl in interface AimsLayerpublic void setMap(AimsMap map)
setMap in interface AimsLayermap - The map that this layer is part of.public AimsIdentifyLink[] getIdentifyLinks()
public void addIdentifyLink(AimsIdentifyLink link)
link - public void showLabels(boolean showLabels)
showLabels in interface AimsLayershowLabels - The visibility property.public boolean canHideLabels()
canHideLabels in interface AimsLayerpublic boolean labelsHidden()
labelsHidden in interface AimsLayerpublic AimsEnvelope getExtent()
getExtent in interface AimsLayerpublic void setExtent(AimsEnvelope envelope)
setExtent in interface AimsLayerenvelope - The envelope (extent) of the layer.public java.lang.Double getZoomExtentBuffer()
public java.lang.String getProperty(java.lang.String name)
getProperty in interface AimsLayername - The property name
public void setProperty(java.lang.String name,
java.lang.String value)
setProperty in interface AimsLayername - The property namevalue - The property value.public boolean getCanZoomToLayer()
getCanZoomToLayer in interface AimsLayerpublic void setCanZoomToLayer(boolean canZoom)
public java.lang.String getGeocodeServer()
public java.lang.String getGeocodeServlet()
public java.lang.String getGeocodeService()
public java.lang.String getGeocodeLayerId()
public boolean getCanSymbolize()
getCanSymbolize in interface AimsLayerpublic void setCanSymbolize(boolean canSymbolize)
canSymbolize - True if the layer can be symbolized, otherwise false;public boolean getShowSymbolizeIcon()
getShowSymbolizeIcon in interface AimsLayerpublic void setShowSymbolizeIcon(boolean showSymbolizeIcon)
public java.lang.String getSymbolizeScript()
public void setSymbolizeScript(java.lang.String jspScript)
jspScript - The filename of the script, relative to the IMF directory.
public void adjustScaleFactors(java.lang.String inUnits,
java.lang.String outUnits)
adjustScaleFactors in interface AimsLayerinUnits - The original units, "METERS", FEET" or "DECIMAL_DEGREES".outUnits - The target units, "METERS", FEET" or "DECIMAL_DEGREES".public void adjustScaleFactors(double multiplier)
adjustScaleFactors in interface AimsLayermultiplier - The multiplication factor for
adjusting scale factors.public boolean isSde()
public java.lang.String getSdeTableName()
public java.util.HashSet getSdeTableNames()
public int getObjectType()
getObjectType in interface AimsObjectpublic AimsWebSiteSelectMenuOptions getSelectMenuOptions()
public AimsWebSiteSelectSetOptions getSelectSetOptions()
public void setFmeDataSource(java.lang.String name)
name - The data source name.public java.lang.String getFmeDataSource()
public boolean canExtractFme()
public void setToolTipsRecordset(AimsRecordset rs)
rs - public AimsRecordset getToolTipsRecordset()
public int getHighlightType()
public void setHighlightType(int highlightType)
public void setHighlightType(java.lang.String highlightType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||