Package com.vaadin.client.extensions
Class FileDownloaderConnector
- java.lang.Object
-
- com.vaadin.client.ui.AbstractConnector
-
- com.vaadin.client.extensions.AbstractExtensionConnector
-
- com.vaadin.client.extensions.FileDownloaderConnector
-
- All Implemented Interfaces:
com.google.gwt.event.dom.client.ClickHandler
,com.google.gwt.event.shared.EventHandler
,StateChangeEvent.StateChangeHandler
,ServerConnector
,Connector
,Serializable
public class FileDownloaderConnector extends AbstractExtensionConnector implements com.google.gwt.event.dom.client.ClickHandler
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileDownloaderConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
extend(ServerConnector target)
Called when the extension is attached to its parent.void
onClick(com.google.gwt.event.dom.client.ClickEvent event)
void
setParent(ServerConnector parent)
Sets the parent for this connector.-
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getState, getStateType, hasEventListener, init, isEnabled, onStateChanged, onUnregister, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, unregisterRpc, updateEnabledState
-
-
-
-
Method Detail
-
extend
protected void extend(ServerConnector target)
Description copied from class:AbstractExtensionConnector
Called when the extension is attached to its parent. This method is only called once as an extension cannot be moved from one parent to another.- Specified by:
extend
in classAbstractExtensionConnector
- Parameters:
target
- The connector this extension extends
-
onClick
public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
- Specified by:
onClick
in interfacecom.google.gwt.event.dom.client.ClickHandler
-
setParent
public void setParent(ServerConnector parent)
Description copied from interface:ServerConnector
Sets the parent for this connector. This method should only be called by the framework to ensure that the connector hierarchy on the client side and the server side are in sync.Note that calling this method does not fire a
ConnectorHierarchyChangeEvent
. The event is fired only when the whole hierarchy has been updated.- Specified by:
setParent
in interfaceServerConnector
- Overrides:
setParent
in classAbstractExtensionConnector
- Parameters:
parent
- The new parent of the connector
-
-