com.vaadin.server
Interface Extension

All Superinterfaces:
ClientConnector, com.vaadin.shared.Connector, java.io.Serializable
All Known Implementing Classes:
AbstractExtension, AbstractJavaScriptExtension, BrowserWindowOpener, FileDownloader, JavaScript

public interface Extension
extends ClientConnector

An extension is an entity that is attached to a Component or another Extension and independently communicates between client and server.

An extension can only be attached once. It is not supported to move an extension from one target to another.

Extensions can use shared state and RPC in the same way as components.

Since:
7.0.0
Author:
Vaadin Ltd

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener
 
Method Summary
 void remove()
          Remove this extension from its target.
 
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getParent, getRpcManager, getStateType, getUI, handleConnectorRequest, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setParent
 
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
 

Method Detail

remove

void remove()
Remove this extension from its target. After an extension has been removed, it cannot be attached again.



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