Class ColumnDateSizer

    • Field Detail

      • PADDING

        private static int PADDING
      • curFormat

        int curFormat
      • maxWidthUsed

        int[] maxWidthUsed
      • maxWidthDate

        java.util.Date[] maxWidthDate
      • showTime

        private boolean showTime
      • multiline

        private boolean multiline
      • tableFormatOverride

        private java.lang.String tableFormatOverride
      • sortInvalidToBottom

        private boolean sortInvalidToBottom
      • recalculatingWidths

        private boolean recalculatingWidths
    • Constructor Detail

      • ColumnDateSizer

        public ColumnDateSizer​(java.lang.String sName,
                               int iAlignment,
                               int iPosition,
                               int iWidth,
                               java.lang.String sTableID)
      • ColumnDateSizer

        public ColumnDateSizer​(java.lang.Class forDataSourceType,
                               java.lang.String columnID,
                               int width,
                               java.lang.String tableID)
    • Method Detail

      • init

        private void init()
      • postConfigLoad

        public void postConfigLoad()
        Description copied from interface: TableColumn
        implement this method if you want to be notified when the stored column configuration such as user data or GUI-adjustable properties have been loaded
        Specified by:
        postConfigLoad in interface TableColumn
        Overrides:
        postConfigLoad in class TableColumnImpl
      • refresh

        public void refresh​(TableCell cell,
                            long timestamp)
      • refresh

        public void refresh​(TableCell cell,
                            long timestamp,
                            java.lang.String prefix)
      • refresh

        public void refresh​(TableCell cell,
                            long timestamp,
                            long sort_order,
                            java.lang.String prefix)
      • recalcWidth

        private void recalcWidth​(java.util.Date date,
                                 java.lang.String prefix)
      • calcWidth

        private int calcWidth​(java.util.Date date,
                              java.lang.String format,
                              java.lang.String prefix)
      • getShowTime

        public boolean getShowTime()
      • setShowTime

        public void setShowTime​(boolean showTime)
      • isMultiline

        public boolean isMultiline()
        Returns:
        the multiline
      • setMultiline

        public void setMultiline​(boolean multiline)
        Parameters:
        multiline - the multiline to set
      • setSortInvalidToBottom

        public void setSortInvalidToBottom​(boolean b)
      • setSortValue

        private boolean setSortValue​(TableCell cell,
                                     long value)