|
|||||||||
| 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.WebSimpleMarkerSymbol
public class WebSimpleMarkerSymbol
WebSimpleMarkerSymbol class is used to symbolize point features using one of the predefined symbol
types: CIRCLE, TRIANGLE, SQUARE, CROSS or a
STAR.
| Field Summary | |
|---|---|
static int |
CIRCLE
|
static int |
CROSS
|
static int |
SQUARE
|
static int |
STAR
|
static int |
TRIANGLE
|
static java.lang.String |
TYPE
|
| Fields inherited from class com.esri.adf.web.data.symbol.WebSymbol |
|---|
transparency |
| Constructor Summary | |
|---|---|
WebSimpleMarkerSymbol()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
geColor()
Deprecated. replaced by getColor() |
java.lang.String |
getColor()
Returns the WebSimpleMarkerSymbol's color value. |
int |
getMarkerType()
Returns the WebSimpleMarkerSymbol's marker type value. |
java.lang.String |
getOutlineColor()
Returns the WebSimpleMarkerSymbol's outline color. |
java.lang.String |
getType()
Returns the type of the symbol as "SimpleMarker" |
int |
getWidth()
Returns the width of the marker symbol. |
int |
hashCode()
|
boolean |
isAntialiasing()
Returns true if the WebSimpleMarkerSymbol's antialiasing value is set to true. |
void |
setAntialiasing(boolean antialiasing)
Sets the antialiasing value for this WebSimpleMarkerSymbol. |
void |
setColor(java.lang.String color)
Sets the WebSimpleMarkerSymbol's color value. |
void |
setMarkerType(int type)
Sets the WebSimpleMarkerSymbol's type value. |
void |
setOutlineColor(java.lang.String outlineColor)
Sets the WebSimpleMarkerSymbol's outline color. |
void |
setWidth(int width)
Sets the WebSimpleMarkerSymbol's width. |
java.lang.String |
toString()
|
| Methods inherited from class com.esri.adf.web.data.symbol.WebSymbol |
|---|
getAngle, getTransparency, setAngle, setTransparency |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TYPE
public static final int CIRCLE
public static final int SQUARE
public static final int TRIANGLE
public static final int CROSS
public static final int STAR
| Constructor Detail |
|---|
public WebSimpleMarkerSymbol()
| Method Detail |
|---|
public java.lang.String getType()
getType in class WebSymbolTYPEpublic void setWidth(int width)
WebSimpleMarkerSymbol's width. By default the width of the symbol is 20.
setWidth in class WebSymbolwidth - the width of the marker symbolpublic int getWidth()
getWidth in class WebSymbolpublic void setAntialiasing(boolean antialiasing)
WebSimpleMarkerSymbol. By default the value is true. To get
better performance set the value to false.
setAntialiasing in class WebSymbolantialiasing - the antialiasing value, default value is trueisAntialiasing()public boolean isAntialiasing()
true if the WebSimpleMarkerSymbol's antialiasing value is set to true.
isAntialiasing in class WebSymbolsetAntialiasing(boolean)public void setColor(java.lang.String color)
WebSimpleMarkerSymbol's color value.
wSimpleMarker.setColor("100,0,0");
color - the marker color value expressed as an RGB string with values from 0 to 255 separated with commasgetColor()@Deprecated public java.lang.String geColor()
getColor()
WebSimpleMarkerSymbol's color value.
Example: String color wSimpleMarker.getColor();
setColor(java.lang.String)public java.lang.String getColor()
WebSimpleMarkerSymbol's color value.
Example: String color wSimpleMarker.getColor();
setColor(java.lang.String)public void setMarkerType(int type)
WebSimpleMarkerSymbol's type value. The default value is
CIRCLE
wSimpleMarker.setMarkerType(WebSimpleMarkerSymbol.CROSS);
type - the type of WebSimpleMarkerSymbolgetMarkerType()public int getMarkerType()
WebSimpleMarkerSymbol's marker type value.
Example: int type = wSimpleMarker.getMarkerType();
setMarkerType(int)public void setOutlineColor(java.lang.String outlineColor)
WebSimpleMarkerSymbol's outline color.
wSimpleMarker.setOutlineColor("255,0,0");
outlineColor - the outline color value expressed as an RGB string with values from 0 to 255 separated with
commasgetOutlineColor()public java.lang.String getOutlineColor()
Returns the WebSimpleMarkerSymbol's outline color.
Example: String outline = wSimpleMarker.getOutlineColor();
setOutlineColor(java.lang.String)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 | ||||||||