public class CloseIcon
extends com.vaadin.server.AbstractExtension
CloseIcon
is a Vaadin Extension
for Vaadin TabSheets
.
It merely adds a close icon to the top-right corner,
and leaves the actual closing behavior to implementation, through the CloseIcon.CloseHandler
.
Modifier and Type | Class and Description |
---|---|
static interface |
CloseIcon.CloseHandler
CloseIcon -enabled components must define what happens when pressing it with a CloseIcon.CloseHandler . |
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Modifier and Type | Method and Description |
---|---|
static void |
extend(com.vaadin.ui.TabSheet tabSheet,
CloseIcon.CloseHandler handler) |
extend, getParent, getSupportedParentType, remove, setParent
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, attach, beforeClientResponse, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getState, getState, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public static void extend(com.vaadin.ui.TabSheet tabSheet, CloseIcon.CloseHandler handler)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.