ProgressIndicator is component that shows user state of a process (like long computing or file upload) ProgressIndicator has two mainmodes. One for indeterminate processes and other (default) for processes which progress can be measured May view an other property that indicates progress 0...1
3.1
Inheritance Path. java.lang.Object-> com.itmill.toolkit.ui.AbstractComponent -> com.itmill.toolkit.ui.AbstractField -> com.itmill.toolkit.ui.ProgressIndicator
Creates a new instance of ProgressIndicator with stae read from given datasource.
Content mode, where the label contains only plain text. The getValue() result is coded to XML when painting.
Parameters
interval in milliseconds
Get interval that component checks for progress
Parameters
type of the Property
Returns the type of the Property. The methods
getValue
and
setValue
must be compatible with this type: one
must be able to safely cast the value returned from
getValue
to the given type and pass any variable
assignable to this type as an argument to
setValue
.
Parameters
Value of the ProgressIndicator
Get the value of the ProgressIndicator. Value of the ProgressIndicator is Float between 0 and 1
Parameters
True iff the component is in read only mode
Is the component read-only ? Readonly is not used in ProgressIndicator - this returns allways false.
Parameters
newValue
true to set to indeterminate mode
Set ProgressIndicator to indeterminate mode
Parameters
newValue
interval in milliseconds
Set interval that compnent checks for progress
Parameters
readOnly
True to enable read-only mode, False to disable it
Set the component to read-only. Readonly is not used in ProgressIndicator.
Parameters
newValue
New value of the ProgressIndicator
Set the value of the ProgressIndicator. Value of the ProgressIndicator is the Float between 0 and 1
Parameters
String
representation of the value stored in the
Property
Returns the value of the Property in human readable textual format.
The return value should be assignable to the
setValue
method if the Property is not in read-only mode.