Package org.geotools.swing
Class RenderingExecutorEvent
- Object
-
- EventObject
-
- RenderingExecutorEvent
-
- All Implemented Interfaces:
Serializable
public class RenderingExecutorEvent extends EventObject
An event type used byRenderingExecutor
to communicate task status to client objects.- Since:
- 8.0
- Author:
- Michael Bedward
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class EventObject
source
-
-
Constructor Summary
Constructors Constructor Description RenderingExecutorEvent(RenderingExecutor executor, long taskId)
Creates a new event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RenderingExecutor
getSource()
Gets the rendering executor which published this event.long
getTaskId()
Gets the integer ID of the rendering task associated with this event.-
Methods inherited from class EventObject
toString
-
-
-
-
Constructor Detail
-
RenderingExecutorEvent
public RenderingExecutorEvent(RenderingExecutor executor, long taskId)
Creates a new event.- Parameters:
executor
- the executor publishing this eventtaskId
- the rendering executor task ID
-
-
Method Detail
-
getSource
public RenderingExecutor 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
-
-