Class TemplateDataSourceTab
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.tabs.GeneratedVaadinTab<com.vaadin.flow.component.tabs.Tab>
-
- com.vaadin.flow.component.tabs.Tab
-
- org.neotropic.kuwaiba.modules.commercial.sync.components.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
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAM_COMMANDCLOSE
Parameter command close.static String
PARAM_TEMPLATE_DATA_SOURCE
Parameter, template data source configuration.
-
Constructor Summary
Constructors Constructor Description TemplateDataSourceTab(String name, boolean enabled, boolean selectedTab, DeleteTemplateDataSourceVisualAction deleteTemplateDataSourceVisualAction, BusinessEntityManager bem, ApplicationEntityManager aem, SynchronizationService ss, TranslationService ts)
Constructs a `TemplateDataSourceTab`.
-
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
-
-
-
-
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.
-
-