Class TableColumnAttributes

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.SwingConstants
    Direct Known Subclasses:
    AdvancedTableColumnAttributes, ColumnAttributes

    public class TableColumnAttributes
    extends java.lang.Object
    implements javax.swing.SwingConstants, java.io.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:
    Serialized Form
    • Field Detail

      • label

        protected java.lang.String label
      • hidden

        protected boolean hidden
      • horizontalAlignment

        protected int horizontalAlignment
      • verticalAlignment

        protected int verticalAlignment
      • numberFormat

        protected java.lang.String numberFormat
      • dateFormat

        protected java.lang.String dateFormat
      • treatAsBoolean

        protected boolean treatAsBoolean
      • prefix

        protected java.lang.String prefix
      • suffix

        protected java.lang.String suffix
      • editable

        protected boolean editable
      • sortable

        protected boolean sortable
    • Constructor Detail

      • TableColumnAttributes

        public TableColumnAttributes()
    • Method Detail

      • getDateFormat

        public java.lang.String getDateFormat()
      • setDateFormat

        public void setDateFormat​(java.lang.String dateFormat)
      • isHidden

        public boolean isHidden()
      • setHidden

        public void setHidden​(boolean hidden)
      • getHorizontalAlignment

        public int getHorizontalAlignment()
      • setHorizontalAlignment

        public void setHorizontalAlignment​(int horizontalAlignment)
      • getLabel

        public java.lang.String getLabel()
      • setLabel

        public void setLabel​(java.lang.String label)
      • getNumberFormat

        public java.lang.String getNumberFormat()
      • setNumberFormat

        public void setNumberFormat​(java.lang.String numberFormat)
      • isTreatAsBoolean

        public boolean isTreatAsBoolean()
      • setTreatAsBoolean

        public void setTreatAsBoolean​(boolean treatAsBoolean)
      • getVerticalAlignment

        public int getVerticalAlignment()
      • setVerticalAlignment

        public void setVerticalAlignment​(int verticalAlignment)
      • getPrefix

        public java.lang.String getPrefix()
      • setPrefix

        public void setPrefix​(java.lang.String prefix)
      • getSuffix

        public java.lang.String getSuffix()
      • setSuffix

        public void setSuffix​(java.lang.String suffix)
      • isEditable

        public boolean isEditable()
      • setEditable

        public void setEditable​(boolean editable)
      • isSortable

        public boolean isSortable()
      • setSortable

        public void setSortable​(boolean sortable)