com.vaadin.ui
Class ProgressIndicator

java.lang.Object
  extended by com.vaadin.server.AbstractClientConnector
      extended by com.vaadin.ui.AbstractComponent
          extended by com.vaadin.ui.AbstractField<java.lang.Float>
              extended by com.vaadin.ui.ProgressBar
                  extended by com.vaadin.ui.ProgressIndicator
All Implemented Interfaces:
Buffered, BufferedValidatable, Property<java.lang.Float>, Property.Editor, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.Viewer, Validatable, Action.ShortcutNotifier, MethodEventSource, ClientConnector, Sizeable, Connector, Component, Component.Focusable, Field<java.lang.Float>, java.io.Serializable

Deprecated. as of 7.1, use ProgressBar combined with UI#setPushMode(PushMode) or UI.setPollInterval(int) instead.

@Deprecated
public class ProgressIndicator
extends ProgressBar

A ProgressBar which polls the server for updates.

Polling in this way is generally not recommended since there is no centralized management of when messages are sent to the server. Furthermore, polling might not be needed at all if UI#setPushMode(PushMode) or UI.setPollInterval(int) is used.

Since:
4
Author:
Vaadin Ltd.
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractField
AbstractField.FocusShortcut, AbstractField.ReadOnlyStatusChangeEvent
 
Nested classes/interfaces inherited from interface com.vaadin.ui.Field
Field.ValueChangeEvent
 
Nested classes/interfaces inherited from interface com.vaadin.data.Buffered
Buffered.SourceException
 
Nested classes/interfaces inherited from interface com.vaadin.data.Property
Property.Editor, Property.ReadOnlyException, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.Transactional<T>, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.Viewer
 
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
Component.ErrorEvent, Component.Event, Component.Focusable, Component.Listener
 
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener
 
Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable
Sizeable.Unit
 
Field Summary
 
Fields inherited from interface com.vaadin.server.Sizeable
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
 
Constructor Summary
ProgressIndicator()
          Deprecated. Creates an a new ProgressIndicator.
ProgressIndicator(float value)
          Deprecated. Creates a new instance of ProgressIndicator with given state.
ProgressIndicator(Property contentSource)
          Deprecated. Creates a new instance of ProgressIndicator with state read from the given datasource.
 
Method Summary
 int getPollingInterval()
          Deprecated. Gets the interval that component checks for progress.
protected  ProgressIndicatorState getState()
          Deprecated. Returns the shared state bean with information to be sent from the server to the client.
protected  ProgressIndicatorState getState(boolean markAsDirty)
          Deprecated. Returns the shared state for this connector.
 void setPollingInterval(int pollingInterval)
          Deprecated. Sets the interval that component checks for progress.
 
Methods inherited from class com.vaadin.ui.ProgressBar
beforeClientResponse, getType, getValue, isIndeterminate, setIndeterminate, setInternalValue, setValue
 
Methods inherited from class com.vaadin.ui.AbstractField
addListener, addListener, addReadOnlyStatusChangeListener, addValidator, addValueChangeListener, attach, commit, detach, discard, fireReadOnlyStatusChange, fireValueChange, focus, getConversionError, getConversionError, getConvertedValue, getConverter, getCurrentBufferedSourceException, getErrorMessage, getInternalValue, getModelType, getPropertyDataSource, getRequiredError, getTabIndex, getValidators, isBuffered, isEmpty, isInvalidAllowed, isInvalidCommitted, isModified, isReadOnly, isRequired, isValid, isValidationVisible, readOnlyStatusChange, removeAllValidators, removeListener, removeListener, removeReadOnlyStatusChangeListener, removeValidator, removeValueChangeListener, setBuffered, setConversionError, setConvertedValue, setConverter, setConverter, setCurrentBufferedSourceException, setInvalidAllowed, setInvalidCommitted, setLocale, setPropertyDataSource, setReadOnly, setRequired, setRequiredError, setTabIndex, setValidationVisible, setValue, shouldHideErrors, toString, validate, validate, valueChange
 
Methods inherited from class com.vaadin.ui.AbstractComponent
addListener, addShortcutListener, addStyleName, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isConnectorEnabled, isEnabled, isImmediate, isVisible, removeListener, removeShortcutListener, removeStyleName, setCaption, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeight, setIcon, setId, setImmediate, setParent, setPrimaryStyleName, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth
 
Methods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hasListeners, isAttached, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode
 
Methods inherited from interface com.vaadin.data.Property.Viewer
getPropertyDataSource, setPropertyDataSource
 
Methods inherited from interface com.vaadin.data.Property.ValueChangeListener
valueChange
 
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setVisible
 
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
 
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
 
Methods inherited from interface com.vaadin.server.Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setSizeFull, setSizeUndefined, setWidth, setWidth
 
Methods inherited from interface com.vaadin.event.Action.ShortcutNotifier
addShortcutListener, removeShortcutListener
 

Constructor Detail

ProgressIndicator

public ProgressIndicator()
Deprecated. 
Creates an a new ProgressIndicator.


ProgressIndicator

public ProgressIndicator(float value)
Deprecated. 
Creates a new instance of ProgressIndicator with given state.

Parameters:
value -

ProgressIndicator

public ProgressIndicator(Property contentSource)
Deprecated. 
Creates a new instance of ProgressIndicator with state read from the given datasource.

Parameters:
contentSource -
Method Detail

getState

protected ProgressIndicatorState getState()
Deprecated. 
Description copied from class: AbstractComponent
Returns the shared state bean with information to be sent from the server to the client. Subclasses should override this method and set any relevant fields of the state returned by super.getState().

Overrides:
getState in class ProgressBar
Returns:
updated component shared state

getState

protected ProgressIndicatorState getState(boolean markAsDirty)
Deprecated. 
Description copied from class: AbstractClientConnector
Returns the shared state for this connector.

Overrides:
getState in class ProgressBar
Parameters:
markAsDirty - true if the connector should automatically be marked dirty, false otherwise
Returns:
The shared state for this connector. Never null.
See Also:
AbstractClientConnector.getState()

setPollingInterval

public void setPollingInterval(int pollingInterval)
Deprecated. 
Sets the interval that component checks for progress.

Parameters:
pollingInterval - the interval in milliseconds.

getPollingInterval

public int getPollingInterval()
Deprecated. 
Gets the interval that component checks for progress.

Returns:
the interval in milliseconds.


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.