Ontimize Document Management 0.035EN

com.ontimize.dms.client.gui.table.editor
Class EditorFactoryInstance

java.lang.Object
  extended by 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.

Field Summary
protected static java.util.Map DEFAULT_EDITOR_NAME
           
protected static java.util.Map DEFAULT_EDITOR_TYPE
           
static java.lang.String DEFAULT_TABLE_EDITORS_NAME_PATH
           
static java.lang.String DEFAULT_TABLE_EDITORS_NAME_PROPERTY_KEY
           
static java.lang.String DEFAULT_TABLE_EDITORS_TYPE_PATH
           
static java.lang.String DEFAULT_TABLE_EDITORS_TYPE_PROPERTY_KEY
           
protected  java.util.Map editorByName
           
protected  java.util.Map editorByType
           
 
Constructor Summary
EditorFactoryInstance()
           
 
Method Summary
 void addEditorsByName(java.util.Map editors)
           
 void addEditorsByType(java.util.Map editors)
           
protected  javax.swing.table.TableCellEditor createEditor(java.lang.String className)
           
 javax.swing.table.TableCellEditor getEditorByName(java.lang.String name)
           
 javax.swing.table.TableCellEditor getEditorByType(java.lang.Class clazz)
           
 javax.swing.table.TableCellEditor getEditorByType(java.lang.String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

EditorFactoryInstance

public EditorFactoryInstance()
Method Detail

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

Ontimize Document Management