| java.lang.Object org.netbeans.progress.spi.ProgressEvent
ProgressEvent | final public class ProgressEvent (Code) | | author: Milos Kleint (mkleint@netbeans.org) |
Constructor Summary | |
public | ProgressEvent(InternalHandle src, int type, boolean isWatched) | public | ProgressEvent(InternalHandle src, int type, boolean isWatched, String msg) | public | ProgressEvent(InternalHandle src, String msg, int units, double percentage, long estimate, boolean isWatched) | public | ProgressEvent(InternalHandle src, String msg, int units, double percentage, long estimate, boolean isWatched, String displayName) |
TYPE_FINISH | final public static int TYPE_FINISH(Code) | | |
TYPE_PROGRESS | final public static int TYPE_PROGRESS(Code) | | |
TYPE_REQUEST_STOP | final public static int TYPE_REQUEST_STOP(Code) | | |
TYPE_SILENT | final public static int TYPE_SILENT(Code) | | |
TYPE_START | final public static int TYPE_START(Code) | | |
TYPE_SWITCH | final public static int TYPE_SWITCH(Code) | | |
ProgressEvent | public ProgressEvent(InternalHandle src, int type, boolean isWatched)(Code) | | Creates a new instance of ProgressEvent
Parameters: type - one of TYPE_START, TYPE_REQUEST_STOP, TYPE_FINISH, TYPE_SWITCHED |
ProgressEvent | public ProgressEvent(InternalHandle src, int type, boolean isWatched, String msg)(Code) | | Creates a new instance of ProgressEvent
Parameters: type - one of TYPE_SILENT |
ProgressEvent | public ProgressEvent(InternalHandle src, String msg, int units, double percentage, long estimate, boolean isWatched)(Code) | | Parameters: percentage - completed work percentage Parameters: estimate - estimate of completion in seconds |
copyMessageFromEarlier | public void copyMessageFromEarlier(ProgressEvent last)(Code) | | used in controller, preserve dynamic message from earlier events
if this one doesn't have it's own.
|
getEstimatedCompletion | public long getEstimatedCompletion()(Code) | | |
getPercentageDone | public double getPercentageDone()(Code) | | |
getType | public int getType()(Code) | | |
getWorkunitsDone | public int getWorkunitsDone()(Code) | | |
isSwitched | public boolean isSwitched()(Code) | | |
isWatched | public boolean isWatched()(Code) | | |
markAsSwitched | public void markAsSwitched()(Code) | | |
|
|