org.geotools.swing
Class RenderingExecutorEvent

Object
  extended by EventObject
      extended by RenderingExecutorEvent
All Implemented Interfaces:
Serializable

public class RenderingExecutorEvent
extends EventObject

An event type used by RenderingExecutor 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
RenderingExecutorEvent(RenderingExecutor executor, long taskId)
          Creates a new event.
 
Method Summary
 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
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RenderingExecutorEvent

public RenderingExecutorEvent(RenderingExecutor executor,
                              long taskId)
Creates a new event.

Parameters:
executor - the executor publishing this event
taskId - the rendering executor task ID
Method Detail

getSource

public RenderingExecutor getSource()
Gets the rendering executor which published this event.

Overrides:
getSource in class EventObject
Returns:
the source executor

getTaskId

public long getTaskId()
Gets the integer ID of the rendering task associated with this event.

Returns:
task ID


Copyright © 1996-2014 Geotools. All Rights Reserved.