Package com.luciad.view.gxy.asynchronous
Class TLcdGXYAsynchronousPaintEvent
java.lang.Object
java.util.EventObject
com.luciad.view.gxy.asynchronous.TLcdGXYAsynchronousPaintEvent
- All Implemented Interfaces:
Serializable
Class for events related to asynchronous painting.
- Since:
- 7.2
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
This constant indicates that asynchronous painting has finished.static final int
This constant indicates that asynchronous painting has started.Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionTLcdGXYAsynchronousPaintEvent
(Object aSource, int aState, ILcdGXYAsynchronousLayerWrapper aLayer, ILcdGXYView aGXYView) Constructs an event describing a change in asynchronous painting. -
Method Summary
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
STARTED
public static final int STARTEDThis constant indicates that asynchronous painting has started.- See Also:
-
FINISHED
public static final int FINISHEDThis constant indicates that asynchronous painting has finished.- See Also:
-
-
Constructor Details
-
TLcdGXYAsynchronousPaintEvent
public TLcdGXYAsynchronousPaintEvent(Object aSource, int aState, ILcdGXYAsynchronousLayerWrapper aLayer, ILcdGXYView aGXYView) Constructs an event describing a change in asynchronous painting.- Parameters:
aSource
- The object on which the Event initially occurred.aState
- The new state of the asynchronous painting. This is one ofSTARTED
orFINISHED
.aLayer
- The layer that was involved in the asynchronous painting change.aGXYView
- The view that was involved in the asynchronous painting change.- Throws:
IllegalArgumentException
- if source is null.
-
-
Method Details
-
getState
public int getState()Returns the paint state. -
getLayer
Returns the layer that is or was painted asynchronously.- Returns:
- the layer that is or was painted asynchronously.
-
getGXYView
Returns the view for which the layer was painted asynchronously.- Returns:
- the view for which the layer was painted asynchronously.
-
toString
- Overrides:
toString
in classEventObject
-