com.vaadin.ui
Class ProgressIndicator
java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractField<java.lang.Float>
com.vaadin.ui.ProgressBar
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, com.vaadin.shared.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
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 com.vaadin.shared.ui.progressindicator.ProgressIndicatorState |
getState()
Deprecated. Returns the shared state bean with information to be sent from the server
to the client. |
protected com.vaadin.shared.ui.progressindicator.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.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, isOrHasAncestor, 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 |
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
-
getState
protected com.vaadin.shared.ui.progressindicator.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 com.vaadin.shared.ui.progressindicator.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.