|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvGraphic
ilog.views.graphic.IlvGeneralPath
ilog.views.maps.graphic.IlvMapGeneralPath
public class IlvMapGeneralPath
IlvMapGeneralPath is an IlvGeneralPath
that accepts an IlvGeneralPathStyle to define its graphical
attributes.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
Stroke |
getStroke()
Retrieves the stroke from the style. |
Paint |
getStrokePaint()
Retrieves the stroke paint from the style. |
float |
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 |
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(float 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public 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.| Method Detail |
|---|
public void write(IlvOutputStream stream)
throws IOException
IlvMapGraphicPath object to the
IlvOutputStream passed as parameter
write 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 float getStrokeWidth()
IlvGeneralPathStyle.
public void draw(Graphics g,
IlvTransformer t)
draw in class IlvGeneralPathg - The destination Graphics.t - The transformation used to draw the object.IlvGeneralPath.draw(java.awt.Graphics, ilog.views.IlvTransformer)public void setStrokeWidth(float width)
IlvGeneralPathStyle.
width - The stroke width to be set in the
IlvGeneralPathStyle.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.IlvGraphic
public 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()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||