nl.tudelft.simulation.introspection.mapping
Interface CellPresentationConfiguration

All Known Implementing Classes:
DefaultConfiguration

public interface CellPresentationConfiguration

An interface defining the services of a table presentation configuration. It is used to initialize tables with renderers and editors for different cell types. Renderer and editor classes are not checked for type-safety. Normally, they should be assignable from TableCellRenderer and

Author:
(c) 2003 Delft University of Technology , Delft, the Netherlands
Faculty of Technology, Policy and Management
Department of System Engineering
Main researcher : Dr. Ir. A. Verbraeck
Assistant researchers
Ir. P.H.M. Jacobs and Ir. N.A. Lang

Method Summary
 Class[][] getEditors()
          Returns all the cell-editor combinations available in this configuration
 Class[][] getRenderers()
          Returns all the cell-renderer combinations available in this configuration
 

Method Detail

getRenderers

Class[][] getRenderers()
Returns all the cell-renderer combinations available in this configuration

Returns:
A double class array of cardinality M-2. Tuple [i][j] defines M cell class - render class combinations, with 'i' identifying the row. 'j=0' identifies the cell class, 'j=1' identifies the renderer class.

getEditors

Class[][] getEditors()
Returns all the cell-editor combinations available in this configuration

Returns:
A double class array of cardinality M-2. Tuple [i][j] defines M cell class - editor class combinations, with 'i' identifying the row. 'j=0' identifies the cell class, 'j=1' identifies the editor class.


Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.