com.esri.adf.web.data
Class WebNorthArrow

java.lang.Object
  extended by com.esri.adf.web.data.WebNorthArrow
All Implemented Interfaces:
WebContextInitialize, Serializable

public class WebNorthArrow
extends Object
implements WebContextInitialize, Serializable

See Also:
Serialized Form

Field Summary
static String BOLD
           
static String BOLDITALIC
           
static int DEFAULT_HEIGHT
          Default height of the northarrow.
static int DEFAULT_WIDTH
          Default width of the northarrow.
static String ITALIC
           
static String OUTLINE
           
static String REGULAR
           
static String UNDERLINE
           
 
Constructor Summary
WebNorthArrow()
           
 
Method Summary
 void destroy()
           The cleaup chores (such as releasing held resources) of attributes of a WebContext should be performed in this method.
 int getFontCharacter()
           
 String getFontColor()
           
 String getFontGlowingColor()
           
 String getFontName()
           
 String getFontOutlineColor()
           
 String getFontShadowColor()
           
 int getFontSize()
           
 String getFontStyle()
           
 int getHeight()
           
 String getImageUrl()
           
 double getTransparency()
           
 WebContext getWebContext()
           
 int getWidth()
           
 void init(WebContext context)
           The initialization chores of attributes of a WebContext should be performed in this method.
 boolean isAntialiasing()
           
 boolean isOverlap()
           
 void setAntialiasing(boolean antialiasing)
           
 void setFontCharacter(int fontCharacter)
           
 void setFontColor(String fontColor)
           
 void setFontGlowingColor(String fontGlowingColor)
           
 void setFontName(String fontName)
           
 void setFontOutlineColor(String fontOutlineColor)
           
 void setFontShadowColor(String fontShadowColor)
           
 void setFontSize(int fontSize)
           
 void setFontStyle(String fontStyle)
           
 void setHeight(int height)
           
 void setImageUrl(String northArrowMimeURL)
           
 void setOverlap(boolean overlap)
           
 void setTransparency(double transparency)
           
 void setWebContext(WebContext wContext)
          Deprecated. no replacement
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_WIDTH

public static final int DEFAULT_WIDTH
Default width of the northarrow.

See Also:
Constant Field Values

DEFAULT_HEIGHT

public static final int DEFAULT_HEIGHT
Default height of the northarrow.

See Also:
Constant Field Values

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

WebNorthArrow

public WebNorthArrow()
Method Detail

init

public void init(WebContext context)
Description copied from interface: WebContextInitialize

The initialization chores of attributes of a WebContext should be performed in this method.

Typically this method is called by the WebContext when the context itself is initialized. It is important to note that this method is again called by the context when a GISResource is dynamically added to or removed from the context. Classes that implement this method should keep this in mind and adapt the method to react to the callbacks in these circumstances as well.

A WebContext attribute is usable only after this method has been called.

Specified by:
init in interface WebContextInitialize
Parameters:
context - WebContext- the WebContext
See Also:
WebContext.init(WebContext), WebContext.addResource(String, GISResource, int), WebContext.removeResource(GISResource)

destroy

public void destroy()
Description copied from interface: WebContextInitialize

The cleaup chores (such as releasing held resources) of attributes of a WebContext should be performed in this method.

Typically this method is called by the WebContext when the context itself is destroyed.

The WebContext attribute is unusable after this method has been called.

Specified by:
destroy in interface WebContextInitialize
See Also:
WebContext.destroy()

getWebContext

public WebContext getWebContext()

getWidth

public int getWidth()

getTransparency

public double getTransparency()

isOverlap

public boolean isOverlap()

getHeight

public int getHeight()

getFontStyle

public String getFontStyle()

getFontSize

public int getFontSize()

getFontShadowColor

public String getFontShadowColor()

getFontOutlineColor

public String getFontOutlineColor()

getFontName

public String getFontName()

getFontGlowingColor

public String getFontGlowingColor()

getFontColor

public String getFontColor()

getFontCharacter

public int getFontCharacter()

isAntialiasing

public boolean isAntialiasing()

setWebContext

@Deprecated
public void setWebContext(WebContext wContext)
Deprecated. no replacement

Parameters:
wContext - WebContext

setWidth

public void setWidth(int width)

setTransparency

public void setTransparency(double transparency)

setOverlap

public void setOverlap(boolean overlap)

setHeight

public void setHeight(int height)

setFontStyle

public void setFontStyle(String fontStyle)

setFontSize

public void setFontSize(int fontSize)

setFontShadowColor

public void setFontShadowColor(String fontShadowColor)

setFontOutlineColor

public void setFontOutlineColor(String fontOutlineColor)

setFontName

public void setFontName(String fontName)

setFontGlowingColor

public void setFontGlowingColor(String fontGlowingColor)

setFontColor

public void setFontColor(String fontColor)

setFontCharacter

public void setFontCharacter(int fontCharacter)

setAntialiasing

public void setAntialiasing(boolean antialiasing)

setImageUrl

public void setImageUrl(String northArrowMimeURL)

getImageUrl

public String getImageUrl()