com.ontimize.dms.client.gui.table.editor
Class EditorFactoryInstance
java.lang.Object
com.ontimize.dms.client.gui.table.editor.EditorFactoryInstance
- All Implemented Interfaces:
- EditorFactory
public class EditorFactoryInstance
- extends java.lang.Object
- implements EditorFactory
Default editor factory for table component.
- Since:
- 02/12/2010 Loads the editors from the given properties.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_TABLE_EDITORS_NAME_PROPERTY_KEY
public static final java.lang.String DEFAULT_TABLE_EDITORS_NAME_PROPERTY_KEY
- See Also:
- Constant Field Values
DEFAULT_TABLE_EDITORS_NAME_PATH
public static java.lang.String DEFAULT_TABLE_EDITORS_NAME_PATH
DEFAULT_EDITOR_NAME
protected static java.util.Map DEFAULT_EDITOR_NAME
DEFAULT_TABLE_EDITORS_TYPE_PROPERTY_KEY
public static final java.lang.String DEFAULT_TABLE_EDITORS_TYPE_PROPERTY_KEY
- See Also:
- Constant Field Values
DEFAULT_TABLE_EDITORS_TYPE_PATH
public static java.lang.String DEFAULT_TABLE_EDITORS_TYPE_PATH
DEFAULT_EDITOR_TYPE
protected static java.util.Map DEFAULT_EDITOR_TYPE
editorByName
protected java.util.Map editorByName
editorByType
protected java.util.Map editorByType
EditorFactoryInstance
public EditorFactoryInstance()
getEditorByName
public javax.swing.table.TableCellEditor getEditorByName(java.lang.String name)
- Specified by:
getEditorByName in interface EditorFactory
getEditorByType
public javax.swing.table.TableCellEditor getEditorByType(java.lang.Class clazz)
- Specified by:
getEditorByType in interface EditorFactory
getEditorByType
public javax.swing.table.TableCellEditor getEditorByType(java.lang.String className)
- Specified by:
getEditorByType in interface EditorFactory
createEditor
protected javax.swing.table.TableCellEditor createEditor(java.lang.String className)
addEditorsByName
public void addEditorsByName(java.util.Map editors)
- Specified by:
addEditorsByName in interface EditorFactory
addEditorsByType
public void addEditorsByType(java.util.Map editors)
- Specified by:
addEditorsByType in interface EditorFactory