|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.adf.web.data.WebNorthArrow
public class WebNorthArrow
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 |
---|
public static final int DEFAULT_WIDTH
public static final int DEFAULT_HEIGHT
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 WebNorthArrow()
Method Detail |
---|
public void init(WebContext context)
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.
init
in interface WebContextInitialize
context
- WebContext
- the WebContextWebContext.init(WebContext)
,
WebContext.addResource(String, GISResource, int)
,
WebContext.removeResource(GISResource)
public void destroy()
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.
destroy
in interface WebContextInitialize
WebContext.destroy()
public WebContext getWebContext()
public int getWidth()
public double getTransparency()
public boolean isOverlap()
public int getHeight()
public String getFontStyle()
public int getFontSize()
public String getFontShadowColor()
public String getFontOutlineColor()
public String getFontName()
public String getFontGlowingColor()
public String getFontColor()
public int getFontCharacter()
public boolean isAntialiasing()
@Deprecated public void setWebContext(WebContext wContext)
wContext
- WebContextpublic void setWidth(int width)
public void setTransparency(double transparency)
public void setOverlap(boolean overlap)
public void setHeight(int height)
public void setFontStyle(String fontStyle)
public void setFontSize(int fontSize)
public void setFontShadowColor(String fontShadowColor)
public void setFontOutlineColor(String fontOutlineColor)
public void setFontName(String fontName)
public void setFontGlowingColor(String fontGlowingColor)
public void setFontColor(String fontColor)
public void setFontCharacter(int fontCharacter)
public void setAntialiasing(boolean antialiasing)
public void setImageUrl(String northArrowMimeURL)
public String getImageUrl()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |