Class GenerateReportServlet.TableModelDecorator

  • All Implemented Interfaces:
    javax.swing.table.TableModel
    Enclosing class:
    GenerateReportServlet

    public static class GenerateReportServlet.TableModelDecorator
    extends java.lang.Object
    implements javax.swing.table.TableModel
    • Constructor Summary

      Constructors 
      Constructor Description
      TableModelDecorator​(javax.servlet.http.HttpServletRequest request, javax.swing.table.TableModel original, java.util.List metaProperties, java.util.Locale locale, boolean labelAsHeader, boolean format, java.lang.Integer columnCountLimit, boolean formatBigDecimal)  
    • Constructor Detail

      • TableModelDecorator

        public TableModelDecorator​(javax.servlet.http.HttpServletRequest request,
                                   javax.swing.table.TableModel original,
                                   java.util.List metaProperties,
                                   java.util.Locale locale,
                                   boolean labelAsHeader,
                                   boolean format,
                                   java.lang.Integer columnCountLimit,
                                   boolean formatBigDecimal)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • getRowCount

        public int getRowCount()
        Specified by:
        getRowCount in interface javax.swing.table.TableModel
      • getColumnCount

        public int getColumnCount()
        Specified by:
        getColumnCount in interface javax.swing.table.TableModel
      • getColumnName

        public java.lang.String getColumnName​(int c)
        Specified by:
        getColumnName in interface javax.swing.table.TableModel
      • getColumnClass

        public java.lang.Class getColumnClass​(int c)
        Specified by:
        getColumnClass in interface javax.swing.table.TableModel
      • isCellEditable

        public boolean isCellEditable​(int row,
                                      int column)
        Specified by:
        isCellEditable in interface javax.swing.table.TableModel
      • getValueAt

        public java.lang.Object getValueAt​(int row,
                                           int column)
        Specified by:
        getValueAt in interface javax.swing.table.TableModel
      • setValueAt

        public void setValueAt​(java.lang.Object value,
                               int row,
                               int column)
        Specified by:
        setValueAt in interface javax.swing.table.TableModel
      • addTableModelListener

        public void addTableModelListener​(javax.swing.event.TableModelListener l)
        Specified by:
        addTableModelListener in interface javax.swing.table.TableModel
      • removeTableModelListener

        public void removeTableModelListener​(javax.swing.event.TableModelListener l)
        Specified by:
        removeTableModelListener in interface javax.swing.table.TableModel
      • isFormat

        public boolean isFormat()
      • setFormat

        public void setFormat​(boolean format)