|
||||||||||
| 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.IlvGraphicSet
ilog.views.maps.graphic.IlvMapGraphicSet
public class IlvMapGraphicSet
IlvMapGraphicSet represents an IlvGraphicSet
that transmits its IlvMapStyle to the objects that it contains.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ilog.views.graphic.IlvGraphicSet |
|---|
IlvGraphicSet.DelegateObjectInteractor |
| Field Summary |
|---|
| Fields inherited from class ilog.views.graphic.IlvGraphicSet |
|---|
list |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ilog.views.IlvGraphicBag |
|---|
getGraphicBag |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public void write(IlvOutputStream stream)
throws IOException
IlvMapGraphicPath object to the
IlvOutputStream passed as a parameter.
write in interface IlvPersistentObjectwrite in class IlvGraphicSetstream - The stream to write to.
IOException - if there is a problem writing to stream.
public IlvGraphic copy(IlvCoordinateTransformation transform)
throws IlvCoordinateTransformationException
copy in interface IlvMapGraphictransform - Transformation to apply.
IlvCoordinateTransformationExceptionIlvMapGraphic.copy(ilog.views.maps.srs.coordtrans.IlvCoordinateTransformation)public IlvGraphic copy()
copy in class IlvGraphicSetIlvGraphicpublic IlvMapStyle getStyle()
IlvMapStyle.
getStyle in interface IlvMapGraphicIlvMapStyle.IlvMapGraphic.getStyle()public void setStyle(IlvMapStyle style)
IlvGraphicSet also sets the style of
all IlvMapGraphic objects contained in the graphic set.
setStyle in interface IlvMapGraphicstyle - 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 IlvGraphicSetg - 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 IlvMapGraphicIlvMapGeometryCollection instance.IlvMapGraphic.makeGeometry()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||