|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.AimsSimpleLabelRenderer
| Constructor Summary | |
AimsSimpleLabelRenderer()
Creates new SimpleLabelRenderer |
|
| Method Summary | |
void |
adjustScaleFactors(double multiplier)
Adjusts the scale factors for this renderer. |
java.lang.Object |
clone()
Creates a copy of this renderer. |
java.lang.String |
getFeatureWeight()
Gets the value of attribute featureWeight |
java.lang.String |
getField()
Gets the value of attribute field |
java.lang.String |
getHowManyLabels()
Gets the value of attribute howManyLabels |
double |
getLabelBufferRatio()
Gets the value of attribute labelBufferRatio |
java.lang.String |
getLabelPriorities()
Gets the value of attribute labelPriorities |
java.lang.String |
getLabelWeight()
Gets the value of attribute labelWeight |
java.lang.String |
getLineLabelPosition()
Gets the value of attribute lineLabelPosition |
java.lang.String |
getRotationalAngles()
Gets the value of attribute rotationalAngles |
AimsSymbol |
getSymbol()
Gets the value of attribute symbol. |
boolean |
getVisible()
gets the visiblility of the renderer |
void |
highlight(AimsColor highlightColor,
double transparency)
|
boolean |
isModified()
Returns a boolean value indicating whether the renderer has been modified by the user since it was loaded from the map service. |
void |
removeLabels()
Removes labels from this renderer and any subrenderers (if applicable). |
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 |
setFeatureWeight(java.lang.String featureWeight)
Sets the value of attribute featureWeight. |
void |
setField(java.lang.String field)
Sets the value of attribute field. |
void |
setHowManyLabels(java.lang.String howManyLabels)
Sets the value of attribute howManyLabels. |
void |
setLabelBufferRatio(double labelBufferRatio)
Sets the value of attribute labelBufferRatio. |
void |
setLabelPriorities(java.lang.String labelPriorities)
Sets the value of attribute labelPriorities. |
void |
setLabelWeight(java.lang.String labelWeight)
Sets the value of attribute labelWeight. |
void |
setLineLabelPosition(java.lang.String lineLabelPosition)
Sets the value of attribute lineLabelPosition. |
void |
setModified(boolean isModified)
Sets the modified flag of the renderer, indicating that it needs to be sent to the map server when the map is refreshed. |
void |
setRotationalAngles(java.lang.String rotationalAngles)
Sets the value of attribute rotationalAngles. |
void |
setSymbol(AimsSymbol symbol)
Sets the value of attribute symbol. |
void |
setVisible(boolean isVisible)
Sets the visiblility of the renderer |
void |
showLabels(boolean showLabels)
|
java.lang.String |
toAxlString()
Returns the AXL string to refresh this object. |
java.lang.String |
toAxlString(AimsEnvironment env)
Returns the AXL string to refresh this object. |
java.lang.String |
toString()
Returns a string containing the name of this class. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AimsSimpleLabelRenderer()
| Method Detail |
public java.lang.Object clone()
clone in interface AimsRendererpublic boolean isModified()
isModified in interface AimsRendererpublic void setModified(boolean isModified)
setModified in interface AimsRendererisModified - True if the renderer has been modified.public void setSymbol(AimsSymbol symbol)
symbol. The symbol may
be of type CalloutMarkerSymbol, RasterShieldSymbol, ShieldSymbol,
or TextSymbol.
public AimsSymbol getSymbol()
symbol. The symbol may
be of type CalloutMarkerSymbol, RasterShieldSymbol, ShieldSymbol,
or TextSymbol. If you use this method, you must cast the symbol
to the proper type.
fieldpublic void setField(java.lang.String field)
field.
public java.lang.String getField()
field
fieldpublic void setFeatureWeight(java.lang.String featureWeight)
featureWeight.
public java.lang.String getFeatureWeight()
featureWeight
featureWeightpublic void setHowManyLabels(java.lang.String howManyLabels)
howManyLabels.
public java.lang.String getHowManyLabels()
howManyLabels
howManyLabelspublic void setLabelBufferRatio(double labelBufferRatio)
labelBufferRatio.
public double getLabelBufferRatio()
labelBufferRatio
labelBufferRatiopublic void setLabelPriorities(java.lang.String labelPriorities)
labelPriorities.
public java.lang.String getLabelPriorities()
labelPriorities
labelPrioritiespublic void setLabelWeight(java.lang.String labelWeight)
labelWeight.
public java.lang.String getLabelWeight()
labelWeight
labelWeightpublic void setLineLabelPosition(java.lang.String lineLabelPosition)
lineLabelPosition.
public java.lang.String getLineLabelPosition()
lineLabelPosition
lineLabelPositionpublic void setRotationalAngles(java.lang.String rotationalAngles)
rotationalAngles.
public java.lang.String getRotationalAngles()
rotationalAngles
rotationalAnglespublic boolean getVisible()
public void setVisible(boolean isVisible)
isVisible - The visibility property.
public void setAxlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
tag - The AXL element tag containing this attribute.name - The AXL attribute name.value - The AXL attribute value.public java.lang.String toString()
toString in interface AimsRendererpublic java.lang.String toAxlString()
toAxlString in interface AimsRendererpublic java.lang.String toAxlString(AimsEnvironment env)
toAxlString in interface AimsRenderer
public void highlight(AimsColor highlightColor,
double transparency)
highlight in interface AimsRendererpublic void removeLabels()
removeLabels in interface AimsRendererpublic void showLabels(boolean showLabels)
showLabels in interface AimsRendererpublic void adjustScaleFactors(double multiplier)
adjustScaleFactors in interface AimsRenderermultiplier - The multiplication factor for
adjusting scale factors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||