Package coop.intergal.ui.views
Class ViewFrame
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
-
- coop.intergal.ui.views.ViewFrame
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,Serializable
@CssImport("styles/components/view-frame.css") public class ViewFrame extends com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div> implements com.vaadin.flow.component.HasStyleA view frame that establishes app design guidelines. It consists of three parts:- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ViewFrame()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidonAttach(com.vaadin.flow.component.AttachEvent attachEvent)voidsetViewContent(com.vaadin.flow.component.Component... components)Sets the content slot's components.voidsetViewFooter(com.vaadin.flow.component.Component... components)Sets the footer slot's components.voidsetViewHeader(com.vaadin.flow.component.Component... components)Sets the header slot's components.-
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement, initContent
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
-
-
-
Method Detail
-
setViewHeader
public void setViewHeader(com.vaadin.flow.component.Component... components)
Sets the header slot's components.
-
setViewContent
public void setViewContent(com.vaadin.flow.component.Component... components)
Sets the content slot's components.
-
setViewFooter
public void setViewFooter(com.vaadin.flow.component.Component... components)
Sets the footer slot's components.
-
onAttach
protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
- Overrides:
onAttachin classcom.vaadin.flow.component.Component
-
-