com.esri.aims.mtier.model.map.layer.renderer.symbol
Class CalloutMarkerSymbol

java.lang.Object
  extended by com.esri.aims.mtier.model.map.layer.renderer.symbol.Symbol
      extended by com.esri.aims.mtier.model.map.layer.renderer.symbol.CalloutMarkerSymbol
All Implemented Interfaces:
Serializable

public class CalloutMarkerSymbol
extends Symbol

This object is used for label rendering and represents the ArcXML CALLOUTMARKERSYMBOL element. The CalloutMarkerSymbol object extends the Symbol object.

See Also:
Serialized Form

Field Summary
static String BOLD
           
static String BOLDITALIC
           
static String ITALIC
           
static String OUTLINE
           
static String REGULAR
           
static String UNDERLINE
           
 
Constructor Summary
CalloutMarkerSymbol()
          Constructs an instance of a CalloutMarkerSymbol.
 
Method Summary
 String getBackColor()
          Returns the CalloutMarkerSymbol's background color value.
 String getBoundaryColor()
          Returns the CalloutMarkerSymbol's boundary color value.
 String getFont()
          Returns the CalloutMarkerSymbol's font value.
 String getFontColor()
          Returns the font color associated with this CalloutMarkerSymbol.
 long getFontSize()
          Returns the CalloutMarkerSymbol's fontsize value.
 String getFontStyle()
          Returns the CalloutMarkerSymbol's font style value.
 String getGlowing()
          Returns the CalloutMarkerSymbol's glowing color value.
 long getInterval()
          Returns the distance between the point and callout box.
 String getOutline()
          Returns the CalloutMarkerSymbol's outline color value.
 String getShadow()
          Returns the CalloutMarkerSymbol's shadow color value.
 double getTransparency()
          Returns the transparency value associated with this CalloutMarkerSymbol.
 String getType()
          Returns the type of symbol, "CalloutMarker".
 boolean isAntialiasing()
          Determines if the antialiasing property is set as active.
 void setAntialiasing(boolean value)
          Sets the antialiasing value for the CalloutMarkerSymbol.
 void setBackColor(String value)
          Sets the CalloutMarkerSymbol's background color with given value.
 void setBoundaryColor(String value)
          Sets the CalloutMarkerSymbol's boundary color.
 void setFont(String value)
          Sets the given font name for this CalloutMarkerSymbol.
 void setFontColor(String value)
          Sets the font color for this CalloutMarkerSymbol.
 void setFontSize(long value)
          Sets the given value as font size for this CalloutMarkerSymbol.
 void setFontStyle(String value)
          Sets the CalloutMarkerSymbol's font style.
 void setGlowing(String value)
          Sets the given value as glowing color for this CalloutMarkerSymbol.
 void setInterval(long value)
          Sets the distance between the point and callout box.
 void setOutline(String value)
          Sets the outline font color for this CalloutMarkerSymbol.
 void setShadow(String value)
          Sets the CalloutMarkerSymbol's shadow color using given value.
 void setTransparency(double value)
          Sets the percentage of transparency for this CalloutMarkerSymbol.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REGULAR

public static final String REGULAR
See Also:
Constant Field Values

BOLD

public static final String BOLD
See Also:
Constant Field Values

ITALIC

public static final String ITALIC
See Also:
Constant Field Values

UNDERLINE

public static final String UNDERLINE
See Also:
Constant Field Values

OUTLINE

public static final String OUTLINE
See Also:
Constant Field Values

BOLDITALIC

public static final String BOLDITALIC
See Also:
Constant Field Values
Constructor Detail

CalloutMarkerSymbol

public CalloutMarkerSymbol()
Constructs an instance of a CalloutMarkerSymbol.

CalloutMarkerSymbol calloutMarker = new CalloutmarkerSymbol();

Method Detail

getType

public String getType()
Returns the type of symbol, "CalloutMarker".

Specified by:
getType in class Symbol
Returns:
String

setTransparency

public void setTransparency(double value)
Sets the percentage of transparency for this CalloutMarkerSymbol.

calloutMarker.setTransparency(1.0);

Parameters:
value - the transparency value. 1.0 is 0 percent transparent. 0.0 is 100 percent transparent.
See Also:
getTransparency()

setAntialiasing

public void setAntialiasing(boolean value)
Sets the antialiasing value for the CalloutMarkerSymbol. Note that the time to generate a map may significantly increase when this property is set to True.

calloutMarker.setAntialiasing(true);

Parameters:
value - the antialiasing value that is used to make edges of labels and symbols smoother. When set to True, antialiasing is active.
See Also:
isAntialiasing()

setFont

public void setFont(String value)
Sets the given font name for this CalloutMarkerSymbol. Note that the font name is case sensitive. If font name uses the character "&", use "&" instead. For example, ESRI Transportation & Civic should be written as ESRI Transportation & Civic. For Feature Service, the font must reside on the client machine or else the system default font is used.

