|
|||||||||
| 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
public abstract class WebSymbol
WebSymbol is an abstract super class for all symbol classes. Developers are expected to instantiate
WebSymbol's subclasses.
| Field Summary | |
|---|---|
protected double |
transparency
|
| Constructor Summary | |
|---|---|
WebSymbol()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
double |
getAngle()
Returns the symbol angle, default value is 0. |
double |
getTransparency()
Returns the symbol transparency value. |
abstract java.lang.String |
getType()
Returns the type of symbol that the Symbol object represents. |
int |
getWidth()
Returns width of the symbol. |
int |
hashCode()
|
boolean |
isAntialiasing()
Returns true if the symbol antialiasing value is set to true. |
void |
setAngle(double angle)
Sets the symbol angle value, default value is 0. |
void |
setAntialiasing(boolean antialiasing)
Sets the antialiasing value for this symbol. |
void |
setTransparency(double transparency)
Sets the percentage of transparency for this symbol, default value is 1.0 |
void |
setWidth(int width)
Sets the width of the symbol, default value is 0. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected double transparency
| Constructor Detail |
|---|
public WebSymbol()
| Method Detail |
|---|
public abstract java.lang.String getType()
public void setAngle(double angle)
angle - the symbol angle value in degrees. The angle of the symbol is calculated in a clockwise directionpublic double getAngle()
public void setAntialiasing(boolean antialiasing)
antialiasing - the antialiasing value, default value is falseisAntialiasing()public boolean isAntialiasing()
true if the symbol antialiasing value is set to true.
setAntialiasing(boolean)public void setTransparency(double transparency)
For Example, symbol.setTransparency(1.0);
transparency - the transparency value. 1.0 is 0 percent transparent and 0.0 is
100 percent transparentgetTransparency()public double getTransparency()
For Example, double transparency = symbol.getTransparency();
setTransparency(double)public void setWidth(int width)
width - the symbol width in pixelspublic int getWidth()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||