|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.aims.mtier.model.map.layer.renderer.symbol.Symbol com.esri.aims.mtier.model.map.layer.renderer.symbol.CalloutMarkerSymbol
public class CalloutMarkerSymbol
This object is used for label rendering and represents the ArcXML CALLOUTMARKERSYMBOL element. The CalloutMarkerSymbol object extends the Symbol object.
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 |
---|
public static final String REGULAR
public static final String BOLD
public static final String ITALIC
public static final String UNDERLINE
public static final String OUTLINE
public static final String BOLDITALIC
Constructor Detail |
---|
public CalloutMarkerSymbol()
CalloutMarkerSymbol calloutMarker = new CalloutmarkerSymbol();
Method Detail |
---|
public String getType()
getType
in class Symbol
public void setTransparency(double value)
calloutMarker.setTransparency(1.0);
value
- the transparency value. 1.0 is 0 percent transparent.
0.0 is 100 percent transparent.getTransparency()
public void setAntialiasing(boolean value)
calloutMarker.setAntialiasing(true);
value
- the antialiasing value that is used to make edges of labels
and symbols smoother. When set to True, antialiasing is active.isAntialiasing()
public void setFont(String value)
calloutMarker.setFont("arial");
value
- the font name.getFont()
public void setFontSize(long value)
calloutMarker.setFontSize(10);
value
- the fontsize value.getFontSize()
public void setFontColor(String value)
calloutMarker.setFontColor("255,0,0");
value
- the font color.getFontColor()
public void setOutline(String value)
calloutMarker.setOutline("100,100,100");
value
- the font outline color.getOutline()
public void setGlowing(String value)
calloutMarker.setGlowing("200,200,200");
value
- the glowing color value.getGlowing()
public void setShadow(String value)
calloutMarker.setShadow("100,100,100");
value
- the shadow color value.getShadow()
public void setBackColor(String value)
calloutMarker.setBackColor("50,50,50");
value
- the background color value.getBackColor()
public void setInterval(long value)
calloutMarker.setInterval(5);
value
- the interval value.getInterval()
public void setBoundaryColor(String value)
calloutMarker.setBoundaryColor("25,25,25");
value
- the boundary color value.getBoundaryColor()
public void setFontStyle(String value)
calloutMarker.setFontStyle("Arial");
value
- the font style value.getFontStyle()
public double getTransparency()
double transparency = calloutMarker.getTransparency();
setTransparency(double)
public boolean isAntialiasing()
if(calloutMarker.isAntialiasing() == true){
calloutMarker.setAntialiasing(false);
}
setAntialiasing(boolean)
public String getFont()
String font = calloutMarker.getFont();
setFont(java.lang.String)
public long getFontSize()
long size = calloutMarker.getFontSize();
setFontSize(long)
public String getFontColor()
String color = calloutMarker.getFontColor();
setFontColor(java.lang.String)
public String getOutline()
String outline = calloutMarker.getOutline();
setOutline(java.lang.String)
public String getGlowing()
String glowing = calloutMarker.getGlowing();
setGlowing(java.lang.String)
public String getShadow()
String shadow = calloutMarker.getShadow();
setShadow(java.lang.String)
public String getBackColor()
String backColor = calloutMarker.getBackColor();
setBackColor(java.lang.String)
public long getInterval()
long interval = calloutMarker.getInterval();
setInterval(long)
public String getBoundaryColor()
String boundaryColor = calloutMarker.getBoundaryColor();
setBoundaryColor(java.lang.String)
public String getFontStyle()
String fontStyle = calloutMarker.getFontStyle();
setFontStyle(java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |