Package org.openxava.web.servlets
Class GenerateReportServlet.TableModelDecorator
- java.lang.Object
-
- org.openxava.web.servlets.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTableModelListener(javax.swing.event.TableModelListener l)
java.lang.Class
getColumnClass(int c)
int
getColumnCount()
java.lang.String
getColumnName(int c)
int
getRowCount()
java.lang.Object
getValueAt(int row, int column)
boolean
isCellEditable(int row, int column)
boolean
isFormat()
void
removeTableModelListener(javax.swing.event.TableModelListener l)
void
setFormat(boolean format)
void
setValueAt(java.lang.Object value, int row, int column)
-
-
-
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 interfacejavax.swing.table.TableModel
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interfacejavax.swing.table.TableModel
-
getColumnName
public java.lang.String getColumnName(int c)
- Specified by:
getColumnName
in interfacejavax.swing.table.TableModel
-
getColumnClass
public java.lang.Class getColumnClass(int c)
- Specified by:
getColumnClass
in interfacejavax.swing.table.TableModel
-
isCellEditable
public boolean isCellEditable(int row, int column)
- Specified by:
isCellEditable
in interfacejavax.swing.table.TableModel
-
getValueAt
public java.lang.Object getValueAt(int row, int column)
- Specified by:
getValueAt
in interfacejavax.swing.table.TableModel
-
setValueAt
public void setValueAt(java.lang.Object value, int row, int column)
- Specified by:
setValueAt
in interfacejavax.swing.table.TableModel
-
addTableModelListener
public void addTableModelListener(javax.swing.event.TableModelListener l)
- Specified by:
addTableModelListener
in interfacejavax.swing.table.TableModel
-
removeTableModelListener
public void removeTableModelListener(javax.swing.event.TableModelListener l)
- Specified by:
removeTableModelListener
in interfacejavax.swing.table.TableModel
-
isFormat
public boolean isFormat()
-
setFormat
public void setFormat(boolean format)
-
-