org.springframework.richclient.factory
Interface TableFactory


public interface TableFactory

A simple interface for creating JTable object, this allows the developer to create an application specific table factory where, say, each tables have a set of renderers installed, are sortable etc.

Author:
Benoit Xhenseval

Method Summary
 JTable createTable()
          Construct a JTable with a default model
 JTable createTable(TableModel model)
          Construct a JTable with the specified table model
 

Method Detail

createTable

JTable createTable()
Construct a JTable with a default model

Returns:
new table instance

createTable

JTable createTable(TableModel model)
Construct a JTable with the specified table model

Parameters:
model - TableModel to install into the new table
Returns:
new table instance


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.