|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Extension
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.
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. |
void |
setParent(ClientConnector parent)
Sets the parent connector of the connector. |
Methods inherited from interface com.vaadin.server.ClientConnector |
---|
addAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getParent, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler |
Methods inherited from interface com.vaadin.shared.Connector |
---|
getConnectorId |
Method Detail |
---|
void remove()
void setParent(ClientConnector parent)
ClientConnector.attach()
if the connector
becomes attached to the session.
This method is rarely called directly.
AbstractClientConnector.addExtension(Extension)
is normally used
for adding extensions to a parent and it will call this method
implicitly.
parent
- the parent connector
java.lang.IllegalStateException
- if a parent is given even though the connector already has a
parent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |