public class FocusFieldCaption
extends com.vaadin.server.AbstractExtension
FocusFieldCaption
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 |
FocusFieldCaption(com.vaadin.ui.FormLayout component) |
Modifier and Type | Method and Description |
---|---|
static FocusFieldCaption |
focusCaptionOf(com.vaadin.ui.FormLayout 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 FocusFieldCaption(com.vaadin.ui.FormLayout component)
public static FocusFieldCaption focusCaptionOf(com.vaadin.ui.FormLayout component)
Copyright © 2019 Magnolia International Ltd.. All rights reserved.