User Tools

Site Tools


api:dk11:java:tatukgis.jdk.igis_subscribe

Table of Contents



IGIS_Subscribe interface

DK for Java | tatukgis.jdk.IGIS_Subscribe | Interfaces | Methods

Interface for objects that receive viewer subscription notifications.

Available also on: Delphi | .NET | ActiveX | Python.

Syntax

// Java
public abstract interface IGIS_Subscribe {
};
// Oxygene
type
  IGIS_Subscribe = public interface
  end;

Methods

Inherited Overrides Protected
Name Visibility Description
SubscribedEvent public Handles a viewer subscription notification.

Remarks

PURPOSE: Implement this interface in controls or helper objects that need to react to viewer state changes and refresh their own presentation or cached information.

BEHAVIOR: Subscribers receive notifications through SubscribedEvent with the sender, event identifier, and optional context object supplied by the viewer. This interface is used by components such as TGIS_ControlLegend and TGIS_ControlScale.

USAGE: Implement the callback and subscribe the object to the viewer.

subscriber = CustomSubscriber()
viewer.Subscribe(subscriber)

2026/10/31 23:12

Page Tools