Class MarketingChannelsTable

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.HtmlComponent
com.vaadin.flow.component.HtmlContainer
com.vaadin.flow.component.html.Div
hu.rts.mike.example.dev.crm.view.marketingchannels.MarketingChannelsTable
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.html.Div>, 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.HasSize, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasText, Serializable

class MarketingChannelsTable extends com.vaadin.flow.component.html.Div
  • Field Details

  • Constructor Details

    • MarketingChannelsTable

      public MarketingChannelsTable()
  • Method Details

    • onAttach

      protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
      Overrides:
      onAttach in class com.vaadin.flow.component.Component
    • onDetach

      protected void onDetach(com.vaadin.flow.component.DetachEvent detachEvent)
      Overrides:
      onDetach in class com.vaadin.flow.component.Component
    • loadHeaderTexts

      private void loadHeaderTexts()
    • adjustActionColumn

      private void adjustActionColumn(int width)
    • updateColumnHeaders

      private void updateColumnHeaders()
    • updateColumnVisibilityMenu

      private void updateColumnVisibilityMenu()
    • configGrid

      private void configGrid()
    • addColumnFilterHeader

      private void addColumnFilterHeader()
    • addColumnFilters

      private void addColumnFilters(com.vaadin.flow.component.grid.HeaderRow columnFilterHeaderRow, String... propertyKeys)
    • addColumns

      private void addColumns()
    • addColumnRenderer

      private void addColumnRenderer(String propertyKey, com.vaadin.flow.data.renderer.Renderer<MarketingChannel> renderer)
    • renderNameColumn

      private String renderNameColumn(MarketingChannel entity)
    • updateColumnOrder

      private void updateColumnOrder(List<com.vaadin.flow.component.grid.Grid.Column<MarketingChannel>> columns)
    • setColumnOrder

      private void setColumnOrder()
    • addActionColumn

      private void addActionColumn()
    • addActionColumnHeader

      private void addActionColumnHeader(com.vaadin.flow.component.grid.HeaderRow columnFilterHeaderRow)
    • handleColumnReorder

      private void handleColumnReorder(com.vaadin.flow.component.grid.ColumnReorderEvent<MarketingChannel> event)
    • addColumnVisibilityMenuItems

      private void addColumnVisibilityMenuItems(List<com.vaadin.flow.component.grid.Grid.Column<MarketingChannel>> columns)
    • addTopHeader

      private void addTopHeader()
    • addHeading

      private void addHeading()
    • renderHeading

      private String renderHeading()
    • createAddNewButton

      private void createAddNewButton(com.vaadin.flow.component.orderedlayout.HorizontalLayout topHeaderLayout)
    • createActionColumn

      private com.vaadin.flow.component.orderedlayout.HorizontalLayout createActionColumn(MarketingChannel entity)
    • createViewButton

      private com.vaadin.flow.component.button.Button createViewButton(MarketingChannel entity)
    • viewAction

      private void viewAction(MarketingChannel entity)
    • createEditButton

      private com.vaadin.flow.component.button.Button createEditButton(MarketingChannel entity)
    • editAction

      private void editAction(MarketingChannel entity)
    • createAction

      private void createAction()
    • createDeleteButton

      private com.vaadin.flow.component.button.Button createDeleteButton(MarketingChannel entity)
    • deleteAction

      private void deleteAction(MarketingChannel entity)
    • showFailedNotification

      private void showFailedNotification(MarketingChannel entity)
    • showSuccessNotification

      private void showSuccessNotification()
    • createContextMenuActionColumn

      private com.vaadin.flow.component.menubar.MenuBar createContextMenuActionColumn(MarketingChannel entity)
    • updateGrid

      private void updateGrid()