| com.sun.pdfview.Watchable
All known Subclasses: com.sun.pdfview.BaseWatchable,
Watchable | public interface Watchable (Code) | | An interface for rendering or parsing, which can be stopped and started.
|
Method Summary | |
public int | getStatus() | public void | go() Start this watchable and run until it is finished or stopped. | public void | go(int steps) Start this watchable and run for the given number of steps or until
finished or stopped. | public void | go(long millis) Start this watchable and run for the given amount of time, or until
finished or stopped. | public void | stop() Stop this watchable. |
COMPLETED | final public static int COMPLETED(Code) | | |
ERROR | final public static int ERROR(Code) | | |
NEEDS_DATA | final public static int NEEDS_DATA(Code) | | |
NOT_STARTED | final public static int NOT_STARTED(Code) | | |
PAUSED | final public static int PAUSED(Code) | | |
RUNNING | final public static int RUNNING(Code) | | |
STOPPED | final public static int STOPPED(Code) | | |
UNKNOWN | final public static int UNKNOWN(Code) | | the possible statuses
|
getStatus | public int getStatus()(Code) | | Get the status of this watchable
one of the well-known statuses |
go | public void go()(Code) | | Start this watchable and run until it is finished or stopped.
Note the watchable may be stopped if go() with a
different time is called during execution.
|
go | public void go(int steps)(Code) | | Start this watchable and run for the given number of steps or until
finished or stopped.
Parameters: steps - the number of steps to run for |
go | public void go(long millis)(Code) | | Start this watchable and run for the given amount of time, or until
finished or stopped.
Parameters: millis - the number of milliseconds to run for |
stop | public void stop()(Code) | | Stop this watchable. Stop will cause all processing to cease,
and the watchable to be destroyed.
|
|
|