Class QueriesUI
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.orderedlayout.VerticalLayout
-
- org.neotropic.kuwaiba.modules.core.queries.QueriesUI
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.orderedlayout.VerticalLayout>,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasOrderedComponents<com.vaadin.flow.component.orderedlayout.VerticalLayout>,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.orderedlayout.FlexComponent<com.vaadin.flow.component.orderedlayout.VerticalLayout>,com.vaadin.flow.component.orderedlayout.ThemableLayout,com.vaadin.flow.router.HasDynamicTitle,Serializable,AbstractUI
@Route(value="queries", layout=QueriesLayout.class) public class QueriesUI extends com.vaadin.flow.component.orderedlayout.VerticalLayout implements com.vaadin.flow.router.HasDynamicTitle, AbstractUIMain for Queries. This class manages how the pages corresponding to different functionalities are presented in a single place.- Author:
- Orlando Paz <Orlando.Paz@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringFORMAT_VERSION
-
Constructor Summary
Constructors Constructor Description QueriesUI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getCurrentQueryAsXML()Creates a valid XML document describing this object in the format exposed at the project's wikiStringgetPageTitle()voidinitContent()The code to initialize the content should be place here, not in theonAttachmethod, or worse, in the class constructor.voidloadQueries()voidonDetach(com.vaadin.flow.component.DetachEvent ev)voidshowActionCompledMessages(ActionCompletedListener.ActionCompletedEvent ev)-
Methods inherited from class com.vaadin.flow.component.orderedlayout.VerticalLayout
addAndExpand, getAlignItems, getAlignSelf, getDefaultHorizontalComponentAlignment, getHorizontalComponentAlignment, setAlignItems, setAlignSelf, setDefaultHorizontalComponentAlignment, setHorizontalComponentAlignment, setPadding, setSpacing
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onEnabledStateChanged, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.flow.component.ClickNotifier
addClickListener, addClickShortcut
-
Methods inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent
expand, getFlexGrow, getJustifyContentMode, replace, setFlexGrow, setJustifyContentMode
-
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
-
Methods inherited from interface com.vaadin.flow.component.HasOrderedComponents
getChildren, getComponentAt, getComponentCount, indexOf
-
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
-
-
-
-
Field Detail
-
FORMAT_VERSION
public static final String FORMAT_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
onDetach
public void onDetach(com.vaadin.flow.component.DetachEvent ev)
- Overrides:
onDetachin classcom.vaadin.flow.component.Component
-
showActionCompledMessages
public void showActionCompledMessages(ActionCompletedListener.ActionCompletedEvent ev)
-
getPageTitle
public String getPageTitle()
- Specified by:
getPageTitlein interfacecom.vaadin.flow.router.HasDynamicTitle
-
initContent
public void initContent()
Description copied from interface:AbstractUIThe code to initialize the content should be place here, not in theonAttachmethod, or worse, in the class constructor.- Specified by:
initContentin interfaceAbstractUI
-
getCurrentQueryAsXML
public byte[] getCurrentQueryAsXML()
Creates a valid XML document describing this object in the format exposed at the project's wiki- Returns:
- a byte array with the querty structure
-
loadQueries
public void loadQueries()
-
-