public class IlvMapGeneralPath extends IlvGeneralPath implements IlvMapGraphic
IlvMapGeneralPath is an IlvGeneralPath
that accepts an IlvGeneralPathStyle to define its graphical
attributes.| Constructor and Description |
|---|
IlvMapGeneralPath()
Constructs an
IlvMapGeneralPath instance. |
IlvMapGeneralPath(IlvInputStream stream)
Reads an
IlvMapGeneralPath instance from an
IlvInputStream. |
IlvMapGeneralPath(IlvMapGeneralPath source)
Creates a new
IlvMapGeneralPath by copying an existing one. |
IlvMapGeneralPath(Shape shape)
Constructs an
IlvMapGeneralPath instance from a
Shape object. |
| 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 g,
IlvTransformer t)
Draws the object.
|
Paint |
getFillPaint()
Retrieves the fill paint from the style.
|
float[] |
getLineStyle()
Retrieves the line style from the style.
|
Stroke |
getStroke()
Retrieves the stroke from the style.
|
Paint |
getStrokePaint()
Retrieves the stroke paint from the style.
|
double |
getStrokeWidth()
Retrieves the stroke width from the style.
|
IlvMapStyle |
getStyle()
Retrieves the
IlvMapStyle attached to this graphic. |
boolean |
isFillOn()
Retrieves the fill on from the style.
|
boolean |
isPaintAbsolute()
Retrieves the paint absolute from the style.
|
boolean |
isPaintZoomed()
Retrieves the paint zoomed from the style.
|
boolean |
isStrokeOn()
Retrieves the stroke on from the style.
|
IlvMapGeometry |
makeGeometry()
Returns an
IlvMapPolygon geometry instance. |
void |
setFillOn(boolean set)
Sets the fill on in the
IlvGeneralPathStyle. |
void |
setFillPaint(Paint paint)
Sets the fill paint in the
IlvGeneralPathStyle. |
void |
setLineStyle(float[] lineStyle)
Sets the line style in the
IlvGeneralPathStyle. |
void |
setPaintAbsolute(boolean set)
Sets the paint absolute in the
IlvGeneralPathStyle. |
void |
setPaintZoomed(boolean set)
Sets the paint zoomed in the
IlvGeneralPathStyle. |
void |
setStroke(Stroke stroke)
Sets the stroke in the
IlvGeneralPathStyle. |
void |
setStrokeOn(boolean set)
Sets the stroke on in the
IlvGeneralPathStyle. |
void |
setStrokePaint(Paint paint)
Sets the stroke paint in the
IlvGeneralPathStyle. |
void |
setStrokeWidth(double width)
Sets the stroke width in the
IlvGeneralPathStyle. |
void |
setStyle(IlvMapStyle style)
Implements the
IlvMapGraphic interface. |
void |
write(IlvOutputStream stream)
Writes this
IlvMapGraphicPath object to the
IlvOutputStream passed as parameter |
adaptPaint, allowsPointInsertion, allowsPointMove, allowsPointRemoval, applyTransform, boundingBox, calcBoundingBox, contains, getAlpha, getApplyTransformer, getClip, getIntersectionWithOutline, getMaximumStrokeWidth, getOriginalShape, getPointAt, getPointsCardinal, getShape, getShapeBounds, getTransformer, insertPoint, isContainsWhenNotFilled, isPointEditionAllowed, isTransformedShapeMode, makeSelection, movePoint, moveResize, pointsInBBox, removePoint, resize, setAlpha, setBackground, setClip, setContainsWhenNotFilled, setForeground, setInternalShape, setMaximumStrokeWidth, setPointEditionAllowed, setShape, setShapeBounds, setTransformedShapeMode, setTransformeraddActionListener, addNamedPropertyListener, allViewsRemoved, baseTextDirectionChanged, blinkingStateOn, boundingBox, callDraw, componentOrientationChanged, getAndAssociateObjectInteractor, getBaseTextDirection, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getComponentOrientation, getDefaultInteractor, getGraphicBag, GetGraphicObject, 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, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, rotate, scale, setBaseTextDirection, setBaseTextDirectionDuringConstruction, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setGraphicBag, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setToolTipBaseTextDirection, setToolTipText, setVisible, setZOrderIndex, toString, translate, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemoved, zoomablepublic IlvMapGeneralPath()
IlvMapGeneralPath instance.public IlvMapGeneralPath(IlvMapGeneralPath source)
IlvMapGeneralPath by copying an existing one.source - The IlvMapGeneralPath to copy.public IlvMapGeneralPath(IlvInputStream stream) throws IlvReadFileException
IlvMapGeneralPath instance from an
IlvInputStream.stream - The stream to read from.IlvReadFileException - if there is a problem reading from
stream.public IlvMapGeneralPath(Shape shape)
IlvMapGeneralPath instance from a
Shape object.shape - The Shape.public void write(IlvOutputStream stream) throws IOException
IlvMapGraphicPath object to the
IlvOutputStream passed as parameterwrite in interface IlvPersistentObjectwrite in class IlvGeneralPathstream - The stream to write to.IOException - if there is a problem writing to stream.public Paint getFillPaint()
getFillPaint in class IlvGeneralPathIlvGeneralPathStyle.IlvGeneralPath.setFillPaint(java.awt.Paint)public void setFillPaint(Paint paint)
IlvGeneralPathStyle.setFillPaint in class IlvGeneralPathpaint - The fill paint to be set in the
IlvGeneralPathStyle.IlvGeneralPath.getFillPaint(),
IlvGeneralPath.isFillOn()public Paint getStrokePaint()
getStrokePaint in class IlvGeneralPathIlvGeneralPathStyle.IlvGeneralPath.setStrokePaint(java.awt.Paint),
IlvGeneralPath.isStrokeOn(),
IlvGeneralPath.setStroke(java.awt.Stroke)public void setStrokePaint(Paint paint)
IlvGeneralPathStyle.setStrokePaint in class IlvGeneralPathpaint - The stroke paint to be set in the <
code>IlvGeneralPathStyle.IlvGeneralPath.getStrokePaint(),
IlvGeneralPath.isStrokeOn(),
IlvGeneralPath.setStroke(java.awt.Stroke)public void setPaintAbsolute(boolean set)
IlvGeneralPathStyle.setPaintAbsolute in class IlvGeneralPathset - The paint absolute to be set in the
IlvGeneralPathStyle.IlvGeneralPath.isPaintAbsolute(),
IlvGeneralPath.setPaintZoomed(boolean),
IlvGeneralPath.setFillPaint(java.awt.Paint),
IlvGeneralPath.setStrokePaint(java.awt.Paint),
IlvGeneralPath.adaptPaint(java.awt.Shape, java.awt.Paint)public boolean isPaintAbsolute()
isPaintAbsolute in class IlvGeneralPathIlvGeneralPathStyle.IlvGeneralPath.setPaintAbsolute(boolean),
IlvGeneralPath.setPaintZoomed(boolean),
IlvGeneralPath.setFillPaint(java.awt.Paint),
IlvGeneralPath.setStrokePaint(java.awt.Paint),
IlvGeneralPath.adaptPaint(java.awt.Shape, java.awt.Paint)public double getStrokeWidth()
IlvGeneralPathStyle.public float[] getLineStyle()
IlvGeneralPathStyle.public void draw(Graphics g, IlvTransformer t)
draw in class IlvGeneralPathg - The destination Graphics instance.t - The transformation used to draw the object.IlvGeneralPath.draw(java.awt.Graphics, ilog.views.IlvTransformer)public void setStrokeWidth(double width)
IlvGeneralPathStyle.width - The stroke width to be set in the
IlvGeneralPathStyle.public void setLineStyle(float[] lineStyle)
IlvGeneralPathStyle.lineStyle - The line style to be set in the IlvGeneralPathStyle
object.public void setPaintZoomed(boolean set)
IlvGeneralPathStyle.setPaintZoomed in class IlvGeneralPathset - The paint zoomed value to be set in the
IlvGeneralPathStyle.IlvGeneralPath.isPaintZoomed(),
IlvGeneralPath.setFillPaint(java.awt.Paint),
IlvGeneralPath.setStrokePaint(java.awt.Paint)public boolean isPaintZoomed()
isPaintZoomed in class IlvGeneralPathIlvGeneralPathStyle.IlvGeneralPath.setPaintZoomed(boolean),
IlvGeneralPath.setFillPaint(java.awt.Paint),
IlvGeneralPath.setStrokePaint(java.awt.Paint)public void setStrokeOn(boolean set)
IlvGeneralPathStyle.setStrokeOn in class IlvGeneralPathset - The stroke on to be set in the IlvGeneralPathStyle.IlvGeneralPath.setStroke(java.awt.Stroke),
IlvGeneralPath.setStrokePaint(java.awt.Paint),
IlvGeneralPath.isStrokeOn()public boolean isStrokeOn()
isStrokeOn in class IlvGeneralPathIlvGeneralPathStyle.IlvGeneralPath.setStroke(java.awt.Stroke),
IlvGeneralPath.setStrokePaint(java.awt.Paint),
IlvGeneralPath.setStrokeOn(boolean)public void setFillOn(boolean set)
IlvGeneralPathStyle.setFillOn in class IlvGeneralPathset - The fill on to be set in the IlvGeneralPathStyle.IlvGeneralPath.isFillOn(),
IlvGeneralPath.setFillPaint(java.awt.Paint)public boolean isFillOn()
isFillOn in class IlvGeneralPathIlvGeneralPathStyle.IlvGeneralPath.setFillPaint(java.awt.Paint),
IlvGeneralPath.setFillOn(boolean)public Stroke getStroke()
getStroke in class IlvGeneralPathIlvGeneralPathStyle.IlvGeneralPath.getStrokePaint(),
IlvGeneralPath.setStroke(java.awt.Stroke),
IlvGeneralPath.isStrokeOn()public void setStroke(Stroke stroke)
IlvGeneralPathStyle.setStroke in class IlvGeneralPathstroke - The stroke to be set in the IlvGeneralPathStyle.IlvGeneralPath.getStrokePaint(),
IlvGeneralPath.getStroke(),
IlvGeneralPath.isStrokeOn()public IlvMapStyle getStyle()
IlvMapStyle attached to this graphic.getStyle in interface IlvMapGraphicIlvMapStyle attached to this graphic.public void setStyle(IlvMapStyle style)
IlvMapGraphic interface.setStyle in interface IlvMapGraphicstyle - The IlvMapStyle to set.
Must be a IlvGeneralPathStyle instance.public IlvGraphic copy()
copy in class IlvGeneralPathIlvMapGeneralPath instance.IlvGraphicpublic IlvGraphic copy(IlvCoordinateTransformation transform) throws IlvCoordinateTransformationException
copy in interface IlvMapGraphictransform - Transformation to apply.IlvCoordinateTransformationExceptionIlvMapGraphic.copy(ilog.views.maps.srs.coordtrans.IlvCoordinateTransformation)public IlvMapGeometry makeGeometry()
IlvMapPolygon geometry instance.makeGeometry in interface IlvMapGraphicIlvMapGraphic.makeGeometry()© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.