|
|||||||||
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 String |
TYPE
|
Fields inherited from class com.esri.adf.web.data.symbol.WebSymbol |
---|
transparency |
Constructor Summary | |
---|---|
WebSimpleMarkerSymbol()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
geColor()
Deprecated. replaced by getColor() |
String |
getColor()
Returns the WebSimpleMarkerSymbol 's color value. |
int |
getMarkerType()
Returns the WebSimpleMarkerSymbol 's marker type value. |
String |
getOutlineColor()
Returns the WebSimpleMarkerSymbol 's outline color. |
String |
getType()
Returns the type of the symbol as "SimpleMarker" |
int |
getWidth()
Returns the width of the marker symbol. |
double |
getXOffset()
Returns the x-axis offset. |
double |
getYOffset()
Returns the y-axis offset. |
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(String color)
Sets the WebSimpleMarkerSymbol 's color value. |
void |
setMarkerType(int type)
Sets the WebSimpleMarkerSymbol 's type value. |
void |
setOutlineColor(String outlineColor)
Sets the WebSimpleMarkerSymbol 's outline color. |
void |
setWidth(int width)
Sets the WebSimpleMarkerSymbol 's width. |
void |
setXOffset(double xOffset)
Sets the symbol x-axis offset. |
void |
setYOffset(double yOffset)
Sets the symbol y-axis offset. |
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 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 String getType()
getType
in class WebSymbol
TYPE
public void setWidth(int width)
WebSimpleMarkerSymbol
's width. By default the width of the symbol is 20.
setWidth
in class WebSymbol
width
- the width of the marker symbolpublic int getWidth()
getWidth
in class WebSymbol
public void setAntialiasing(boolean antialiasing)
WebSimpleMarkerSymbol
. By default the value is true. To get
better performance set the value to false.
setAntialiasing
in class WebSymbol
antialiasing
- the antialiasing value, default value is trueisAntialiasing()
public boolean isAntialiasing()
true
if the WebSimpleMarkerSymbol
's antialiasing value is set to true.
isAntialiasing
in class WebSymbol
setAntialiasing(boolean)
public void setColor(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 String geColor()
getColor()
WebSimpleMarkerSymbol
's color value.
Example: String color wSimpleMarker.getColor();
setColor(java.lang.String)
public 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 WebSimpleMarkerSymbol
getMarkerType()
public int getMarkerType()
WebSimpleMarkerSymbol
's marker type value.
Example: int type = wSimpleMarker.getMarkerType();
setMarkerType(int)
public void setOutlineColor(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 String getOutlineColor()
Returns the WebSimpleMarkerSymbol
's outline color.
Example: String outline = wSimpleMarker.getOutlineColor();
setOutlineColor(java.lang.String)
public void setXOffset(double xOffset)
xOffset
- the x-axis offset.public double getXOffset()
public void setYOffset(double yOffset)
yOffset
- the y-axis offset.public double getYOffset()
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 |