|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.aims.mtier.model.acetate.Object com.esri.aims.mtier.model.acetate.Point
public class Point
Renders a point as an acetate layer, defines a point to display geocode results, or used with the points object in a FeatureLayers Filter object. The Point object extends the Object class from the acetate package.
Constructor Summary | |
---|---|
Point()
Constructs an instance of a Point object. |
Method Summary | |
---|---|
String |
getID()
Returns the ID associated with this Point object. |
String |
getName()
Returns the name string associated with this Point object. |
Symbol |
getSymbol()
Returns the symbol associated with this Point object. |
String |
getType()
Returns the type of acetate object this class represents, 'Point'. |
double |
getX()
Returns the x- coordinate location for this Point object. |
double |
getY()
Returns the y- coordinate location for this Point object. |
void |
setID(String value)
Sets the given ID for this Point object. |
void |
setName(String value)
Sets the given name string for this Point object. |
void |
setSymbol(Object object)
Assigns a symbol to this Point object for rendering. |
void |
setX(double value)
Sets the x- coordinate location for this Point object. |
void |
setY(double value)
Sets the y- coordinate location for this Point object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Point()
Example: Point point = new Point();
Method Detail |
---|
public String getType()
Example: String type = object.getType();
getType
in interface Shape
getType
in class Object
public void setX(double value)
Example: point.setX(-125.0);
value
- the x coordinate value.getX()
public double getX()
Example: double x = point.getX();
setX(double)
public void setY(double value)
Example: point.setY(45.0);
value
- the y coordinate value.getY()
public double getY()
Example: double y = point.getY();
setY(double)
public void setName(String value)
Example: point.setName("point");
value
- the name value.getName()
public String getName()
Example: String name = point.getName();
setName(java.lang.String)
public void setID(String value)
Example: point.setID("point-1");
value
- the id value.getID()
public String getID()
Example: String id = point.getID();
setID(java.lang.String)
public void setSymbol(Object object)
Example:
SimpleMarkerSymbol simpleMarker = new SimpleMarkerSymbol();
simpleMarker.setWidth(15);
point.setSymbol(simpleMarker);
object
- the symbol object.getSymbol()
public Symbol getSymbol()
Example:
if(point.getSymbol().getType().equals("SimpleMarker")){
SimpleMarkerSymbol sms = (SimpleMarkerSymbol)point.getSymbol();
}
setSymbol(java.lang.Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |