Class TemplateManagerUI
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.orderedlayout.FlexLayout
-
- org.neotropic.kuwaiba.modules.core.templateman.TemplateManagerUI
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.orderedlayout.FlexLayout>
,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.FlexLayout>
,com.vaadin.flow.component.HasSize
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.component.orderedlayout.FlexComponent<com.vaadin.flow.component.orderedlayout.FlexLayout>
,com.vaadin.flow.router.HasDynamicTitle
,Serializable
,AbstractUI
,ActionCompletedListener
,PropertySheet.IPropertyValueChangedListener
@Route(value="templates", layout=TemplateManagerLayout.class) public class TemplateManagerUI extends com.vaadin.flow.component.orderedlayout.FlexLayout implements ActionCompletedListener, PropertySheet.IPropertyValueChangedListener, com.vaadin.flow.router.HasDynamicTitle, AbstractUI
Main UI for template manager module, initialize all display elements and business logic.- Author:
- Hardy Ryan Chingal Martinez <ryan.chingal@kuwaiba.org>, Mauricio Ruiz Beltrán <mauricio.ruiz@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.flow.component.orderedlayout.FlexLayout
com.vaadin.flow.component.orderedlayout.FlexLayout.ContentAlignment, com.vaadin.flow.component.orderedlayout.FlexLayout.FlexDirection, com.vaadin.flow.component.orderedlayout.FlexLayout.FlexWrap, com.vaadin.flow.component.orderedlayout.FlexLayout.WrapMode
-
Nested classes/interfaces inherited from interface org.neotropic.kuwaiba.core.apis.integration.modules.actions.ActionCompletedListener
ActionCompletedListener.ActionCompletedEvent
-
-
Constructor Summary
Constructors Constructor Description TemplateManagerUI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionCompleted(ActionCompletedListener.ActionCompletedEvent ev)
Fired when a dialog or other action finishString
getPageTitle()
void
initContent()
The code to initialize the content should be place here, not in theonAttach
method, or worse, in the class constructor.void
onDetach(com.vaadin.flow.component.DetachEvent ev)
void
updatePropertyChanged(AbstractProperty<?> property)
-
Methods inherited from class com.vaadin.flow.component.orderedlayout.FlexLayout
getAlignContent, getFlexBasis, getFlexDirection, getFlexShrink, getFlexWrap, getOrder, getWrapMode, setAlignContent, setFlexBasis, setFlexDirection, setFlexShrink, setFlexWrap, setOrder, setWrapMode
-
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, getAlignItems, getAlignSelf, getFlexGrow, getJustifyContentMode, replace, setAlignItems, setAlignSelf, 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
-
-
-
-
Method Detail
-
actionCompleted
public void actionCompleted(ActionCompletedListener.ActionCompletedEvent ev)
Fired when a dialog or other action finish- Specified by:
actionCompleted
in interfaceActionCompletedListener
- Parameters:
ev
- action of any action is complete
-
updatePropertyChanged
public void updatePropertyChanged(AbstractProperty<?> property)
- Specified by:
updatePropertyChanged
in interfacePropertySheet.IPropertyValueChangedListener
-
onDetach
public void onDetach(com.vaadin.flow.component.DetachEvent ev)
- Overrides:
onDetach
in classcom.vaadin.flow.component.Component
-
getPageTitle
public String getPageTitle()
- Specified by:
getPageTitle
in interfacecom.vaadin.flow.router.HasDynamicTitle
-
initContent
public void initContent()
Description copied from interface:AbstractUI
The code to initialize the content should be place here, not in theonAttach
method, or worse, in the class constructor.- Specified by:
initContent
in interfaceAbstractUI
-
-