public class FieldCaptionActiveExtension
extends com.vaadin.server.AbstractExtension
FieldCaptionActiveExtension
enables dynamic styling for components' captions, depending on their focus state.
It toggles a 'focus' style name on caption elements, when their related component receives/loses focus;
it is primarily intended for the FormLayout
.
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 | Constructor and Description |
---|---|
protected |
FieldCaptionActiveExtension(com.vaadin.server.AbstractClientConnector component) |
Modifier and Type | Method and Description |
---|---|
static FieldCaptionActiveExtension |
focusCaptionOf(com.vaadin.server.AbstractClientConnector component) |
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
protected FieldCaptionActiveExtension(com.vaadin.server.AbstractClientConnector component)
public static FieldCaptionActiveExtension focusCaptionOf(com.vaadin.server.AbstractClientConnector component)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.