public class CubaFieldGroupLayout
extends com.vaadin.ui.GridLayout
com.vaadin.ui.GridLayout.Area, com.vaadin.ui.GridLayout.OutOfBoundsException, com.vaadin.ui.GridLayout.OverlapsException
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandler
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listener
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 | Field and Description |
---|---|
protected java.util.Map<java.lang.Integer,com.haulmont.cuba.web.widgets.client.fieldgrouplayout.CaptionAlignment> |
columnCaptionAlignments |
protected java.util.Map<java.lang.Integer,java.lang.Integer> |
columnFieldCaptionWidth |
protected static java.lang.String |
INLINE_CAPTION_STYLENAME |
Constructor and Description |
---|
CubaFieldGroupLayout() |
Modifier and Type | Method and Description |
---|---|
void |
beforeClientResponse(boolean initial) |
com.haulmont.cuba.web.widgets.client.fieldgrouplayout.CaptionAlignment |
getColumnCaptionAlignment() |
com.haulmont.cuba.web.widgets.client.fieldgrouplayout.CaptionAlignment |
getColumnCaptionAlignment(int column) |
int |
getFieldCaptionWidth(int column) |
int |
getFixedCaptionWidth() |
protected com.haulmont.cuba.web.widgets.client.fieldgrouplayout.CubaFieldGroupLayoutState |
getState() |
protected com.haulmont.cuba.web.widgets.client.fieldgrouplayout.CubaFieldGroupLayoutState |
getState(boolean markAsDirty) |
boolean |
isUseInlineCaption() |
void |
setColumnCaptionAlignment(com.haulmont.cuba.web.widgets.client.fieldgrouplayout.CaptionAlignment alignment) |
void |
setColumnCaptionAlignment(int column,
com.haulmont.cuba.web.widgets.client.fieldgrouplayout.CaptionAlignment alignment) |
void |
setFieldCaptionWidth(int column,
int width) |
void |
setFixedCaptionWidth(int fixedCaptionWidth) |
void |
setUseInlineCaption(boolean useInlineCaption) |
protected void |
updateStyleName() |
addComponent, addComponent, addComponent, addLayoutClickListener, getColumnExpandRatio, getColumns, getComponent, getComponentAlignment, getComponentArea, getComponentCount, getCursorX, getCursorY, getCustomAttributes, getDefaultComponentAlignment, getMargin, getRowExpandRatio, getRows, insertRow, isHideEmptyRowsAndColumns, isSpacing, iterator, newLine, readDesign, removeAllComponents, removeComponent, removeComponent, removeLayoutClickListener, removeRow, replaceComponent, setColumnExpandRatio, setColumns, setComponentAlignment, setCursorX, setCursorY, setDefaultComponentAlignment, setHideEmptyRowsAndColumns, setMargin, setMargin, setRowExpandRatio, setRows, setSpacing, space, writeDesign
isRequiredIndicatorVisible, readMargin, setRequiredIndicatorVisible, writeMargin
addComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeComponentAttachListener, removeComponentDetachListener, setHeight, setWidth
addContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, attach, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, focus, getActionManager, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCubaId, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isReadOnly, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setCubaId, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredError, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthFull, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addComponents, getComponentIterator, moveComponentsFrom
addListener, addStyleName, addStyleNames, attach, getCaption, getCubaId, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setCubaId, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible
addAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected static final java.lang.String INLINE_CAPTION_STYLENAME
protected java.util.Map<java.lang.Integer,java.lang.Integer> columnFieldCaptionWidth
protected java.util.Map<java.lang.Integer,com.haulmont.cuba.web.widgets.client.fieldgrouplayout.CaptionAlignment> columnCaptionAlignments
protected com.haulmont.cuba.web.widgets.client.fieldgrouplayout.CubaFieldGroupLayoutState getState()
getState
in class com.vaadin.ui.GridLayout
protected com.haulmont.cuba.web.widgets.client.fieldgrouplayout.CubaFieldGroupLayoutState getState(boolean markAsDirty)
getState
in class com.vaadin.ui.GridLayout
public int getFixedCaptionWidth()
public void setFixedCaptionWidth(int fixedCaptionWidth)
public void beforeClientResponse(boolean initial)
beforeClientResponse
in interface com.vaadin.server.ClientConnector
beforeClientResponse
in class com.vaadin.ui.GridLayout
public int getFieldCaptionWidth(int column)
public void setFieldCaptionWidth(int column, int width)
public boolean isUseInlineCaption()
public void setUseInlineCaption(boolean useInlineCaption)
protected void updateStyleName()
public com.haulmont.cuba.web.widgets.client.fieldgrouplayout.CaptionAlignment getColumnCaptionAlignment()
public void setColumnCaptionAlignment(com.haulmont.cuba.web.widgets.client.fieldgrouplayout.CaptionAlignment alignment)
public com.haulmont.cuba.web.widgets.client.fieldgrouplayout.CaptionAlignment getColumnCaptionAlignment(int column)
public void setColumnCaptionAlignment(int column, com.haulmont.cuba.web.widgets.client.fieldgrouplayout.CaptionAlignment alignment)