java.lang.Object
com.inductiveautomation.factorypmi.application.components.table.TableColumnAttributes
All Implemented Interfaces:
Serializable, SwingConstants
Direct Known Subclasses:
AdvancedTableColumnAttributes, ColumnAttributes

public class TableColumnAttributes extends Object implements SwingConstants, Serializable
This is the base class for the different types of column attributes. It holds some of the most common types of attributes. Reflection and the AttributeMeta annotations are used by the ColumnCustomizer to edit these things visually.
See Also:
  • Field Details

    • ALIGN_AUTO

      public static final int ALIGN_AUTO
      See Also:
    • ALIGN_LEFT

      public static final int ALIGN_LEFT
      See Also:
    • ALIGN_RIGHT

      public static final int ALIGN_RIGHT
      See Also:
    • ALIGN_CENTER

      public static final int ALIGN_CENTER
      See Also:
    • ALIGN_BOTTOM

      public static final int ALIGN_BOTTOM
      See Also:
    • ALIGN_TOP

      public static final int ALIGN_TOP
      See Also:
    • label

      protected String label
    • hidden

      protected boolean hidden
    • horizontalAlignment

      protected int horizontalAlignment
    • verticalAlignment

      protected int verticalAlignment
    • numberFormat

      protected String numberFormat
    • dateFormat

      protected String dateFormat
    • treatAsBoolean

      protected boolean treatAsBoolean
    • prefix

      protected String prefix
    • suffix

      protected String suffix
    • editable

      protected boolean editable
    • sortable

      protected boolean sortable
  • Constructor Details

    • TableColumnAttributes

      public TableColumnAttributes()
  • Method Details

    • getDateFormat

      public String getDateFormat()
    • setDateFormat

      public void setDateFormat(String dateFormat)
    • isHidden

      public boolean isHidden()
    • setHidden

      public void setHidden(boolean hidden)
    • getHorizontalAlignment

      public int getHorizontalAlignment()
    • setHorizontalAlignment

      public void setHorizontalAlignment(int horizontalAlignment)
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • getNumberFormat

      public String getNumberFormat()
    • setNumberFormat

      public void setNumberFormat(String numberFormat)
    • isTreatAsBoolean

      public boolean isTreatAsBoolean()
    • setTreatAsBoolean

      public void setTreatAsBoolean(boolean treatAsBoolean)
    • getVerticalAlignment

      public int getVerticalAlignment()
    • setVerticalAlignment

      public void setVerticalAlignment(int verticalAlignment)
    • getPrefix

      public String getPrefix()
    • setPrefix

      public void setPrefix(String prefix)
    • getSuffix

      public String getSuffix()
    • setSuffix

      public void setSuffix(String suffix)
    • isEditable

      public boolean isEditable()
    • setEditable

      public void setEditable(boolean editable)
    • isSortable

      public boolean isSortable()
    • setSortable

      public void setSortable(boolean sortable)