public class IlvMapGraphicSet extends IlvGraphicSet implements IlvMapGraphic
IlvMapGraphicSet
represents an IlvGraphicSet
that transmits its IlvMapStyle
to the objects that it contains.IlvGraphicSet.DelegateObjectInteractor
list
Constructor and Description |
---|
IlvMapGraphicSet()
The default constructor.
|
IlvMapGraphicSet(IlvInputStream stream)
Reads the object from an
IlvInputStream . |
IlvMapGraphicSet(IlvMapGraphicSet source)
Creates a new
IlvMapGraphicSet instance by copying
an existing one. |
Modifier and Type | Method and Description |
---|---|
void |
addObjectAt(IlvGraphic g,
int index,
boolean redraw)
If the object added to this graphic set is a subclass of
IlvMapGraphic , the style of this graphic set is set to
that of the object added. |
IlvGraphic |
copy()
Copies the object.
|
IlvGraphic |
copy(IlvCoordinateTransformation transform)
Copies the element and applies the specified transformation to its coordinates.
|
IlvMapStyle |
getStyle()
Retrieves the
IlvMapStyle . |
IlvMapGeometry |
makeGeometry()
Returns an
IlvMapGeometryCollection instance. |
void |
setStyle(IlvMapStyle style)
Setting the style of an
IlvGraphicSet also sets the style of
all IlvMapGraphic objects contained in the graphic set. |
void |
write(IlvOutputStream stream)
Writes this
IlvMapGraphicPath object to the
IlvOutputStream passed as a parameter. |
addGraphicBagHierarchyListener, addManagerViewsHierarchyListener, addObject, applyToObject, applyToObjectImpl, applyTransform, baseTextDirectionChanged, boundingBox, componentOrientationChanged, contains, contains, draw, drawCore, enableGraphicBagHierarchyEventForwarding, enableManagerViewsHierarchyEventForwarding, fireGraphicBagHierarchyEvent, fireManagerViewsHierarchyEvent, firstContains, getAlpha, getCardinal, getClip, getIndex, getIntersectionWithOutline, getObject, getObject, getObjectName, getObjects, getOriginalPopupMenu, getPopupMenu, getToolTipText, invalidateAndApplyToObject, invalidateBBoxCache, isBaseTextDirectionSensitive, isComponentOrientationSensitive, isLocaleSensitive, isPersistent, moveObject, needsGraphicBagHierarchyEvent, needsManagerViewsHierarchyEvent, reDrawObj, reDrawRegion, removeAll, removeGraphicBagHierarchyListener, removeManagerViewsHierarchyListener, removeObject, removeObjectAt, reshapeObject, setAlpha, setBaseTextDirection, setClip, setGraphicBag, setInsideApply, setObjectName, shouldElementBePartOfClip, shouldRestrictListOfElementsForClip, zoomable
calcResolvedBaseTextDirection, getBaseTextDirection, getComponentOrientation, getResolvedBaseTextDirection, getULocale, invalidateBidiCache, setBaseTextDirection, setBaseTextDirectionDuringConstruction
addActionListener, addNamedPropertyListener, allViewsRemoved, blinkingStateOn, boundingBox, callDraw, getAndAssociateObjectInteractor, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getDefaultInteractor, getGraphicBag, GetGraphicObject, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenuName, getProperty, getToolTipBaseTextDirection, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getZOrderIndex, hasProperty, inside, intersects, isDataFlavorSupported, isEditable, isInApplyToObject, isMovable, isSelectable, isVisible, localeChanged, makeSelection, move, move, moveResize, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, resize, rotate, scale, setBackground, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setFillOn, setForeground, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipBaseTextDirection, setToolTipText, setVisible, setZOrderIndex, toString, translate, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGraphicBag
public IlvMapGraphicSet()
public IlvMapGraphicSet(IlvMapGraphicSet source)
IlvMapGraphicSet
instance by copying
an existing one.source
- The object to be copied.public IlvMapGraphicSet(IlvInputStream stream) throws IlvReadFileException
IlvInputStream
.stream
- The input stream to read from.IlvReadFileException
- if the format is not correct.public void write(IlvOutputStream stream) throws IOException
IlvMapGraphicPath
object to the
IlvOutputStream
passed as a parameter.write
in interface IlvPersistentObject
write
in class IlvGraphicSet
stream
- The stream to write to.IOException
- if there is a problem writing to stream
.public IlvGraphic copy(IlvCoordinateTransformation transform) throws IlvCoordinateTransformationException
copy
in interface IlvMapGraphic
transform
- Transformation to apply.IlvCoordinateTransformationException
IlvMapGraphic.copy(ilog.views.maps.srs.coordtrans.IlvCoordinateTransformation)
public IlvGraphic copy()
copy
in class IlvGraphicSet
IlvGraphic
public IlvMapStyle getStyle()
IlvMapStyle
.getStyle
in interface IlvMapGraphic
IlvMapStyle
.IlvMapGraphic.getStyle()
public void setStyle(IlvMapStyle style)
IlvGraphicSet
also sets the style of
all IlvMapGraphic
objects contained in the graphic set.setStyle
in interface IlvMapGraphic
style
- The new style.IlvMapGraphic.setStyle(ilog.views.maps.graphic.style.IlvMapStyle)
public void addObjectAt(IlvGraphic g, int index, boolean redraw)
IlvMapGraphic
, the style of this graphic set is set to
that of the object added.addObjectAt
in class IlvGraphicSet
g
- The graphic object to add.index
- The index to add g
to.redraw
- Set to true
to redraw this object.IlvGraphicSet.addObjectAt(ilog.views.IlvGraphic, int, boolean)
public IlvMapGeometry makeGeometry()
IlvMapGeometryCollection
instance.makeGeometry
in interface IlvMapGraphic
IlvMapGeometryCollection
instance.IlvMapGraphic.makeGeometry()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.