org.das2.components.DasProgressLabel

One-line Label component prints the update progress to a JLabel component. This is either created by the client and set with setLabelComponent, or this class will also create one with getLabelComponent.

DasProgressLabel( String taskLabel )

create the DasProgessLabel with the given label for the task.


finished

finished( ) → void

Returns:

void (returns nothing)

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


getLabelComponent

getLabelComponent( ) → JLabel

get the assigned label component, or create one if one has not been assigned.

Returns:

the assigned label component

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


setLabelComponent

setLabelComponent( javax.swing.JLabel label ) → void

set the label to use for the progress monitor.

Parameters

label - the assigned label component

Returns:

void (returns nothing)

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