com.visioglobe.libVisioDevKit
Class VgLayerManager

java.lang.Object
  extended by com.visioglobe.libVisioDevKit.VgLayerManager

public class VgLayerManager
extends java.lang.Object

Manages the layers.


Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
VgLayerManager(long cPtr, boolean cMemoryOwn)
           
VgLayerManager(VgIEngine pEngine)
          Creates a layer manager for the provided engine.
 
Method Summary
 void delete()
           
 VgLayerRefPtr editLayer(java.lang.String pName)
          Access a VgLayer using it's name.
 VgLayerVector editLayers()
          Access to the VgLayer collection.
protected  void finalize()
           
static long getCPtr(VgLayerManager obj)
           
 VgLayerVector getLayers()
          Const access to the VgLayer collection.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

VgLayerManager

public VgLayerManager(long cPtr,
                      boolean cMemoryOwn)

VgLayerManager

public VgLayerManager(VgIEngine pEngine)
Creates a layer manager for the provided engine. Public code should not call this. Instead, use the instance provided by VgEngine::VgIEngine.

Parameters:
pEngine - The engine instance this layer manager is built on.
See:
VgEngine::VgIEngine::editLayerManager()
Method Detail

getCPtr

public static long getCPtr(VgLayerManager obj)

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

delete

public void delete()

editLayer

public VgLayerRefPtr editLayer(java.lang.String pName)
Access a VgLayer using it's name.

Parameters:
pName - The name of the accessed layer.
Returns:
The named layer's pointer if any, null if not found.

getLayers

public VgLayerVector getLayers()
Const access to the VgLayer collection.

Returns:
A const reference on the layer collection.

editLayers

public VgLayerVector editLayers()
Access to the VgLayer collection.

Returns:
A reference to the layer collection.

VisioDevKit 2.0, Visioglobe® 2013