|
||||||||||
| 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.IlvGraphicPath
ilog.views.maps.graphic.IlvMapGraphicPath
ilog.views.maps.beans.IlvMapAnnotationToolBar.MapGraphicPath
public static class IlvMapAnnotationToolBar.MapGraphicPath
An IlvMapGraphicPath for annotations. This graphic path should be created
with an array of IlvPointArray of only one element.
| Field Summary |
|---|
| Fields inherited from class ilog.views.graphic.IlvGraphicPath |
|---|
FILL_ONLY, STROKE_AND_FILL, STROKE_ONLY |
| Constructor Summary | |
|---|---|
IlvMapAnnotationToolBar.MapGraphicPath(IlvInputStream stream)
Reads a MapGraphicPath from an IlvInputStream. |
|
IlvMapAnnotationToolBar.MapGraphicPath(IlvMapAnnotationToolBar.MapGraphicPath path)
Creates a MapGraphicPath by copying an existing one. |
|
IlvMapAnnotationToolBar.MapGraphicPath(IlvPointArray[] pa)
Creates a MapGraphicPath from a one length array of
IlvPointArray. |
|
| Method Summary | |
|---|---|
boolean |
allowsPointInsertion()
Returns true if the interactors are allowed to add points, and
false otherwise.
This component allows point insertion. |
boolean |
allowsPointMove(int index)
Returns true if the interactors are allowed to move the point
with the specified index, and returns false otherwise.
This component allows point movement. |
boolean |
allowsPointRemoval()
Returns true if the interactors are allowed to remove points,
and false otherwise.
This component allows point removal. |
void |
applyTransform(IlvTransformer t)
Applies a transformation to the shape of the object. Possibly perform a label layout |
IlvGraphic |
copy()
Copies the objects. |
IlvPoint |
getPointAt(int index,
IlvTransformer t)
Returns the point at a specified index. Possibly perform a label layout. |
int |
getPointsCardinal()
Returns the number of points. Possibly perform a label layout. |
void |
insertPoint(int index,
float x,
float y,
IlvTransformer t)
Inserts a point. |
void |
movePoint(int index,
float x,
float y,
IlvTransformer t)
Changes the position of a point. Possibly perform a label layout. |
boolean |
pointsInBBox()
Returns true if all points are contained inside
the bounding rectangle of the object. |
void |
removePoint(int index,
IlvTransformer t)
Removes a point. |
| Methods inherited from class ilog.views.maps.graphic.IlvMapGraphicPath |
|---|
boundingBox, contains, copy, draw, equals, getBackground, getDecoration, getDecorationPaint, getDrawRule, getForeground, getLineStyle, getLineWidth, getMaximumLineWidth, getPaint, getStyle, isDecorationOnly, makeGeometry, setBackground, setDecoration, setDecorationOnly, setDecorationPaint, setForeground, setLineStyle, setLineWidth, setMaximumLineWidth, setPaint, setStyle, write |
| Methods inherited from class ilog.views.graphic.IlvGraphicPath |
|---|
getIntersectionWithOutline, getNumPaths, getPaths, setDrawRule, setPaths, setPaths |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ilog.views.IlvPolyPointsInterface |
|---|
boundingBox |
| Constructor Detail |
|---|
public IlvMapAnnotationToolBar.MapGraphicPath(IlvPointArray[] pa)
MapGraphicPath from a one length array of
IlvPointArray.
pa - The one length array of IlvPointArray.
public IlvMapAnnotationToolBar.MapGraphicPath(IlvInputStream stream)
throws IlvReadFileException
MapGraphicPath from an IlvInputStream.
stream - The stream to read from.
IlvReadFileExceptionpublic IlvMapAnnotationToolBar.MapGraphicPath(IlvMapAnnotationToolBar.MapGraphicPath path)
MapGraphicPath by copying an existing one.
path - The MapGraphicPath to copy.| Method Detail |
|---|
public IlvGraphic copy()
copy in class IlvMapGraphicPathIlvMapGraphicPath object.IlvGraphicpublic void applyTransform(IlvTransformer t)
applyTransform in class IlvGraphicPatht - The transformer to be applied.IlvGraphicpublic int getPointsCardinal()
getPointsCardinal in interface IlvPolyPointsInterface
public IlvPoint getPointAt(int index,
IlvTransformer t)
getPointAt in interface IlvPolyPointsInterfaceindex - The index.t - The transformer used to draw the object.
public void movePoint(int index,
float x,
float y,
IlvTransformer t)
movePoint in interface IlvPolyPointsInterfaceindex - The index of the point to be moved.x - The new x location.y - The new y location.t - The transformer used to draw the object.
Note that the x, y coordinates are not transformed by the transformer.public boolean allowsPointInsertion()
true if the interactors are allowed to add points, and
false otherwise.
This component allows point insertion.
allowsPointInsertion in interface IlvPolyPointsInterfacepublic boolean allowsPointRemoval()
true if the interactors are allowed to remove points,
and false otherwise.
This component allows point removal.
allowsPointRemoval in interface IlvPolyPointsInterfacepublic boolean allowsPointMove(int index)
true if the interactors are allowed to move the point
with the specified index, and returns false otherwise.
This component allows point movement.
allowsPointMove in interface IlvPolyPointsInterfaceindex - The index of the point.
public void insertPoint(int index,
float x,
float y,
IlvTransformer t)
insertPoint in interface IlvPolyPointsInterfaceindex - 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 polypoint.
public void removePoint(int index,
IlvTransformer t)
removePoint in interface IlvPolyPointsInterfaceindex - The index of the point to remove.t - The transformer used to draw the polypoint.public boolean pointsInBBox()
true if all points are contained inside
the bounding rectangle of the object.
pointsInBBox in interface IlvPolyPointsInterface
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||