THIS
- Self-referential generic THISpublic interface FluentCustomLayout<THIS extends FluentCustomLayout<THIS>> extends FluentAbstractLayout<THIS>
CustomLayout
CustomLayout
FluentLayout.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.SpacingHandler
FluentHasComponents.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.ComponentDetachListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, 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 | 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, withStyleName
withAttachListener, withDetachListener
withContextClickListener
addContextClickListener, removeContextClickListener
withComponent, withComponents
addComponent, addComponents, getComponentCount, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponent, replaceComponent
forEach, spliterator
addListener, 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, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
withComponentAttachListener, withComponentDetachListener
default 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.