public class TLcdGXYAsynchronousPaintEvent extends EventObject
Modifier and Type | Field and Description |
---|---|
static int |
FINISHED
This constant indicates that asynchronous painting has finished.
|
static int |
STARTED
This constant indicates that asynchronous painting has started.
|
source
Constructor and Description |
---|
TLcdGXYAsynchronousPaintEvent(Object aSource,
int aState,
ILcdGXYAsynchronousLayerWrapper aLayer,
ILcdGXYView aGXYView)
Constructs an event describing a change in asynchronous painting.
|
Modifier and Type | Method and Description |
---|---|
ILcdGXYView |
getGXYView()
Returns the view for which the layer was painted asynchronously.
|
ILcdGXYAsynchronousLayerWrapper |
getLayer()
Returns the layer that is or was painted asynchronously.
|
int |
getState()
Returns the paint state.
|
String |
toString() |
getSource
public static final int STARTED
public static final int FINISHED
public TLcdGXYAsynchronousPaintEvent(Object aSource, int aState, ILcdGXYAsynchronousLayerWrapper aLayer, ILcdGXYView aGXYView)
aSource
- The object on which the Event initially occurred.aState
- The new state of the asynchronous painting.
This is one of STARTED
or FINISHED
.aLayer
- The layer that was involved in the asynchronous painting change.aGXYView
- The view that was involved in the asynchronous painting change.IllegalArgumentException
- if source is null.public ILcdGXYAsynchronousLayerWrapper getLayer()
public ILcdGXYView getGXYView()
public String toString()
toString
in class EventObject