THIS - Self-referential generic THISpublic interface FluentCustomLayout<THIS extends FluentCustomLayout<THIS>> extends FluentAbstractLayout<THIS>
CustomLayoutCustomLayoutFluentLayout.FluentAlignmentHandler<THIS extends FluentLayout.FluentAlignmentHandler<THIS>>, FluentLayout.FluentMarginHandler<THIS extends FluentLayout.FluentMarginHandler<THIS>>, FluentLayout.FluentSpacingHandler<THIS extends FluentLayout.FluentSpacingHandler<THIS>>com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandlerFluentHasComponents.FluentComponentAttachDetachNotifier<THIS extends FluentHasComponents<THIS>>com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListenercom.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listenercom.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 |
|---|---|
default THIS |
withComponent(com.vaadin.ui.Component c,
String location)
Adds the component into this container to given location.
|
default THIS |
withTemplateContents(String templateContents)
Set the contents of the template used to draw the custom layout (usually html).
|
default THIS |
withTemplateName(String templateName)
Set the name of the template used to draw custom layout.
|
withCaption, withCaptionAsHtml, withComponentError, withData, withDescription, withDescription, withLocale, withResponsive, withShortcutListener, withStyleNamewithAttachListener, withDetachListenerwithContextClickListeneraddContextClickListener, removeContextClickListenerwithComponent, withComponentsaddComponent, addComponents, getComponentCount, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponent, replaceComponentforEach, spliteratoraddListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setVisible, writeDesignaddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlergetHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefinedwithComponentAttachListener, withComponentDetachListenerdefault THIS withComponent(com.vaadin.ui.Component c, String location)
c - the component to be added.location - the location of the component.CustomLayout.addComponent(Component, String)default THIS withTemplateContents(String templateContents)
templateContents - html contentCustomLayout.setTemplateContents(String)default THIS withTemplateName(String templateName)
templateName - name of the html fileCustomLayout.setTemplateName(String)Copyright © 2017 Jean-Christophe Fortier. All rights reserved.