|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.AimsLayerGroup
| Field Summary | |
protected static int |
NEXT_GROUP_ID
|
static int |
REPORT_METHOD_DRILL
|
static int |
REPORT_METHOD_FIRST
|
static int |
REPORT_METHOD_LOCATION
|
| Constructor Summary | |
AimsLayerGroup()
Creates new AimsLayerGroup |
|
AimsLayerGroup(AimsMap map)
Creates new AimsLayerGroup with a map |
|
| Method Summary | |
void |
addLayer(AimsLayer layer)
Adds a layer to the AimsLayerGroup. |
void |
addLayerListLegend(AimsLayerListLegend legend)
Adds a layer list legend. |
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 |
canShowLayerListLegend()
Gets and indicator of whether the legend could be shown, true regardless of whether or not it is turned off. |
AimsLayer |
getActiveIdentifyLayer(AimsPoint pt)
Returns the active layer used for identify. |
AimsFeatureLayer |
getActiveSelectLayer(AimsPoint pt)
Returns the active layer used for selection. |
boolean |
getCanIdentify()
Returns whether the Layer Group can be identified. |
boolean |
getCanSelect()
Returns whether the Layer Group can be selected. |
boolean |
getCanSetVisibility()
Returns whether the Layer Group can be turned on and off by the user. |
boolean |
getCanSetVisibilityBeyondScale()
Gets a boolean value indicating whether the layer group can be turned on and off by the user when the layer group is beyond scale. |
java.lang.String |
getId()
Returns a String containing the group ID. |
int |
getIdentifyReportMethod()
Gets the identify report method. |
boolean |
getIdentifyWindow()
Gets whether a separate identify window is used for the layer group. |
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. |
AimsLayers |
getLayers()
Returns the layers contained in the AimsLayerGroup in an AimsLayers object. |
double |
getMaxScale()
Gets the maximum scale at which the layer group will be displayed. |
java.lang.String |
getMetadataUrl()
Returns the URL to the metadata page for this group, or null if no metatata URL is defined. |
double |
getMinScale()
Gets the minimum scale at which the layer group will be displayed. |
java.lang.String |
getName()
Returns a String containing the group name. |
int |
getObjectId()
Returns the IMF internal id for this group. |
int |
getSelectReportMethod()
Gets the select report method. |
java.lang.String |
getSelectShape()
Gets the type of select tool that is used for this layer group. |
boolean |
getVisible()
Gets the visiblity of the Layer Group. |
boolean |
hasAllLayersVisible()
Gets the visiblity of the Layer Group layers. |
boolean |
hasLabelsToHide()
Determines whether there are layers in this group with labels that can be hidden. |
boolean |
hasLayer(AimsLayer layer)
Returns an indicator of whether a layer is in this layer group. |
boolean |
hasLayer(int layerObjectId)
Returns an indicator of whether a layer with the specified object id is in this layer group. |
boolean |
hasLayerListLegend()
Gets and indicator of whether a layer list legend exists at this scale. |
boolean |
hasLayerMetadata()
Returns an indicator of whether the individual layers of this layer group have metadata. |
boolean |
isLayerWithinThreshold()
Returns whether this layer is within threshold tolerance. |
boolean |
isOpen()
Gets whether the layer group is open in the layer manager. |
boolean |
isVisible()
Gets the visiblity of the Layer Group. |
boolean |
labelsHidden()
Returns a boolean value indicating whether labels are currently hidden. |
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 |
setCanSetVisibilityBeyondScale(boolean canSetVisibility)
Sets whether the layer group can be turned on and off by the user. |
void |
setIdentifyReportMethod(java.lang.String method)
Sets the identify report method. |
void |
setOpen(boolean flag)
Sets whether the layer group is open in the layer manager. |
void |
setSelectReportMethod(java.lang.String method)
Sets the select report method. |
void |
setVisible(boolean isVisible)
Sets the layers in this group to the specified visibility. |
void |
showLabels(boolean showLabels)
Toggles the visibility of the label renderers in this layer group. |
java.lang.String |
toString()
Returns a text representation of of this class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int REPORT_METHOD_DRILL
public static final int REPORT_METHOD_FIRST
public static final int REPORT_METHOD_LOCATION
protected static int NEXT_GROUP_ID
| Constructor Detail |
public AimsLayerGroup()
public AimsLayerGroup(AimsMap map)
map - The applicable map| Method Detail |
public void addLayerListLegend(AimsLayerListLegend legend)
legend - The legend to add.public boolean hasLayerListLegend()
public AimsLayerListLegend getLayerListLegend()
public AimsLayerListLegends getLayerListLegends()
public boolean canHideLayerListLegend()
public boolean canShowLayerListLegend()
public int getObjectId()
public void addLayer(AimsLayer layer)
public java.lang.String getId()
public boolean getIdentifyWindow()
public boolean getImmediateRefresh()
public AimsLayers getLayers()
public java.lang.String getName()
public AimsLayer getActiveIdentifyLayer(AimsPoint pt)
public AimsFeatureLayer getActiveSelectLayer(AimsPoint pt)
public void setVisible(boolean isVisible)
isVisible - The visibility.public boolean getVisible()
public boolean hasAllLayersVisible()
public boolean isVisible()
public boolean getCanIdentify()
public boolean getCanSelect()
public boolean getCanSetVisibility()
public void showLabels(boolean showLabels)
showLabels - The visibility property.public boolean hasLabelsToHide()
public boolean canHideLabels()
public boolean labelsHidden()
public boolean getCanSetVisibilityBeyondScale()
public void setCanSetVisibilityBeyondScale(boolean canSetVisibility)
public double getMaxScale()
public double getMinScale()
public java.lang.String getMetadataUrl()
public java.lang.String getSelectShape()
public boolean isLayerWithinThreshold()
public java.lang.String toString()
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 int getIdentifyReportMethod()
public void setIdentifyReportMethod(java.lang.String method)
method - The method, drill, first, or location.public int getSelectReportMethod()
public void setSelectReportMethod(java.lang.String method)
method - The method, first or location.public boolean hasLayerMetadata()
public boolean hasLayer(int layerObjectId)
layerObjectId - The object id of the target layer.
public boolean hasLayer(AimsLayer layer)
public boolean isOpen()
public void setOpen(boolean flag)
flag - True if it should be open, otherwise false;
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||