com.arsdigita.bebop
Class Table.MatrixTableModelBuilder
java.lang.Object
com.arsdigita.util.LockableImpl
com.arsdigita.bebop.table.AbstractTableModelBuilder
com.arsdigita.bebop.Table.MatrixTableModelBuilder
- All Implemented Interfaces:
- Lockable, TableModelBuilder
- Enclosing class:
- Table
- public static class Table.MatrixTableModelBuilder
- extends AbstractTableModelBuilder
An internal class
that creates a table model around a set of data given as a
Object[][]
. The table models produced by this
builder use row numbers, converted to strings, as the key for
each column of a row.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Table.MatrixTableModelBuilder
public Table.MatrixTableModelBuilder(Object[][] data)
makeModel
public TableModel makeModel(Table t,
PageState s)
- Description copied from class:
AbstractTableModelBuilder
- Return a table model for the request represented by
s
. The table model contains all the data that is to be
displayed in a table. The returned table model is used only during
the duration of that request.
- Specified by:
makeModel
in interface TableModelBuilder
- Specified by:
makeModel
in class AbstractTableModelBuilder
- Parameters:
t
- the table which will use this table models
- represents the current request
- Returns:
- the data to be displayed in the table
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC