com.visioglobe.libVisioDevKit
Class VgMarker

java.lang.Object
  extended by com.visioglobe.libVisioDevKit.VgReferenced
      extended by com.visioglobe.libVisioDevKit.VgMarker
Direct Known Subclasses:
VgIconMarker, VgTextMarker

public class VgMarker
extends VgReferenced

Displays a marker on a ponctual position described by a VgPoint. There are two types of makers : textual (a label) and graphics (an image).


Field Summary
 
Fields inherited from class com.visioglobe.libVisioDevKit.VgReferenced
swigCMemOwn, swigRefPtr
 
Constructor Summary
VgMarker(long cPtr, boolean cMemoryOwn)
          Constructor.
 
Method Summary
 VgIconMarker asIconMarker()
          Casts this instance into a VgIconMarker.
 VgTextMarker asTextMarker()
          Casts this instance into a VgTextMarker.
 void delete()
           
protected  void finalize()
           
static long getCPtr(VgMarker obj)
           
 
Methods inherited from class com.visioglobe.libVisioDevKit.VgReferenced
getCPtr, getNbReferences, ref, unref
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VgMarker

public VgMarker(long cPtr,
                boolean cMemoryOwn)
Constructor.

Method Detail

getCPtr

public static long getCPtr(VgMarker obj)

finalize

protected void finalize()
Overrides:
finalize in class VgReferenced

delete

public void delete()
Overrides:
delete in class VgReferenced

asIconMarker

public VgIconMarker asIconMarker()
Casts this instance into a VgIconMarker.

Returns:
A valid icon marker if this marker is compatible, NULL otherwise.

asTextMarker

public VgTextMarker asTextMarker()
Casts this instance into a VgTextMarker.

Returns:
A valid text marker if this marker is compatible, NULL otherwise.

VisioDevKit 2.0, Visioglobe® 2013