|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.aims.mtier.model.acetate.Object
com.esri.aims.mtier.model.acetate.Line
public class Line
Renders a line as an acetate layer, or defines a line for use with a FeatureLayer's Filter object. The Line object extends the Object class from the acetate package.
Constructor Summary | |
---|---|
Line()
Constructs an instance of a Line object. |
Method Summary | |
---|---|
String |
getID()
Returns the ID associated with this Line object. |
String |
getName()
Returns the Line object's name value. |
Points |
getPoints()
Returns the Points object associated with this Line object. |
Symbol |
getSymbol()
Returns the symbol object assigned to this Line object. |
String |
getType()
Returns a name string that defines the type of this acetate object. |
void |
setID(String value)
Sets the given string as ID for this Line object. |
void |
setName(String value)
Sets the given name value for this Line object. |
void |
setPoints(Points object)
Sets the Points object used to construct the line. |
void |
setSymbol(Object object)
Assigns the given symbol object to the Line object for rendering of the line. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Line()
Line line = new Line();
Method Detail |
---|
public String getType()
String type = line.getType();
getType
in interface Shape
getType
in class Object
public void setName(String value)
line.setName("roads");
value
- the name value.getName()
public String getName()
String name = line.getName();
setName(java.lang.String)
public void setID(String value)
line.setID("line-1");
value
- the ID value.getID()
public String getID()
String lineid = line.getID();
setID(java.lang.String)
public void setSymbol(Object object)
SimpleLineSymbol simpleLine = new SimpleLineSymbol();
simpleLine.setWidth(10);
simpleLine.setLineType("dash");
line.setSymbol(simpleLine);
object
- the symbol object.getSymbol()
public Symbol getSymbol()
SimpleLineSymbol simpleLine = (SimpleLineSymbol)line.getSymbol();
setSymbol(java.lang.Object)
public void setPoints(Points object)
Points pnts = new Points();
Point pnt = new Point();
pnt.setX(-125.00);
pnt.setY(45.0);
pnts.setPointObject(pnt);
line.setPoints(pnts);
object
- the Points object.getPoints()
public Points getPoints()
Points pnts = line.getPoints();
setPoints(com.esri.aims.mtier.model.acetate.Points)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |