com.esri.aims.mtier.model.map.environment
Class UIFont

java.lang.Object
  extended by com.esri.aims.mtier.model.map.environment.UIFont
All Implemented Interfaces:
Serializable

public class UIFont
extends Object
implements Serializable

Contains the default font values of accessed ArcIMS services.

See Also:
Serialized Form

Constructor Summary
UIFont()
          Constructs an instance of an UIFont object.
 
Method Summary
 String getFontColor()
          Returns the font color associated with this UIFont.
 String getFontName()
          Returns the font name associated with this UIFont.
 long getFontSize()
          Returns the font size associated with this UIFont.
 String getFontStyle()
          Returns the font style associated with this UIFont.
 void setFontColor(String value)
          Sets the given font color as a RGB value for this UIFont.
 void setFontName(String value)
          Sets the font name for the UIFont object.
 void setFontSize(long value)
          Sets the given font size for this UIFont.
 void setFontStyle(String value)
          Sets the given font style for this UIFont.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIFont

public UIFont()
Constructs an instance of an UIFont object.

UIFont uifont = new UIFont();

Method Detail

setFontName

public void setFontName(String value)
Sets the font name for the UIFont object. Example:
uifont.setFontName("arial");

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

getFontName

public String getFontName()
Returns the font name associated with this UIFont. Example:
String fontname = uifont.getFontName();

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

setFontColor

public void setFontColor(String value)
Sets the given font color as a RGB value for this UIFont. Example:
uifont.setFontColor("255,0,0");

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

getFontColor

public String getFontColor()
Returns the font color associated with this UIFont. Example:
String fontcolor = uifont.getFontColor();

Returns:
the font color associated with this UIFont.
See Also:
setFontColor(java.lang.String)

setFontSize

public void setFontSize(long value)
Sets the given font size for this UIFont. Example:
uifont.setFontSize(10);

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

getFontSize

public long getFontSize()
Returns the font size associated with this UIFont. Example:
long fontsize = uifont.getFontSize()

Returns:
the font size as long.
See Also:
setFontSize(long)

setFontStyle

public void setFontStyle(String value)
Sets the given font style for this UIFont. Example:
uifont.setFontStyle("regular");

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

getFontStyle

public String getFontStyle()
Returns the font style associated with this UIFont. Example:
String fontstyle = uifont.getFontStyle();

Returns:
the font style as a string.
See Also:
setFontStyle(java.lang.String)