public class IlvMapMarker extends IlvMarker implements IlvMapGraphic
IlvMapMarker is an IlvMarker that reads its
attributes from an IlvPointStyle object.| Modifier and Type | Field and Description |
|---|---|
static int |
IlvMarkerCharacter
The Character marker type.
|
static int |
IlvMarkerImage
The Image marker type.
|
IlvMarkerCircle, IlvMarkerCross, IlvMarkerDiamond, IlvMarkerFilledCircle, IlvMarkerFilledDiamond, IlvMarkerFilledSquare, IlvMarkerFilledTriangle, IlvMarkerPlus, IlvMarkerSquare, IlvMarkerTriangle| Constructor and Description |
|---|
IlvMapMarker()
Constructs an
IlvMapMarker instance. |
IlvMapMarker(IlvInputStream stream)
Reads an
IlvMapMarker object from an
IlvInputStream. |
IlvMapMarker(IlvMapMarker source)
Creates an
IlvMapMarker instance by copying an existing one. |
IlvMapMarker(IlvPoint p)
Constructs a
IlvMapMarker at point p. |
IlvMapMarker(IlvPoint p,
int type)
Constructs an
IlvMapMarker instance from an
IlvPoint instance and a type. |
IlvMapMarker(IlvPoint p,
int type,
int size)
Constructs an
IlvMapMarker from an IlvPoint
instance, a type, and a size. |
| Modifier and Type | Method and Description |
|---|---|
IlvGraphic |
copy()
Copies the objects.
|
IlvGraphic |
copy(IlvCoordinateTransformation transform)
Copies the element and applies the specified transformation to its coordinates.
|
void |
draw(Graphics dst,
IlvTransformer t)
Draws the object.
|
Color |
getForegound()
Deprecated.
Since JViews 8.8, use getForeground
|
Color |
getForeground()
Retrieves the foreground from the style.
|
int |
getSize()
Retrieves the size from the style.
|
IlvMapStyle |
getStyle()
Retrieves the
IlvMapStyle object attached to this graphic. |
int |
getType()
Retrieves the type from the style.
|
IlvMapGeometry |
makeGeometry()
Returns an
IlvMapPoint geometry. |
void |
setForeground(Color color)
Sets the foreground in the
IlvPointStyle object. |
void |
setSize(int size)
Sets the size in the
IlvPointStyle object. |
void |
setStyle(IlvMapStyle style)
Implements the
IlvMapGraphic interface. |
void |
setType(int type)
Sets the type in the
IlvPointStyle object. |
void |
write(IlvOutputStream stream)
Writes this
IlvMapGraphicPath object to the
IlvOutputStream passed as parameter |
applyTransform, boundingBox, DrawMarker, getPoint, makeSelection, setPoint, zoomableaddActionListener, addNamedPropertyListener, allViewsRemoved, baseTextDirectionChanged, blinkingStateOn, boundingBox, callDraw, componentOrientationChanged, contains, getAndAssociateObjectInteractor, getBaseTextDirection, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getComponentOrientation, getDefaultInteractor, getGraphicBag, GetGraphicObject, getIntersectionWithOutline, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenu, getPopupMenuName, getProperty, getResolvedBaseTextDirection, getToolTipBaseTextDirection, getToolTipText, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getULocale, getZOrderIndex, hasProperty, inside, intersects, invalidateBBoxCache, invalidateBidiCache, isBaseTextDirectionSensitive, isComponentOrientationSensitive, isDataFlavorSupported, isEditable, isInApplyToObject, isLocaleSensitive, isMovable, isPersistent, isSelectable, isVisible, localeChanged, move, move, moveResize, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, resize, rotate, scale, setBackground, setBaseTextDirection, setBaseTextDirectionDuringConstruction, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setFillOn, setGraphicBag, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipBaseTextDirection, setToolTipText, setVisible, setZOrderIndex, toString, translate, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemovedpublic static final int IlvMarkerCharacter
public static final int IlvMarkerImage
public IlvMapMarker()
IlvMapMarker instance.public IlvMapMarker(IlvPoint p)
IlvMapMarker at point p.p - The marker center point.public IlvMapMarker(IlvMapMarker source)
IlvMapMarker instance by copying an existing one.source - The source marker.public IlvMapMarker(IlvPoint p, int type)
IlvMapMarker instance from an
IlvPoint instance and a type.p - The point to place the marker.type - The type of the shape of the marker.public IlvMapMarker(IlvPoint p, int type, int size)
IlvMapMarker from an IlvPoint
instance, a type, and a size.p - The point to place the marker.type - The type of the marker shape.size - The size of the marker.public IlvMapMarker(IlvInputStream stream) throws IlvReadFileException
IlvMapMarker object from an
IlvInputStream.stream - The stream to read from.IlvReadFileException - if there is a problem reading from
stream.public void write(IlvOutputStream stream) throws IOException
IlvMapGraphicPath object to the
IlvOutputStream passed as parameterwrite in interface IlvPersistentObjectwrite in class IlvMarkerstream - The stream to write to.IOException - if there is a problem writing to stream.@Deprecated public Color getForegound()
IlvPointStyle object.public void setForeground(Color color)
IlvPointStyle object.setForeground in class IlvMarkercolor - The foreground to be set in the IlvPointStyle object.IlvGraphic.draw(Graphics, IlvTransformer),
IlvGraphic.setBackground(Color),
IlvGraphic.setFillOn(boolean),
IlvGraphic.setStrokeOn(boolean),
IlvGraphicpublic int getSize()
getSize in class IlvMarkerIlvPointStyle object.IlvMarker.setSize(int)public void setSize(int size)
IlvPointStyle object.setSize in class IlvMarkersize - The size to be set in the IlvPointStyle object.IlvMarker.getSize()public int getType()
getType in class IlvMarkerIlvPointStyle object.IlvMarker.setType(int)public void setType(int type)
IlvPointStyle object.setType in class IlvMarkertype - The type to be set in the IlvGraphicPathStyle object.IlvMarker.getType(),
IlvMarker.IlvMarkerSquare,
IlvMarker.IlvMarkerDiamond,
IlvMarker.IlvMarkerCircle,
IlvMarker.IlvMarkerCross,
IlvMarker.IlvMarkerPlus,
IlvMarker.IlvMarkerFilledSquare,
IlvMarker.IlvMarkerFilledCircle,
IlvMarker.IlvMarkerFilledDiamond,
IlvMarker.IlvMarkerTriangle,
IlvMarker.IlvMarkerFilledTrianglepublic void setStyle(IlvMapStyle style)
IlvMapGraphic interface.setStyle in interface IlvMapGraphicstyle - The IlvMapStyle to set. Must be an
IlvPointStyle instance.public IlvMapStyle getStyle()
IlvMapStyle object attached to this graphic. If no
style has been set, a new IlvPointStyle instance is created.getStyle in interface IlvMapGraphicIlvMapStyle object attached to this graphic. This
must be an IlvPointStyle instance.public IlvGraphic copy()
copy in class IlvMarkerIlvMapMarker instance.IlvGraphicpublic IlvGraphic copy(IlvCoordinateTransformation transform) throws IlvCoordinateTransformationException
copy in interface IlvMapGraphictransform - Transformation to apply.IlvCoordinateTransformationExceptionIlvMapGraphic.copy(ilog.views.maps.srs.coordtrans.IlvCoordinateTransformation)public Color getForeground()
getForeground in class IlvMarkerpublic void draw(Graphics dst, IlvTransformer t)
draw in class IlvMarkerdst - The destination Graphics.t - The transformation used to draw the object.IlvGraphic.callDraw(Graphics,IlvTransformer),
IlvGraphic.boundingBox(IlvTransformer),
IlvGraphic.zoomable(),
IlvGraphicpublic IlvMapGeometry makeGeometry()
IlvMapPoint geometry.makeGeometry in interface IlvMapGraphicIlvMapPoint geometry.IlvMapGraphic.makeGeometry()© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.