com.esri.aims.mtier.model.acetate
Class Polyline

java.lang.Object
  extended by com.esri.aims.mtier.model.acetate.Polyline
All Implemented Interfaces:
AcetateElement, Shape, Serializable

public class Polyline
extends Object
implements Shape, Serializable

Represents data for a polyline feature.

See Also:
Serialized Form

Constructor Summary
Polyline()
          Constructs an instance of a Polyline object.
 
Method Summary
 void addPath(Path value)
          Adds the given Path object to this collection.
 void clearPath()
          Clears all Path objects from this collection.
 Path getPath(int value)
          Returns a Path object by index from this collection.
 int getPathCount()
          Returns the count of Path objects in this collection.
 String getType()
          Returns the name string that defines the type of this acetate object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Polyline

public Polyline()
Constructs an instance of a Polyline object. Example: Polyline polyline = new Polyline();

Method Detail

getType

public String getType()
Returns the name string that defines the type of this acetate object.

Specified by:
getType in interface Shape
Returns:
String

addPath

public void addPath(Path value)
Adds the given Path object to this collection.

Parameters:
value - the Path object to add.
See Also:
getPath(int), clearPath()

getPath

public Path getPath(int value)
Returns a Path object by index from this collection. Example: Path path = polyline.getPath(0);

Parameters:
value - the item in the collection.
Returns:
Path
See Also:
addPath(com.esri.aims.mtier.model.acetate.Path)

getPathCount

public int getPathCount()
Returns the count of Path objects in this collection. Example: int pathCount = polyline.getPathCount();

Returns:
int

clearPath

public void clearPath()
Clears all Path objects from this collection. Example: polyline.clearPath();

See Also:
addPath(com.esri.aims.mtier.model.acetate.Path)