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.viewlead.viewleadleft.viewleadtabbedcontainer.ViewLeadBodyCompanySizeTableRight
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 ViewLeadBodyCompanySizeTableRight extends com.vaadin.flow.component.html.Div
  • Field Details

  • Constructor Details

    • ViewLeadBodyCompanySizeTableRight

      public ViewLeadBodyCompanySizeTableRight(Integer rootId)
  • Method Details

    • getRootEntity

      private Lead getRootEntity(Integer rootId)
    • getParentId

      private Integer getParentId(Lead rootEntity)
    • 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()
    • addColumns

      private void addColumns()
    • addColumnRenderer

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

      private String renderYearColumn(CompanySize entity)
    • renderRevenueColumn

      private String renderRevenueColumn(CompanySize entity)
    • renderProfitColumn

      private String renderProfitColumn(CompanySize entity)
    • renderHeadcountColumn

      private String renderHeadcountColumn(CompanySize entity)
    • updateColumnOrder

      private void updateColumnOrder(List<com.vaadin.flow.component.grid.Grid.Column<CompanySize>> 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<CompanySize> event)
    • addColumnVisibilityMenuItems

      private void addColumnVisibilityMenuItems(List<com.vaadin.flow.component.grid.Grid.Column<CompanySize>> 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(CompanySize entity)
    • createEditButton

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

      private void editAction(CompanySize entity)
    • createAction

      private void createAction()
    • createContextMenuActionColumn

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

      private void updateGrid()