public class GeometryCollection extends VectorElement
swigCMemOwn
Constructor and Description |
---|
GeometryCollection(long cPtr,
boolean cMemoryOwn) |
GeometryCollection(MultiGeometry geometry,
GeometryCollectionStyle style)
Constructs a new GeometryCollection object from multigeometry and style.
|
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(GeometryCollection obj) |
MultiGeometry |
getGeometry()
Returns the geometry object that defines the location of this vector element.
|
GeometryCollectionStyle |
getStyle()
Returns the style of this geometry collection.
|
void |
setGeometry(MultiGeometry geometry)
Sets the geometry for this geometry collection.
|
void |
setStyle(GeometryCollectionStyle style)
Sets the style for this geometry collection.
|
static GeometryCollection |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
equals, getBounds, getCPtr, getId, getMetaData, getMetaDataElement, hashCode, isVisible, notifyElementChanged, setId, setMetaData, setMetaDataElement, setVisible
public GeometryCollection(long cPtr, boolean cMemoryOwn)
public GeometryCollection(MultiGeometry geometry, GeometryCollectionStyle style)
geometry
- The multigeometry containing possibly points, lines, polygons.style
- The style defining multigeometry rendering.public static long getCPtr(GeometryCollection obj)
protected void finalize()
finalize
in class VectorElement
public void delete()
delete
in class VectorElement
public static GeometryCollection swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public MultiGeometry getGeometry()
VectorElement
getGeometry
in class VectorElement
public void setGeometry(MultiGeometry geometry)
geometry
- The new geometry object.public GeometryCollectionStyle getStyle()
public void setStyle(GeometryCollectionStyle style)
public java.lang.String swigGetClassName()
swigGetClassName
in class VectorElement
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class VectorElement