|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.aims.mtier.model.map.layer.renderer.symbol.Symbol com.esri.aims.mtier.model.map.layer.renderer.symbol.SimpleMarkerSymbol
public class SimpleMarkerSymbol
Used to symbolize point features using one of the predefined symbol types: CIRCLE, TRIANGLE, SQUARE, CROSS, or a STAR.
Field Summary | |
---|---|
static String |
CIRCLE
|
static String |
CROSS
|
static String |
SQUARE
|
static String |
STAR
|
static String |
TRIANGLE
|
Constructor Summary | |
---|---|
SimpleMarkerSymbol()
Constructs an instance of a SimpleMarkerSymbol. |
Method Summary | |
---|---|
String |
getColor()
Returns the SimpleMarkerSymbol's color value. |
String |
getMarkerType()
Returns the SimpleMarkerSymbol's type value. |
String |
getOutline()
Returns the SimpleMarkerSymbol's outline value. |
String |
getShadow()
Returns the SimpleMarkerSymbol's shadow value. |
double |
getTransparency()
Returns the SimpleMarkerSymbol's transparency value. |
String |
getType()
Abstract method returns the type of symbol that the Symbol object represents. |
long |
getWidth()
Returns the SimpleMarkerSymbol's width value. |
boolean |
isAntialiasing()
Returns true if the SimpleMarkerSymbol's antialiasing value is set to true. |
boolean |
isOverlap()
Returns True if the SimpleMarkerSymbol's overlap value is set to true. |
boolean |
isUseCentroid()
Returns true if the SimpleMarkerSymbol's usecentroid value is set to true. |
void |
setAntialiasing(boolean value)
Sets the SimpleMarkerSymbol's antialiasing value. |
void |
setColor(String value)
Sets the SimpleMarkerSymbol's color value. |
void |
setMarkerType(String value)
Sets the SimpleMarkerSymbol's type value. |
void |
setOutline(String value)
Sets the SimpleMarkerSymbol's outline value. |
void |
setOverlap(boolean value)
Sets the SimpleMarkerSymbol's overlap value. |
void |
setShadow(String value)
Sets the SimpleMarkerSymbol's shadow value. |
void |
setTransparency(double value)
Sets the SimpleMarkerSymbol's transparency value. |
void |
setUseCentroid(boolean value)
Sets the SimpleMarkerSymbol's usecentroid value. |
void |
setWidth(long value)
Sets the SimpleMarkerSymbol's width value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CIRCLE
public static final String TRIANGLE
public static final String SQUARE
public static final String CROSS
public static final String STAR
Constructor Detail |
---|
public SimpleMarkerSymbol()
SimpleMarkerSymbol simpleMarker = new SimpleMarkerSymbol();
Method Detail |
---|
public String getType()
Symbol
getType
in class Symbol
public void setTransparency(double value)
simpleMarker.setTransparency(1.0);
value
- the transparency value.getTransparency()
public void setAntialiasing(boolean value)
simpleMarker.setAntialiasing(false);
value
- the antialiasing value that is used to make edges of labels
and symbols smoother. When set to true, antialiasing is active.isAntialiasing()
public void setUseCentroid(boolean value)
simpleMarker.setUseCentroid(false);
value
- the usecentroid value.isUseCentroid()
public void setOutline(String value)
simpleMarker.setOutline("255,0,0");
value
- the outline value.getOutline()
public void setShadow(String value)
simpleMarker.setShadow(255,0,0");
value
- the shadow value.getShadow()
public void setColor(String value)
simpleMarker.setColor(100,0,0");
value
- the color value.getColor()
public void setMarkerType(String value)
simpleMarker.setMarkerType("circle");
value
- the SimpleMarkerSymbols type.getMarkerType()
public void setWidth(long value)
simpleMarker.setWidth(25);
value
- the SimpleMarkerSymbols width.getWidth()
public long getWidth()
long width = simpleMarker.getWidth();
setWidth(long)
public double getTransparency()
double transparency = simpleMarker.getTransparency();
setTransparency(double)
public boolean isAntialiasing()
if(simpleMarker.isAntialiasing() == true){
simpleMarker.setAntialiasing(false);
setAntialiasing(boolean)
public boolean isUseCentroid()
if(simpleMarker.isUseCentroid() == false){
simpleMarker.setUseCentroid(true);
setUseCentroid(boolean)
public String getOutline()
String outline = simpleMarker.getOutline();
setOutline(java.lang.String)
public String getShadow()
String shadow = simpleMarker.getShadow();
setShadow(java.lang.String)
public String getColor()
String color simpleMarker.getColor();
setColor(java.lang.String)
public String getMarkerType()
String type = simpleMarker.getMarkerType();
setMarkerType(java.lang.String)
public void setOverlap(boolean value)
simpleMarker.setOverlap(false);
value
- the overlap value.isOverlap()
public boolean isOverlap()
if(simpleMarker.isOverlap() == true){
simpleMarker.setOverlap(false);
setOverlap(boolean)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |