|
||||||||||
| 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(java.lang.Class cellType,
java.lang.Class editingClass)
adds an editingClass to a cellType |
protected void |
addRenderer(java.lang.Class cellType,
java.lang.Class renderingClass)
adds a renderer to the configuration |
static CellPresentationConfiguration |
getDefaultConfiguration()
|
java.lang.Class[][] |
getEditors()
Returns all the cell-editor combinations available in this configuration |
java.lang.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(java.lang.Class cellType,
java.lang.Class renderingClass)
cellType - the cellTyperenderingClass - the renderingClass
protected void addEditor(java.lang.Class cellType,
java.lang.Class editingClass)
cellType - the cellTypeeditingClass - an editingClasspublic java.lang.Class[][] getRenderers()
CellPresentationConfiguration
getRenderers in interface CellPresentationConfiguration#getRenderers()public java.lang.Class[][] getEditors()
CellPresentationConfiguration
getEditors in interface CellPresentationConfiguration#getEditors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||