|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.introspection.mapping.DefaultConfiguration
public class DefaultConfiguration
A default implementation of the {see CellPresentationConfiguration} interface. Editors and renders are provided for the JComponent, Color and Font classes. Furthermore, a special editor is provided for the ExpandButton class, to implement the pop-up behaviour of the {see nl.tudelft.simulation.introspection.gui.ExpandButton}.
Constructor Summary | |
---|---|
DefaultConfiguration()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultConfiguration()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |