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, setStyle
addObject, 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, supportMultiline
arrowBBox, arrowContains, drawArrow, finalize, getArrowSize, getFrom, getFromBoundingBox, getFromTransformer, getLinkConnectorConnectionPoint, getLinkPoints, getLocalTransformerOf, getOpposite, getTo, getToBoundingBox, getToTransformer, getVisibleFrom, getVisibleTo, isPersistent, makeSelection, setFrom, setLinkPoints, setTo, zoomable
addActionListener, 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, viewAddedOrRemoved
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy, getStyle, makeGeometry, setStyle
getGraphicBag
public MapLink(IlvInputStream stream) throws IlvReadFileException
MapPolyline
from an IlvInputStream
.stream
- The stream to read from.IlvReadFileException
public 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 IlvCompositeLink
t
- The transformer to be applied.IlvGraphic
public IlvGraphic copy()
copy
in class IlvMapCompositeLink
IlvMapCompositeLink
instance.IlvGraphic
public void insertPoint(int index, double x, double y, IlvTransformer t)
setLink
method.
Possibly perform a label layoutinsertPoint
in interface IlvPolyPointsInterface
insertPoint
in class IlvCompositeLink
index
- 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 IlvPolyPointsInterface
movePoint
in class IlvCompositeLink
index
- 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 IlvPolyPointsInterface
removePoint
in class IlvCompositeLink
index
- 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 IlvPersistentObject
write
in class IlvMapCompositeLink
stream
- The stream to write to.IOException
public String getAnnotationType()
getAnnotationType
in interface IlvMapAnnotationToolBar.AnnotationGraphic
IlvMapAnnotationModel.getDataSource(IlvManager, String)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.