public class FileDownloaderConnector extends AbstractEventTriggerExtensionConnector
| Constructor and Description |
|---|
FileDownloaderConnector() |
| Modifier and Type | Method and Description |
|---|---|
FileDownloaderState |
getState()
Returns the shared state object for this connector.
|
void |
setParent(ServerConnector parent)
Sets the parent for this connector.
|
protected void |
trigger()
Called when the download should start.
|
extend, onUnregisteraddStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, init, isEnabled, onStateChanged, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setTag, unregisterRpc, updateEnabledStateprotected void trigger()
trigger in class AbstractEventTriggerExtensionConnectorpublic void setParent(ServerConnector parent)
ServerConnector
Note that calling this method does not fire a
ConnectorHierarchyChangeEvent. The event is fired only when the
whole hierarchy has been updated.
setParent in interface ServerConnectorsetParent in class AbstractExtensionConnectorparent - The new parent of the connectorpublic FileDownloaderState getState()
AbstractConnectorgetState in interface ServerConnectorgetState in class AbstractEventTriggerExtensionConnectorCopyright © 2021 Vaadin Ltd. All rights reserved.