|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvGraphic
ilog.views.graphic.IlvPolyPoints
ilog.views.graphic.IlvPolyline
ilog.views.maps.graphic.IlvMapPolyline
ilog.views.maps.beans.IlvMapAnnotationToolBar.MapPolyline
public static class IlvMapAnnotationToolBar.MapPolyline
An IlvMapPolyline with annotation extensions.
| Field Summary |
|---|
| Fields inherited from class ilog.views.maps.graphic.IlvMapPolyline |
|---|
style |
| Constructor Summary | |
|---|---|
IlvMapAnnotationToolBar.MapPolyline(IlvInputStream stream)
Reads a MapPolyline from an IlvInputStream. |
|
IlvMapAnnotationToolBar.MapPolyline(IlvMapAnnotationToolBar.MapPolyline polyline)
Constructs a MapPolyline from an existing one. |
|
IlvMapAnnotationToolBar.MapPolyline(IlvPoint[] points)
Constructs a MapPolyline from an array of points. |
|
| Method Summary | |
|---|---|
void |
applyTransform(IlvTransformer t)
Applies the given transformer to this IlvPolyPoints.
Possibly perform a label layout |
IlvGraphic |
copy()
Copies the object. |
void |
insertPoint(int index,
float x,
float y,
IlvTransformer t)
Inserts a point at a specified index. Possibly perform a label layout |
boolean |
isClosed()
Indicates if this polyline is closed or not. |
void |
movePoint(int index,
float x,
float y,
IlvTransformer t)
Changes the position of a point. Possibly perform a label layout |
void |
removePoint(int index,
IlvTransformer t)
Removes a point at a specified index. Possibly perform a label layout |
void |
setClosed(boolean closed)
Determines whether this polyline is closed or not. |
void |
write(IlvOutputStream stream)
Writes this polyline in an IlvOutputStream. |
| Methods inherited from class ilog.views.maps.graphic.IlvMapPolyline |
|---|
boundingBox, contains, copy, draw, drawDecoration, getBackground, getDecoration, getDecorationPaint, getEndCap, getForeground, getLineJoin, getLineStyle, getLineWidth, getMaximumLineWidth, getStyle, isDecorationOnly, isPreciseContains, makeGeometry, setBackground, setDecoration, setDecorationOnly, setDecorationPaint, setEndCap, setForeground, setLineJoin, setLineStyle, setLineWidth, setPreciseContains, setStyle |
| Methods inherited from class ilog.views.graphic.IlvPolyline |
|---|
computeBBox, finalize, getIntersectionWithOutline, getLineWidth, pointsInBBox, setMaximumLineWidth |
| Methods inherited from class ilog.views.graphic.IlvPolyPoints |
|---|
allowsPointInsertion, allowsPointMove, allowsPointRemoval, getPointAt, getPoints, getPointsCardinal, inBBox, intersects, makeSelection, recomputeBBox |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvMapAnnotationToolBar.MapPolyline(IlvInputStream stream)
throws IlvReadFileException
MapPolyline from an IlvInputStream.
stream - The stream to read from.
IlvReadFileExceptionpublic IlvMapAnnotationToolBar.MapPolyline(IlvPoint[] points)
MapPolyline from an array of points.
points - The points in the array.public IlvMapAnnotationToolBar.MapPolyline(IlvMapAnnotationToolBar.MapPolyline polyline)
MapPolyline from an existing one.
polyline - The MapPolyline to copy.| Method Detail |
|---|
public void write(IlvOutputStream stream)
throws IOException
IlvOutputStream.
write in interface IlvPersistentObjectwrite in class IlvMapPolylinestream - The stream to write to.
IOExceptionpublic IlvGraphic copy()
copy in class IlvMapPolylineIlvMapPolyline instance.IlvGraphicpublic void applyTransform(IlvTransformer t)
IlvPolyPoints.
Possibly perform a label layout
applyTransform in class IlvPolyPointst - The transformer to be applied.IlvGraphic
public void insertPoint(int index,
float x,
float y,
IlvTransformer t)
insertPoint in interface IlvPolyPointsInterfaceinsertPoint in class IlvPolyPointsindex - The index at which the new point will be inserted.x - The x coordinate of the new point.y - The y coordinate of the new point.t - The transformer used to draw the object.
public void movePoint(int index,
float x,
float y,
IlvTransformer t)
movePoint in interface IlvPolyPointsInterfacemovePoint in class IlvPolyPointsindex - The index of the point to be moved.x - The new x position in untransformed coordinates.y - The new y position in untransformed coordinates.t - The transformer used to draw the object.
public void removePoint(int index,
IlvTransformer t)
removePoint in interface IlvPolyPointsInterfaceremovePoint in class IlvPolyPointsindex - The index of the point to be removed.t - The transformer used to draw the object.public boolean isClosed()
true, the polyline is closed, false otherwise.public void setClosed(boolean closed)
closed - If set to true the polyline is closed, false otherwise.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||