@JavaScript(value="formRowOutliner.js")
public class FormRowOutliner
extends com.vaadin.server.AbstractJavaScriptExtension
supportedTypes
. The respective client-side implementation
seeks for the table row element wrapping the form component and applies .form-row-outlined
style to
it.
In addition, the row preceding to the outline one gets the .before-form-row-outlined
, which
is needed to overcome the margin/padding styling limitations of the table elements.
Finally, the outlined component itself gets .outlined
style name, so that additional rules can be
easily applied to it.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
Constructor and Description |
---|
FormRowOutliner() |
Modifier and Type | Method and Description |
---|---|
static void |
considerOutlining(com.vaadin.ui.Component component,
EditorPropertyDefinition definition) |
addFunction, callFunction, getState, getState, registerRpc
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, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, 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 considerOutlining(com.vaadin.ui.Component component, EditorPropertyDefinition definition)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.