| java.lang.Object java.util.EventObject org.netbeans.modules.refactoring.api.ProgressEvent
ProgressEvent | final public class ProgressEvent extends EventObject (Code) | | Progress event object.
author: Martin Matula |
Field Summary | |
final public static int | START | final public static int | STEP | final public static int | STOP |
Constructor Summary | |
public | ProgressEvent(Object source, int eventId) Creates ProgressEvent instance. | public | ProgressEvent(Object source, int eventId, int operationType, int count) Creates ProgressEvent instance. |
Method Summary | |
public int | getCount() Returns step count.
Number of step that the operation being processed consists of. | public int | getEventId() Returns ID of the event. | public int | getOperationType() Returns operation type.
Source-specific number identifying operation being processed. |
START | final public static int START(Code) | | Start event id
|
STEP | final public static int STEP(Code) | | Step event id
|
STOP | final public static int STOP(Code) | | Stop event id
|
ProgressEvent | public ProgressEvent(Object source, int eventId)(Code) | | Creates ProgressEvent instance.
Parameters: source - Source of the event. Parameters: eventId - ID of the event. |
ProgressEvent | public ProgressEvent(Object source, int eventId, int operationType, int count)(Code) | | Creates ProgressEvent instance.
Parameters: source - Source of the event. Parameters: eventId - ID of the event. Parameters: operationType - Source-specific number identifying source operation thatis being processed. Parameters: count - Number of steps that the processed opration consists of. |
getCount | public int getCount()(Code) | | Returns step count.
Number of step that the operation being processed consists of. Needs tobe valid for START events, can be 0 for STEP and STOP events. If it is not 0for STEP events, it is a new progress. |
getEventId | public int getEventId()(Code) | | Returns ID of the event.
ID of the event. |
getOperationType | public int getOperationType()(Code) | | Returns operation type.
Source-specific number identifying operation being processed. Needs tobe valid for START events, can be 0 for STEP and STOP events. |
|
|