|
|||||||||
| 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(java.lang.Object obj)
|
java.awt.Font |
getFont()
Returns the scalebar label font |
double |
getMapDistance()
Returns the map distance |
java.lang.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(java.awt.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(java.lang.String type)
Sets the scalebar type |
void |
setUnit(int mapUnit)
Sets the unit label. |
void |
setWidth(int width)
Sets the width of the scalebar. |
java.lang.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(java.lang.String type)
type - - StringWebScaleBarpublic java.lang.String getType()
getType in class WebSymbolWebScaleBarpublic void setWidth(int width)
setWidth in class WebSymbolwidth - - the width of the scalebarpublic int getWidth()
getWidth in class WebSymbolpublic void setMapDistance(double mapDistance)
mapDistance - - a double numberpublic double getMapDistance()
public void setUnit(int mapUnit)
mapUnit - - intclasspublic int getUnit()
public void setFont(java.awt.Font scaleLabelFont)
scaleLabelFont - - a Font objectpublic java.awt.Font getFont()
public java.lang.String toString()
toString in class WebSymbolpublic int hashCode()
hashCode in class WebSymbolpublic boolean equals(java.lang.Object obj)
equals in class WebSymbol
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||