public class Point extends VectorElement
swigCMemOwn
Constructor and Description |
---|
Point(long cPtr,
boolean cMemoryOwn) |
Point(MapPos pos,
PointStyle style)
Constructs a Point object from a map position and a style.
|
Point(PointGeometry geometry,
PointStyle style)
Constructs a Point object from a geometry object and a style.
|
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(Point obj) |
PointGeometry |
getGeometry()
Returns the geometry object that defines the location of this vector element.
|
MapPos |
getPos()
Returns the location of this point.
|
PointStyle |
getStyle()
Returns the style of this point.
|
void |
setGeometry(PointGeometry geometry)
Sets the location for this point.
|
void |
setPos(MapPos pos)
Sets the location of this point.
|
void |
setStyle(PointStyle style)
Sets a style for this point.
|
static Point |
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 Point(long cPtr, boolean cMemoryOwn)
public Point(PointGeometry geometry, PointStyle style)
geometry
- The geometry object that defines the location of this point.style
- The style that defines what this point looks like.public Point(MapPos pos, PointStyle style)
pos
- The map position that defines the location of this point.style
- The style that defines what this point looks like.public static long getCPtr(Point obj)
protected void finalize()
finalize
in class VectorElement
public void delete()
delete
in class VectorElement
public static Point swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public PointGeometry getGeometry()
VectorElement
getGeometry
in class VectorElement
public void setGeometry(PointGeometry geometry)
geometry
- The new geometry object that defines the location of this point.public MapPos getPos()
public void setPos(MapPos pos)
pos
- The new map position that defines the location of this point.public PointStyle getStyle()
public void setStyle(PointStyle style)
style
- The new style that defines what this point looks like.public java.lang.String swigGetClassName()
swigGetClassName
in class VectorElement
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class VectorElement