public class DefaultConfiguration extends Object implements CellPresentationConfiguration
Constructor and Description |
---|
DefaultConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected void |
addEditor(Class cellType,
Class editingClass)
adds an editingClass to a cellType
|
protected void |
addRenderer(Class cellType,
Class renderingClass)
adds a renderer to the configuration
|
static CellPresentationConfiguration |
getDefaultConfiguration() |
Class[][] |
getEditors()
Returns all the cell-editor combinations available in this configuration
|
Class[][] |
getRenderers()
Returns all the cell-renderer combinations available in this
configuration
|
public static CellPresentationConfiguration getDefaultConfiguration()
protected void addRenderer(Class cellType, Class renderingClass)
cellType
- the cellTyperenderingClass
- the renderingClassprotected void addEditor(Class cellType, Class editingClass)
cellType
- the cellTypeeditingClass
- an editingClasspublic Class[][] getRenderers()
CellPresentationConfiguration
getRenderers
in interface CellPresentationConfiguration
#getRenderers()
public Class[][] getEditors()
CellPresentationConfiguration
getEditors
in interface CellPresentationConfiguration
#getEditors()
Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.