public static class IlvMapAnnotationToolBar.MapLink extends IlvMapCompositeLink implements IlvMapAnnotationToolBar.AnnotationGraphic
IlvMapCompositeLink with annotation extensions.style| Constructor and Description |
|---|
MapLink(IlvGraphic from,
IlvGraphic to,
boolean oriented,
IlvPoint[] points)
Constructs a
MapPolyline. |
MapLink(IlvInputStream stream)
Reads a
MapPolyline from an IlvInputStream. |
MapLink(IlvMapAnnotationToolBar.MapLink polyline)
Constructs a
MapPolyline from an existing one. |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTransform(IlvTransformer t)
Applies a transformation to the shape of the object.
|
IlvGraphic |
copy()
Copies the object.
|
String |
getAnnotationType()
Returns the type of annotation for a link.
|
void |
insertPoint(int index,
double x,
double y,
IlvTransformer t)
This method delegates to the link supplied with the
setLink method. |
void |
movePoint(int index,
double x,
double y,
IlvTransformer t)
This method delegates to the link supplied with the
setLink method. |
void |
removePoint(int index,
IlvTransformer t)
This method delegates to the link supplied with the
setLink method. |
void |
write(IlvOutputStream stream)
Writes this polyline in an
IlvOutputStream. |
copy, draw, getEndCap, getForeground, getLineJoin, getLineStyle, getLineWidth, getMaximumLineWidth, getStyle, isOriented, makeGeometry, setEndCap, setForeground, setLineJoin, setLineStyle, setLineWidth, setOriented, setStyleaddObject, allowsPointInsertion, allowsPointMove, allowsPointRemoval, applyToObject, baseTextDirectionChanged, boundingBox, componentOrientationChanged, contains, createCompositeNode, doLayout, drawCore, getAction, getAlpha, getAttachableGraphic, getBaseBoundingBox, getBaseTextDirection, getChildren, getChildren, getCompositeNode, getConnectionPoints, getConnectionReferencePoint, getConstraints, getConstraints, getEventMaps, getLabel, getLabelBBox, getLineWidth, getLink, getLinkPoints, getObject, getObjects, getParent, getPointAt, getPointsCardinal, getRoot, getToolTipText, getVisibilityThresholds, getVisibilityThresholds, hasActions, invalidate, invalidateBBoxCache, isBaseTextDirectionSensitive, isSensitive, isSpline, isValid, localeChanged, moveObject, pointsInBBox, reDrawObj, reDrawRegion, removeObject, reshapeObject, setAlpha, setBaseTextDirection, setBaseTextDirectionDuringConstruction, setChildren, setChildren, setConstraints, setConstraints, setGraphicBag, setIntermediateLinkPoints, setLabel, setLink, setMaximumLineWidth, setObjectName, setSensitive, setToolTipText, setVisibilityThresholds, setVisibilityThresholds, supportMultilinearrowBBox, arrowContains, drawArrow, finalize, getArrowSize, getFrom, getFromBoundingBox, getFromTransformer, getLinkConnectorConnectionPoint, getLinkPoints, getLocalTransformerOf, getOpposite, getTo, getToBoundingBox, getToTransformer, getVisibleFrom, getVisibleTo, isPersistent, makeSelection, setFrom, setLinkPoints, setTo, zoomableaddActionListener, addNamedPropertyListener, allViewsRemoved, blinkingStateOn, boundingBox, callDraw, getAndAssociateObjectInteractor, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getComponentOrientation, getDefaultInteractor, getGraphicBag, GetGraphicObject, getIntersectionWithOutline, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenu, getPopupMenuName, getProperty, getResolvedBaseTextDirection, getToolTipBaseTextDirection, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getULocale, getZOrderIndex, hasProperty, inside, intersects, invalidateBidiCache, isComponentOrientationSensitive, isDataFlavorSupported, isEditable, isInApplyToObject, isLocaleSensitive, isMovable, isSelectable, isVisible, move, move, moveResize, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, resize, rotate, scale, setBackground, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setFillOn, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipBaseTextDirection, setVisible, setZOrderIndex, toString, translate, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemovedclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitcopy, getStyle, makeGeometry, setStylegetGraphicBagpublic MapLink(IlvInputStream stream) throws IlvReadFileException
MapPolyline from an IlvInputStream.stream - The stream to read from.IlvReadFileExceptionpublic MapLink(IlvGraphic from, IlvGraphic to, boolean oriented, IlvPoint[] points)
MapPolyline.from - The origin object.to - The destination object.oriented - If true, an arrow is drawn at the destination point.points - The points in the array.public MapLink(IlvMapAnnotationToolBar.MapLink polyline)
MapPolyline from an existing one.polyline - The MapPolyline to copy.public void applyTransform(IlvTransformer t)
t to the
intermediate points of the link, if any.
Possibly perform a label layoutapplyTransform in class IlvCompositeLinkt - The transformer to be applied.IlvGraphicpublic IlvGraphic copy()
copy in class IlvMapCompositeLinkIlvMapCompositeLink instance.IlvGraphicpublic void insertPoint(int index,
double x,
double y,
IlvTransformer t)
setLink method.
Possibly perform a label layoutinsertPoint in interface IlvPolyPointsInterfaceinsertPoint in class IlvCompositeLinkindex - The index at which the new point will be inserted.x - The x coordinate of the new point (in manager coordinates).y - The y coordinate of the new point (in manager coordinates).t - The transformer used to draw the link.IlvCompositeLink.setLink(ilog.views.IlvLinkImage),
IlvCompositeLink.getLink(),
IlvLinkImage.insertPoint(int, double, double, ilog.views.IlvTransformer)public void movePoint(int index,
double x,
double y,
IlvTransformer t)
setLink method.
Possibly perform a label layoutmovePoint in interface IlvPolyPointsInterfacemovePoint in class IlvCompositeLinkindex - The index of the point to be moved.x - The new x coordinate (in manager coordinates).y - The new y coordinate (in manager coordinates).t - The transformer through which the object is drawn.IlvCompositeLink.setLink(ilog.views.IlvLinkImage),
IlvCompositeLink.getLink(),
IlvLinkImage.movePoint(int, double, double, ilog.views.IlvTransformer)public void removePoint(int index,
IlvTransformer t)
setLink method.
Possibly perform a label layoutremovePoint in interface IlvPolyPointsInterfaceremovePoint in class IlvCompositeLinkindex - The index of the point to be removed.t - The transformer used to draw the link.IlvCompositeLink.setLink(ilog.views.IlvLinkImage),
IlvCompositeLink.getLink(),
IlvLinkImage.removePoint(int, ilog.views.IlvTransformer)public void write(IlvOutputStream stream) throws IOException
IlvOutputStream.write in interface IlvPersistentObjectwrite in class IlvMapCompositeLinkstream - The stream to write to.IOExceptionpublic String getAnnotationType()
getAnnotationType in interface IlvMapAnnotationToolBar.AnnotationGraphicIlvMapAnnotationModel.getDataSource(IlvManager, String)© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.