Class AttributeLocationFragment

java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.dynattrui.screen.location.AttributeLocationFragment
All Implemented Interfaces:
FrameOwner

@UiController("dynat_AttributeLocationFragment") @UiDescriptor("attribute-location-fragment.xml") public class AttributeLocationFragment extends ScreenFragment
  • Field Details

  • Constructor Details

    • AttributeLocationFragment

      public AttributeLocationFragment()
  • Method Details

    • setEnabled

      public void setEnabled(boolean isEnabled)
    • onAttach

      @Subscribe public void onAttach(ScreenFragment.AttachEvent event)
    • setupFieldsLock

      protected void setupFieldsLock()
    • setCategoryAttributes

      public void setCategoryAttributes(List<CategoryAttribute> categoryAttributes)
    • onColumnsCountLookupFieldValueChange

      @Subscribe("columnsCountLookupField") protected void onColumnsCountLookupFieldValueChange(HasValue.ValueChangeEvent<Integer> event)
    • onSaveConfigurationBtnClick

      @Subscribe("saveConfigurationBtn") protected void onSaveConfigurationBtnClick(Button.ClickEvent event)
    • refresh

      protected void refresh()
    • refreshTargetDataGridBox

      protected void refreshTargetDataGridBox()
    • refreshContainers

      protected void refreshContainers()
    • createEmptyCategoryAttribute

      protected CategoryAttribute createEmptyCategoryAttribute()
    • refreshRowsCounts

      protected void refreshRowsCounts()
    • getMaxColumnIndex

      protected int getMaxColumnIndex()
    • refreshColumnsCountLookupField

      protected void refreshColumnsCountLookupField()
    • getColumnsCountLookupFieldOptionsList

      protected List<Integer> getColumnsCountLookupFieldOptionsList()
    • addColumn

      protected void addColumn(int index, int elementsCount)
    • createDataGrid

      protected DataGrid<CategoryAttribute> createDataGrid(int i)
    • removeColumn

      protected void removeColumn(int index)
    • refreshTargetDataGrids

      protected void refreshTargetDataGrids(int columnsCount)
    • refreshDataGridDragAndDrop

      protected void refreshDataGridDragAndDrop(DataGrid<CategoryAttribute> dataGrid, List<CategoryAttribute> dataContainer, boolean isSourceDataGrid)
    • onGridDragStart

      protected void onGridDragStart(com.vaadin.ui.components.grid.GridDragStartEvent<CategoryAttribute> event)
    • onGridDrop

      protected void onGridDrop(com.vaadin.ui.components.grid.GridDropEvent<CategoryAttribute> event, boolean isAttributesSourceGrid)
    • addToDestinationGrid

      protected int addToDestinationGrid(com.vaadin.ui.components.grid.GridDropEvent<CategoryAttribute> event, boolean isSourceGrid, com.vaadin.ui.dnd.DragSourceExtension source)
    • removeFromSourceGrid

      protected void removeFromSourceGrid(com.vaadin.ui.Grid<?> currentSourceGrid, boolean isAttributesSourceGrid, com.vaadin.ui.AbstractComponent dropComponent, int dropIndex)
    • refreshSourceDataProvider

      protected void refreshSourceDataProvider()