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

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.ShieldSymbol
All Implemented Interfaces:
Serializable

public class ShieldSymbol
extends Symbol

This object is used for drawing predefined highway shields.

See Also:
Serialized Form

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

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

FULL

public static final String FULL
See Also:
Constant Field Values

NUMERICONLY

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

ShieldSymbol

public ShieldSymbol()
Constructs an instance of a ShieldSymbol object. Example:
ShieldSymbol shieldSymbol = new ShieldSymbol();

Method Detail

getType

public String getType()
Description copied from class: Symbol
Abstract method returns the type of symbol that the Symbol object represents.

Specified by:
getType in class Symbol
Returns:
String

setFont

public void setFont(String value)
Sets the ShieldSymbol's font value. Example:
shieldSymbol.setFont("arial");

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

setAntialiasing

public void setAntialiasing(boolean value)
Sets the ShieldSymbol's antialiasing value. Note that the time to generate a map may significantly increase when this property is set to True. Example:
shieldSymbol.setAntialiasing(true);

Parameters:
value - the antialiasing value.
See Also:
isAntialiasing()

setFontSize

public void setFontSize(long value)
Sets the ShieldSymbol's fontsize value. Example:
shieldSymbol.setFontSize(15);

Parameters:
value - the font size value.
See Also:
getFontSize()

setFontStyle

public void setFontStyle(String value)
Sets the ShieldSymbol's font style value. Example:
shieldSymbol.setFontStyle("BOLD");

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

setFontColor

public void setFontColor(String value)
Sets the ShieldSymbol's font color value. Example:
shieldSymbol.setFontColor("255,0,0");

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

setShadow

public void setShadow(String value)
Sets the ShieldSymbol's shadow color. Example:
shieldSymbol.setShadow("0,0,0");

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

setShieldType

public void setShieldType(String value)
Sets the ShieldSymbol's shield type value. Example:
shieldSymbol.setShieldType("interstate");

Parameters:
value - the shield type.
See Also:
getShieldType()

setLabelMode

public void setLabelMode(String value)
Sets the ShieldSymbol's label mode value. Example:
shieldSymbol.setLabelMode("full");

Parameters:
value - the label mode.
See Also:
getLabelMode()

setMinSize

public void setMinSize(long value)
Sets the ShieldSymbol's minsize value. Example:
shieldSymbol.setMinSize(5);

Parameters:
value - the minsize value.
See Also:
getMinSize()

isAntialiasing

public boolean isAntialiasing()
Returns True, if ShieldSymbol's antialiasing value has been set to True. Example:
 if(shieldSymbol.isAntialiasing() == true){
  shieldSymbol.setAntialiasing(false);
 }
 

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

getFont

public String getFont()
Returns the ShieldSymbol's font value. Example:
String font = shieldSymbol.getFont();

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

getFontSize

public long getFontSize()
Returns the ShieldSymbol's font size value. Example:
int size = shieldSymbol.getFontSize();

Returns:
long
See Also:
setFontSize(long)

getFontStyle

public String getFontStyle()
Returns the ShieldSymbol's font style value. Example:
String style = shieldSymbol.getFontStyle();

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

getFontColor

public String getFontColor()
Returns the ShieldSymbol's font color value. Example:
String color = shieldSymbol.getFontColor();

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

getShadow

public String getShadow()
Returns the ShieldSymbol's shadow color value. Example:
String shadow = shieldSymbol.getShadow();

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

getShieldType

public String getShieldType()
Returns the ShieldSymbol's type value. Example: String type = shieldSymbol.getType();

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

getLabelMode

public String getLabelMode()
Returns the ShieldSymbol's label mode value. Example:
String labelMode = shieldSymbol.getLabelMode();

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

getMinSize

public long getMinSize()
Returns the ShieldSymbol's minimum size value. Example:
long minSize = shieldSymbol.getMinSize();

Returns:
long
See Also:
setMinSize(long)