calloutMarker.setFont("arial");

Parameters:
value - the font name.
See Also:
getFont()

setFontSize

public void setFontSize(long value)
Sets the given value as font size for this CalloutMarkerSymbol.

calloutMarker.setFontSize(10);

Parameters:
value - the fontsize value.
See Also:
getFontSize()

setFontColor

public void setFontColor(String value)
Sets the font color for this CalloutMarkerSymbol.

calloutMarker.setFontColor("255,0,0");

Parameters:
value - the font color.
See Also:
getFontColor()

setOutline

public void setOutline(String value)
Sets the outline font color for this CalloutMarkerSymbol.

calloutMarker.setOutline("100,100,100");

Parameters:
value - the font outline color.
See Also:
getOutline()

setGlowing

public void setGlowing(String value)
Sets the given value as glowing color for this CalloutMarkerSymbol.

calloutMarker.setGlowing("200,200,200");

Parameters:
value - the glowing color value.
See Also:
getGlowing()

setShadow

public void setShadow(String value)
Sets the CalloutMarkerSymbol's shadow color using given value.

calloutMarker.setShadow("100,100,100");

Parameters:
value - the shadow color value.
See Also:
getShadow()

setBackColor

public void setBackColor(String value)
Sets the CalloutMarkerSymbol's background color with given value.

calloutMarker.setBackColor("50,50,50");

Parameters:
value - the background color value.
See Also:
getBackColor()

setInterval

public void setInterval(long value)
Sets the distance between the point and callout box. A smaller number brings the box closer to the point.

calloutMarker.setInterval(5);

Parameters:
value - the interval value.
See Also:
getInterval()

setBoundaryColor

public void setBoundaryColor(String value)
Sets the CalloutMarkerSymbol's boundary color.

calloutMarker.setBoundaryColor("25,25,25");

Parameters:
value - the boundary color value.
See Also:
getBoundaryColor()

setFontStyle

public void setFontStyle(String value)
Sets the CalloutMarkerSymbol's font style.

calloutMarker.setFontStyle("Arial");

Parameters:
value - the font style value.
See Also:
getFontStyle()

getTransparency

public double getTransparency()
Returns the transparency value associated with this CalloutMarkerSymbol.

double transparency = calloutMarker.getTransparency();

Returns:
the transparency value as double.
See Also:
setTransparency(double)

isAntialiasing

public boolean isAntialiasing()
Determines if the antialiasing property is set as active.

if(calloutMarker.isAntialiasing() == true){
       calloutMarker.setAntialiasing(false);
}

Returns:
a boolean value.
See Also:
setAntialiasing(boolean)

getFont

public String getFont()
Returns the CalloutMarkerSymbol's font value.

String font = calloutMarker.getFont();

Returns:
the font name as string
See Also:
setFont(java.lang.String)

getFontSize

public long getFontSize()
Returns the CalloutMarkerSymbol's fontsize value.

long size = calloutMarker.getFontSize();

Returns:
long
See Also:
setFontSize(long)

getFontColor

public String getFontColor()
Returns the font color associated with this CalloutMarkerSymbol.

String color = calloutMarker.getFontColor();

Returns:
String
See Also:
setFontColor(java.lang.String)

getOutline

public String getOutline()
Returns the CalloutMarkerSymbol's outline color value.

String outline = calloutMarker.getOutline();

Returns:
String
See Also:
setOutline(java.lang.String)

getGlowing

public String getGlowing()
Returns the CalloutMarkerSymbol's glowing color value.

String glowing = calloutMarker.getGlowing();

Returns:
String
See Also:
setGlowing(java.lang.String)

getShadow

public String getShadow()
Returns the CalloutMarkerSymbol's shadow color value.

String shadow = calloutMarker.getShadow();

Returns:
String
See Also:
setShadow(java.lang.String)

getBackColor

public String getBackColor()
Returns the CalloutMarkerSymbol's background color value.

String backColor = calloutMarker.getBackColor();

Returns:
String
See Also:
setBackColor(java.lang.String)

getInterval

public long getInterval()
Returns the distance between the point and callout box.

long interval = calloutMarker.getInterval();

Returns:
long
See Also:
setInterval(long)

getBoundaryColor

public String getBoundaryColor()
Returns the CalloutMarkerSymbol's boundary color value.

String boundaryColor = calloutMarker.getBoundaryColor();

Returns:
String
See Also:
setBoundaryColor(java.lang.String)

getFontStyle

public String getFontStyle()
Returns the CalloutMarkerSymbol's font style value.

String fontStyle = calloutMarker.getFontStyle();

Returns:
String
See Also:
setFontStyle(java.lang.String)