|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.wpi.cs.dsrg.xmldb.xat.component.gui.utils.TableMaker
The TableMaker
handles making customized tables for specific query objects.
It makes the table and places the table in a scrollable pane.
Table properties, such as column width and auto-resize mode, are set here.
Scroll pane properties, such as the unit of incrememnt, are set here as well.
Constructor Summary | |
TableMaker(GUI gui)
Constructor associates the given gui with this table maker. |
Method Summary | |
javax.swing.JTable |
getTable()
Returns this TableMaker 's table. |
javax.swing.JScrollPane |
makeTable(java.lang.Object queryObject)
Makes the table for the given queryObject
and sets table properties such as:
column width and
auto-resize mode. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TableMaker(GUI gui)
gui
with this table maker.
Method Detail |
public javax.swing.JTable getTable()
TableMaker
's table.
public javax.swing.JScrollPane makeTable(java.lang.Object queryObject)
queryObject
and sets table properties such as:
The table is placed inside a customized JScrollPane
.
queryObject
- the query object that this table is for. For statistics tables
this parameter is needed for gathering statistics.
JScrollPane
that contains the table.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |