Package org.geotools.swing
Class RenderingExecutorEvent
Object
EventObject
RenderingExecutorEvent
- All Implemented Interfaces:
Serializable
An event type used by
RenderingExecutor
to communicate task status to client objects.- Since:
- 8.0
- Author:
- Michael Bedward
- See Also:
-
Field Summary
Fields inherited from class EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionRenderingExecutorEvent
(RenderingExecutor executor, long taskId) Creates a new event. -
Method Summary
Modifier and TypeMethodDescriptionGets the rendering executor which published this event.long
Gets the integer ID of the rendering task associated with this event.Methods inherited from class EventObject
toString
-
Constructor Details
-
RenderingExecutorEvent
Creates a new event.- Parameters:
executor
- the executor publishing this eventtaskId
- the rendering executor task ID
-
-
Method Details
-
getSource
Gets the rendering executor which published this event.- Overrides:
getSource
in classEventObject
- Returns:
- the source executor
-
getTaskId
public long getTaskId()Gets the integer ID of the rendering task associated with this event.- Returns:
- task ID
-