java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.Container
overit.geocall.basic.ui.container.Panel
overit.geocallapp.wfm.core.ux.datacollection.node.container.components.matrix.PanelDataCollectionNodeMatrixBase
All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, AjaxableComponent, Badgeable, Hideable, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable
Direct Known Subclasses:
PanelDataCollectionNodeColumnsMatrix, PanelDataCollectionNodeMatrixHeaders

public abstract class PanelDataCollectionNodeMatrixBase extends Panel
Abstract base class for matrix-based data collection panels. Provides functionality for managing column headers, visibility, and localized content.
Since:
21.0
See Also:
GCApi:
controller
  • Field Details

    • MAX_NUM_COLUMNS

      public static final int MAX_NUM_COLUMNS
      Maximum number of columns allowed in the matrix
      See Also:
    • form

      protected Form form
      Reference to the form component
    • inputsHeaders

      protected transient Map<Integer,Input> inputsHeaders
      Maps column indices to header input fields
    • numVisibleColumns

      protected int numVisibleColumns
      Number of currently visible columns
    • columnHeaders

      protected transient List<BODataCollectionNodeMatrixColumnHeader> columnHeaders
      Column header data objects
  • Constructor Details

    • PanelDataCollectionNodeMatrixBase

      public PanelDataCollectionNodeMatrixBase()
  • Method Details

    • setColumnHeaders

      public void setColumnHeaders(List<BODataCollectionNodeMatrixColumnHeader> columnHeaders)
      Sets the column headers for this matrix.
      Parameters:
      columnHeaders - list of column header data objects
    • setNumVisibleColumns

      protected void setNumVisibleColumns(Integer numVisibleColumns)
      Sets the number of visible columns in the matrix.
      Parameters:
      numVisibleColumns - number of columns to display
    • onOpen

      public void onOpen(Object o)
      Initializes components when the panel is opened.
      Overrides:
      onOpen in class Container
      Parameters:
      o - the object passed to the panel
    • initComponents

      protected void initComponents()
    • show

      public void show()
      Shows the panel and updates column visibility.
      Overrides:
      show in class Panel
    • hideShowColumns

      protected void hideShowColumns()
      Updates the visibility of columns based on numVisibleColumns.
    • getFormRegistryName

      protected abstract String getFormRegistryName()
      Gets the registry name for the form component.
      Returns:
      the form registry name
    • getInputPrefix

      protected abstract String getInputPrefix()
      Gets the prefix used for input field names.
      Returns:
      the input field prefix