SRJRCFrames
v0.1.296

de.schwarzrot.ui.control.support
Class AbstractTableView.AbstractTableFormat

java.lang.Object
  extended by de.schwarzrot.ui.control.support.AbstractTableView.AbstractTableFormat
All Implemented Interfaces:
ca.odell.glazedlists.gui.TableFormat<E>, JTableConfigurer
Direct Known Subclasses:
MappingsTableView.MapFormat, OptionBundlesTableView.OptBundleFormat, OptionsTableView.OptionFormat, ServicesTableView.ServiceTableFormat
Enclosing class:
AbstractTableView<E extends Entity>

protected abstract class AbstractTableView.AbstractTableFormat
extends Object
implements ca.odell.glazedlists.gui.TableFormat<E>, JTableConfigurer


Constructor Summary
protected AbstractTableView.AbstractTableFormat(String prefix)
           
 
Method Summary
 int getColumnCount()
           
 String getColumnName(int idx)
           
protected abstract  String[] getColumnNames()
           
protected abstract  int getColumnWidth(int idx)
           
protected abstract  int getMaxColWidth(int idx)
           
protected  int getMinColWidth(int idx)
           
protected abstract  void setColumnRenderer(TableColumn tc, int colIndex)
           
protected abstract  void setTypeRenderers(JTable table)
           
 void setupTable(JTable table)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ca.odell.glazedlists.gui.TableFormat
getColumnValue
 

Constructor Detail

AbstractTableView.AbstractTableFormat

protected AbstractTableView.AbstractTableFormat(String prefix)
Method Detail

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface ca.odell.glazedlists.gui.TableFormat<E extends Entity>

getColumnName

public String getColumnName(int idx)
Specified by:
getColumnName in interface ca.odell.glazedlists.gui.TableFormat<E extends Entity>

setupTable

public void setupTable(JTable table)
Specified by:
setupTable in interface JTableConfigurer

getColumnNames

protected abstract String[] getColumnNames()

getColumnWidth

protected abstract int getColumnWidth(int idx)

getMaxColWidth

protected abstract int getMaxColWidth(int idx)

getMinColWidth

protected int getMinColWidth(int idx)

setColumnRenderer

protected abstract void setColumnRenderer(TableColumn tc,
                                          int colIndex)

setTypeRenderers

protected abstract void setTypeRenderers(JTable table)

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.