User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_layervectorenumerator

TGIS_LayerVectorEnumerator class

DK11 for Java | tatukgis.jdk.TGIS_LayerVectorEnumerator | Classes | Constructors | Methods | Properties

Vector layer enumerator.

Available also on: Delphi | .NET | ActiveX.

Syntax

// Java
public class TGIS_LayerVectorEnumerator extends TObject implements java.util.Iterator {
};
// Oxygene
type
  TGIS_LayerVectorEnumerator = public class( TObject, java.util.Iterator )
  end;

Inheritance

→ TObject

Implements

java.util.Iterator

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_LayerVectorEnumerator(TGIS_LayerVector, TGIS_Extent, java.lang.String, TGIS_Shape, java.lang.String, bool) public Create an enumerator instance.
TGIS_LayerVectorEnumerator(TGIS_LayerVectorEnumeratorFactory, TGIS_LayerVector, TGIS_Extent, java.lang.String, TGIS_Shape, java.lang.String, bool) public Create an enumerator instance.

Methods

Inherited Overrides Protected
Name Visibility Description
BindField public Obtain a bind number for a given field name.
Dispose public Destroy an object.
GetCurrent public Get current enumerator value.
GetField public Get field value for a shape given by unique identity.
hasNext public Java specific enumerator support method.
MoveNext public Move to next record
next public Java specific enumerator support method.
remove public Java specific enumerator support method.
Reset public Reset enumerator.

Properties

Inherited Protected
Name Visibility Description
Current public Current enumerator value.
Cursor public Current cursor index.

Remarks

There is no garbage collector for TGIS_LayerVectorEnumerator instances. Because of this, the layer enumerator must be destroyed, by calling TGIS_LayerVectorEnumerator.Free, after it has been used. Check examples below.

Example

Oxygene

  foreach( TGIS_Shape shp in later.Loop( some_extent ) )
    dosomething();

2020/05/08 01:16

Page Tools