Class WTableColumn

java.lang.Object
org.adempiere.webui.component.WTableColumn

public class WTableColumn extends Object
Model for WListbox column
Author:
Andrew Kimball
  • Field Details

    • width

      @Deprecated(forRemoval=true, since="11") protected int width
      Deprecated, for removal: This API element is subject to removal in a future version.
    • minWidth

      @Deprecated(forRemoval=true, since="11") protected int minWidth
      Deprecated, for removal: This API element is subject to removal in a future version.
    • maxWidth

      @Deprecated(forRemoval=true, since="11") protected int maxWidth
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isResizable

      @Deprecated(forRemoval=true, since="11") protected boolean isResizable
      Deprecated, for removal: This API element is subject to removal in a future version.
    • headerValue

      protected Object headerValue
      The header value of the column.
    • columnClass

      protected Class<?> columnClass
    • tooltipText

      protected String tooltipText
  • Constructor Details

    • WTableColumn

      public WTableColumn()
      Default constructor
    • WTableColumn

      @Deprecated(forRemoval=true, since="11") public WTableColumn(int width)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      width -
  • Method Details

    • setHeaderValue

      public void setHeaderValue(Object headerValue)
      Sets the Object whose string representation will be used as the value for the headerRenderer. When the WTableColumn is created, the default headerValue is null.
      Parameters:
      headerValue - the new headerValue
      See Also:
    • getHeaderValue

      public Object getHeaderValue()
      Returns the Object used as the value for the header renderer.
      Returns:
      the headerValue property
      See Also:
    • setWidth

      @Deprecated(forRemoval=true, since="11") public void setWidth(int width)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getWidth

      @Deprecated(forRemoval=true, since="11") public int getWidth()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setPreferredWidth

      @Deprecated(forRemoval=true, since="11") public void setPreferredWidth(int preferredWidth)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPreferredWidth

      @Deprecated(forRemoval=true, since="11") public int getPreferredWidth()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setMinWidth

      @Deprecated(forRemoval=true, since="11") public void setMinWidth(int minWidth)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getMinWidth

      @Deprecated(forRemoval=true, since="11") public int getMinWidth()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setMaxWidth

      @Deprecated(forRemoval=true, since="11") public void setMaxWidth(int maxWidth)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getMaxWidth

      @Deprecated(forRemoval=true, since="11") public int getMaxWidth()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setResizable

      @Deprecated(forRemoval=true, since="11") public void setResizable(boolean isResizable)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getResizable

      @Deprecated(forRemoval=true, since="11") public boolean getResizable()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getColumnClass

      public Class<?> getColumnClass()
      Returns:
      Class
    • setColumnClass

      public void setColumnClass(Class<?> columnClass)
      Parameters:
      columnClass -
    • getTooltipText

      public String getTooltipText()
      Returns:
      tooltip text
    • setTooltipText

      public void setTooltipText(String tooltipText)
      Parameters:
      tooltipText -
    • getAD_Reference_ID

      public int getAD_Reference_ID()
      Returns:
      AD_Reference_ID
    • setAD_Reference_ID

      public void setAD_Reference_ID(int AD_Reference_ID)
      Parameters:
      AD_Reference_ID -
    • setEditorProvider

      public void setEditorProvider(Function<WTableColumn.EditorProviderParameters,WEditor> provider)
      Set optional editor provider for column
      Parameters:
      provider - Function<EditorProviderParameters, WEditor>
    • getEditorProvider

      Returns:
      Function<EditorProviderParameters, WEditor> instance of null