com.esri.map
Class ProgressEvent

java.lang.Object
  extended by java.util.EventObject
      extended by java.awt.AWTEvent
          extended by com.esri.map.ProgressEvent
All Implemented Interfaces:
Serializable

public class ProgressEvent
extends AWTEvent

ProgressEvents are fired by the Map to indicate the draw progress of the Map's layer collection.

See Also:
Serialized Form

Field Summary
static int PROGRESSEVENT_FIRST
           
static int PROGRESSEVENT_LAST
           
static int PROGRESSEVENT_PROGRESS
           
 
Fields inherited from class java.awt.AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ProgressEvent(Object source, int id, int progress)
          Instantiates a new progress event.
 
Method Summary
 int getProgress()
          Gets the progress.
 
Methods inherited from class java.awt.AWTEvent
consume, getID, isConsumed, paramString, setSource, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROGRESSEVENT_FIRST

public static final int PROGRESSEVENT_FIRST
See Also:
Constant Field Values

PROGRESSEVENT_PROGRESS

public static final int PROGRESSEVENT_PROGRESS
See Also:
Constant Field Values

PROGRESSEVENT_LAST

public static final int PROGRESSEVENT_LAST
See Also:
Constant Field Values
Constructor Detail

ProgressEvent

public ProgressEvent(Object source,
                     int id,
                     int progress)
Instantiates a new progress event.

Parameters:
source - the event source
id - the ID
progress - the progress value
Method Detail

getProgress

public int getProgress()
Gets the progress.

Returns:
the progress


Copyright © 2012. All Rights Reserved.