org.das2.util.monitor.AbstractProgressMonitor

This is a progress monitor to use when we don't care about the progress, this doesn't provide a view of the progress to the client. Further, this can act as a base class for other monitor types.

AbstractProgressMonitor( )


canBeCancelled

canBeCancelled( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


cancel

cancel( ) → void

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


finished

finished( ) → void

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getLabel

getLabel( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getProgressMessage

getProgressMessage( ) → String

provide access to the last progress message setting.

Returns:

the last progress message setting.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getSubtaskMonitor

getSubtaskMonitor( int start, int end, String label ) → ProgressMonitor

Parameters

start - an int
end - an int
label - a String

Returns:

org.das2.util.monitor.ProgressMonitor

[search for examples] [view on GitHub] [view on old javadoc] [view source]

getSubtaskMonitor( String label ) → ProgressMonitor

getTaskProgress

getTaskProgress( ) → long

Returns:

long

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getTaskSize

getTaskSize( ) → long

Returns:

long

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isCancelled

isCancelled( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isFinished

isFinished( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isStarted

isStarted( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setAdditionalInfo

setAdditionalInfo( String s ) → void

Parameters

s - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setLabel

setLabel( String s ) → void

Parameters

s - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setProgressMessage

setProgressMessage( String message ) → void

Parameters

message - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setTaskProgress

setTaskProgress( long position ) → void

Parameters

position - a long

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setTaskSize

setTaskSize( long taskSize ) → void

Parameters

taskSize - a long

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


started

started( ) → void

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


toString

toString( ) → String

return a human-readable representation of the monitor, which is currently position + "of" + taskSize.

Returns:

return a human-readable representation of the monitor

[search for examples] [view on GitHub] [view on old javadoc] [view source]