|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.adf.web.data.symbol.WebSymbol
com.esri.adf.web.data.symbol.WebScalebarSymbol
public class WebScalebarSymbol
WebScalebarSymbol
represents a scalebar symbol.
Field Summary |
---|
Fields inherited from class com.esri.adf.web.data.symbol.WebSymbol |
---|
transparency |
Constructor Summary | |
---|---|
WebScalebarSymbol()
Creates an empty instance of WebScalebarSymbol |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Font |
getFont()
Returns the scalebar label font |
double |
getMapDistance()
Returns the map distance |
String |
getType()
Returns the scale bar type. |
int |
getUnit()
Returns an constant integer for unit the constant is defined in MeasureUtil class. |
int |
getWidth()
Returns the width of the scalebar. |
int |
hashCode()
|
void |
setFont(Font scaleLabelFont)
Sets the font used for drawing the label on the scalebar |
void |
setMapDistance(double mapDistance)
Sets the map distance what the symbol's width represents. |
void |
setType(String type)
Sets the scalebar type |
void |
setUnit(int mapUnit)
Sets the unit label. |
void |
setWidth(int width)
Sets the width of the scalebar. |
String |
toString()
|
Methods inherited from class com.esri.adf.web.data.symbol.WebSymbol |
---|
getAngle, getTransparency, isAntialiasing, setAngle, setAntialiasing, setTransparency |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WebScalebarSymbol()
WebScalebarSymbol
Method Detail |
---|
public void setType(String type)
type
- - StringWebScaleBar
public String getType()
getType
in class WebSymbol
WebScaleBar
public void setWidth(int width)
setWidth
in class WebSymbol
width
- - the width of the scalebarpublic int getWidth()
getWidth
in class WebSymbol
public void setMapDistance(double mapDistance)
mapDistance
- - a double numberpublic double getMapDistance()
public void setUnit(int mapUnit)
mapUnit
- - intclass
public int getUnit()
public void setFont(Font scaleLabelFont)
scaleLabelFont
- - a Font objectpublic Font getFont()
public String toString()
toString
in class WebSymbol
public int hashCode()
hashCode
in class WebSymbol
public boolean equals(Object obj)
equals
in class WebSymbol
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |