Class TemplateDataSourceTab

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasLabel, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasTheme, Serializable

    public class TemplateDataSourceTab
    extends com.vaadin.flow.component.tabs.Tab
    This class represents a tab for managing template data sources. It includes features for creating, editing, and deleting data sources, along with managing their properties.
    Author:
    Hardy Ryan Chingal Martinez <ryan.chingal@neotropic.co>
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void refreshTemplateGrd()
      Refreshes the template data source grid.
      • Methods inherited from class com.vaadin.flow.component.tabs.Tab

        getFlexGrow, getLabel, isSelected, setFlexGrow, setLabel, setSelected, toString
      • Methods inherited from class com.vaadin.flow.component.tabs.GeneratedVaadinTab

        addThemeVariants, getValueString, isDisabledBoolean, isSelectedBoolean, removeThemeVariants, setDisabled, setValue
      • 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, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • Methods inherited from interface com.vaadin.flow.component.HasComponents

        add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
      • Methods inherited from interface com.vaadin.flow.component.HasEnabled

        isEnabled, setEnabled
      • Methods inherited from interface com.vaadin.flow.component.HasStyle

        addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
      • Methods inherited from interface com.vaadin.flow.component.HasTheme

        addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName
    • Field Detail

      • PARAM_TEMPLATE_DATA_SOURCE

        public static String PARAM_TEMPLATE_DATA_SOURCE
        Parameter, template data source configuration.
      • PARAM_COMMANDCLOSE

        public static String PARAM_COMMANDCLOSE
        Parameter command close.
    • Constructor Detail

      • TemplateDataSourceTab

        public TemplateDataSourceTab​(String name,
                                     boolean enabled,
                                     boolean selectedTab,
                                     DeleteTemplateDataSourceVisualAction deleteTemplateDataSourceVisualAction,
                                     BusinessEntityManager bem,
                                     ApplicationEntityManager aem,
                                     SynchronizationService ss,
                                     TranslationService ts)
        Constructs a `TemplateDataSourceTab`.
        Parameters:
        name - The name of the tab.
        enabled - `true` if the tab is enabled; otherwise, `false`.
        selectedTab - `true` if the tab is selected; otherwise, `false`.
        deleteTemplateDataSourceVisualAction - An action for deleting template data sources.
        bem - The Business Entity Manager.
        aem - The Application Entity Manager.
        ss - The Synchronization Service.
        ts - The Translation Service.
    • Method Detail

      • refreshTemplateGrd

        public void refreshTemplateGrd()
        Refreshes the template data source grid.