|
|||||||||
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.ShieldSymbol
public class ShieldSymbol
This object is used for drawing predefined highway shields.
Field Summary | |
---|---|
static String |
BOLD
|
static String |
BOLDITALIC
|
static String |
FULL
|
static String |
ITALIC
|
static String |
NUMERICONLY
|
static String |
OUTLINE
|
static String |
REGULAR
|
static String |
UNDERLINE
|
Constructor Summary | |
---|---|
ShieldSymbol()
Constructs an instance of a ShieldSymbol object. |
Method Summary | |
---|---|
String |
getFont()
Returns the ShieldSymbol's font value. |
String |
getFontColor()
Returns the ShieldSymbol's font color value. |
long |
getFontSize()
Returns the ShieldSymbol's font size value. |
String |
getFontStyle()
Returns the ShieldSymbol's font style value. |
String |
getLabelMode()
Returns the ShieldSymbol's label mode value. |
long |
getMinSize()
Returns the ShieldSymbol's minimum size value. |
String |
getShadow()
Returns the ShieldSymbol's shadow color value. |
String |
getShieldType()
Returns the ShieldSymbol's type value. |
String |
getType()
Abstract method returns the type of symbol that the Symbol object represents. |
boolean |
isAntialiasing()
Returns True, if ShieldSymbol's antialiasing value has been set to True. |
void |
setAntialiasing(boolean value)
Sets the ShieldSymbol's antialiasing value. |
void |
setFont(String value)
Sets the ShieldSymbol's font value. |
void |
setFontColor(String value)
Sets the ShieldSymbol's font color value. |
void |
setFontSize(long value)
Sets the ShieldSymbol's fontsize value. |
void |
setFontStyle(String value)
Sets the ShieldSymbol's font style value. |
void |
setLabelMode(String value)
Sets the ShieldSymbol's label mode value. |
void |
setMinSize(long value)
Sets the ShieldSymbol's minsize value. |
void |
setShadow(String value)
Sets the ShieldSymbol's shadow color. |
void |
setShieldType(String value)
Sets the ShieldSymbol's shield type value. |
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
public static final String FULL
public static final String NUMERICONLY
Constructor Detail |
---|
public ShieldSymbol()
ShieldSymbol shieldSymbol = new ShieldSymbol();
Method Detail |
---|
public String getType()
Symbol
getType
in class Symbol
public void setFont(String value)
shieldSymbol.setFont("arial");
value
- the font value.getFont()
public void setAntialiasing(boolean value)
shieldSymbol.setAntialiasing(true);
value
- the antialiasing value.isAntialiasing()
public void setFontSize(long value)
shieldSymbol.setFontSize(15);
value
- the font size value.getFontSize()
public void setFontStyle(String value)
shieldSymbol.setFontStyle("BOLD");
value
- the font style value.getFontStyle()
public void setFontColor(String value)
shieldSymbol.setFontColor("255,0,0");
value
- the font color value.getFontColor()
public void setShadow(String value)
shieldSymbol.setShadow("0,0,0");
value
- the shadow color value.getShadow()
public void setShieldType(String value)
shieldSymbol.setShieldType("interstate");
value
- the shield type.getShieldType()
public void setLabelMode(String value)
shieldSymbol.setLabelMode("full");
value
- the label mode.getLabelMode()
public void setMinSize(long value)
shieldSymbol.setMinSize(5);
value
- the minsize value.getMinSize()
public boolean isAntialiasing()
if(shieldSymbol.isAntialiasing() == true){
shieldSymbol.setAntialiasing(false);
}
setAntialiasing(boolean)
public String getFont()
String font = shieldSymbol.getFont();
setFont(java.lang.String)
public long getFontSize()
int size = shieldSymbol.getFontSize();
setFontSize(long)
public String getFontStyle()
String style = shieldSymbol.getFontStyle();
setFontStyle(java.lang.String)
public String getFontColor()
String color = shieldSymbol.getFontColor();
setFontColor(java.lang.String)
public String getShadow()
String shadow = shieldSymbol.getShadow();
setShadow(java.lang.String)
public String getShieldType()
String type = shieldSymbol.getType();
setShieldType(java.lang.String)
public String getLabelMode()
String labelMode = shieldSymbol.getLabelMode();
setLabelMode(java.lang.String)
public long getMinSize()
long minSize = shieldSymbol.getMinSize();
setMinSize(long)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |