public class VectorElement
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Constructor and Description |
---|
VectorElement(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
boolean |
equals(java.lang.Object obj)
Checks if this object is equal to the specified object.
|
protected void |
finalize() |
MapBounds |
getBounds()
Returns the bounds of this vector element.
|
static long |
getCPtr(VectorElement obj) |
Geometry |
getGeometry()
Returns the geometry object that defines the location of this vector element.
|
long |
getId()
Returns the internal id of this vector element.
|
StringMap |
getMetaData()
Returns a modifiable meta data map.
|
java.lang.String |
getMetaDataElement(java.lang.String key)
Returns a meta data element corresponding to the key.
|
int |
hashCode()
Returns the hash value of this object.
|
boolean |
isVisible()
Returns the state of the visibility flag of this vector element.
|
void |
notifyElementChanged()
Notifies this vector element's datasource about the change in this element.
The data source may then notify the layer to update the view. |
void |
setId(long id)
Sets the internal id for this vector element.
|
void |
setMetaData(StringMap metaData)
Sets a new meta data map for the vector element.
|
void |
setMetaDataElement(java.lang.String key,
java.lang.String element)
Adds a new key-value pair to the meta data map.
|
void |
setVisible(boolean visible)
Sets the state of the visibility flag for this vector element.
|
static VectorElement |
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.
|
public static long getCPtr(VectorElement obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public static VectorElement swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public MapBounds getBounds()
public Geometry getGeometry()
public long getId()
public void setId(long id)
id
- The new internal id for this vector element.public StringMap getMetaData()
public void setMetaData(StringMap metaData)
metaData
- The new meta data map for this vector element.public java.lang.String getMetaDataElement(java.lang.String key)
public void setMetaDataElement(java.lang.String key, java.lang.String element)
key
- The new key.element
- The new value.public boolean isVisible()
public void setVisible(boolean visible)
visible
- The new state of the visibility flag for the vector element.public void notifyElementChanged()
public java.lang.String swigGetClassName()
public java.lang.Object swigGetDirectorObject()