ProgressBar
combined with
UI#setPushMode(PushMode)
or
UI.setPollInterval(int)
instead.@Deprecated public class ProgressIndicator extends ProgressBar
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.
AbstractField.FocusShortcut, AbstractField.ReadOnlyStatusChangeEvent
Field.ValueChangeEvent
Buffered.SourceException
Property.Editor, Property.ReadOnlyException, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.Transactional<T>, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.Viewer
Component.ErrorEvent, Component.Event, Component.Focusable, Component.Listener
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener
Sizeable.Unit
DESIGN_ATTR_PLAIN_TEXT
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
beforeClientResponse, clear, getType, getValue, isEmpty, isIndeterminate, readDesign, setIndeterminate, setInternalValue, setValue, writeDesign
addListener, addListener, addReadOnlyStatusChangeListener, addValidator, addValueChangeListener, attach, commit, detach, discard, fireReadOnlyStatusChange, fireValueChange, focus, getConversionError, getConversionError, getConvertedValue, getConverter, getCurrentBufferedSourceException, getCustomAttributes, getErrorMessage, getInternalValue, getModelType, getPropertyDataSource, getRequiredError, getTabIndex, getValidators, isBuffered, isImmediate, 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, setValue, shouldHideErrors, toString, validate, validate, valueChange
addContextClickListener, addListener, addShortcutListener, addStyleName, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getExplicitImmediateValue, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setParent, setPrimaryStyleName, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setVisible, setWidth, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPropertyDataSource, setPropertyDataSource
valueChange
addListener, addStyleName, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setVisible
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getConnectorId
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
addShortcutListener, removeShortcutListener
public ProgressIndicator()
public ProgressIndicator(float value)
value
- public ProgressIndicator(Property contentSource)
contentSource
- protected ProgressIndicatorState getState()
AbstractComponent
getState
in class ProgressBar
protected ProgressIndicatorState getState(boolean markAsDirty)
AbstractClientConnector
getState
in class ProgressBar
markAsDirty
- true if the connector should automatically be marked dirty,
false otherwiseAbstractClientConnector.getState()
public void setPollingInterval(int pollingInterval)
pollingInterval
- the interval in milliseconds.public int getPollingInterval()
Copyright © 2019 Vaadin Ltd. All rights reserved.