ilog.server.jsds.adapter
Interface IlsTableDS2JTableCellRendererStrategy.JTableInterface

All Known Implementing Classes:
IlsTableDS2JTableCellRendererStrategy.JTable
Enclosing class:
IlsTableDS2JTableCellRendererStrategy

public static interface IlsTableDS2JTableCellRendererStrategy.JTableInterface

Interface to be implemented by subclasses of JTable to allow color management through the associated strategy.


Method Summary
abstract  javax.swing.table.TableCellRenderer getCellRenderer(int row, int column)
          Method used in JTable to get the cell renderer.
abstract  IlsTableDS2JTableCellRendererStrategy getCellRendererStrategy()
          Returns the strategy attached to the JTableInterface.
abstract  void setCellRendererStrategy(IlsTableDS2JTableCellRendererStrategy strategy)
          Defines the strategy attached to the JTableInterface.
 

Method Detail

getCellRendererStrategy

public IlsTableDS2JTableCellRendererStrategy getCellRendererStrategy()
Returns the strategy attached to the JTableInterface.
Returns:
the strategy attached to the JTableInterface.

setCellRendererStrategy

public void setCellRendererStrategy(IlsTableDS2JTableCellRendererStrategy strategy)
Defines the strategy attached to the JTableInterface.
Parameters:
strategy - the strategy attached to the JTableInterface.

getCellRenderer

public javax.swing.table.TableCellRenderer getCellRenderer(int row,
                                                           int column)
Method used in JTable to get the cell renderer. Implementation should be based on IlsTableDS2JTableCellRendererStrategy.getCellRenderer(TableCellRenderer, int, int).