com.ontimize.gui.table
Class TableConfigurationManager.TableElementConfig
java.lang.Object
com.ontimize.gui.table.TableConfigurationManager.TableElementConfig
- Enclosing class:
- TableConfigurationManager
- public static class TableConfigurationManager.TableElementConfig
- extends java.lang.Object
Internal class for creating objects that manage identifier, class name and
parameters for each element.
- Since:
- 5.2058EN
- Author:
- Imatia Innovation SL
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elementId
protected java.lang.Object elementId
className
protected java.lang.String className
parameters
protected java.util.Hashtable parameters
TableConfigurationManager.TableElementConfig
public TableConfigurationManager.TableElementConfig(java.lang.Object id,
java.lang.String className,
java.util.Hashtable params)
getElementId
public java.lang.Object getElementId()
getClassName
public java.lang.String getClassName()
getParameters
public java.util.Hashtable getParameters()
getElement
public java.lang.Object getElement()
- Calls to
createElement(Hashtable) with parameters.
- Returns:
getElement
public java.lang.Object getElement(java.lang.String columnName)
- Calls to
createElement(Hashtable) with parameters.
Additionally, CellEditor needs the parameter column
(to specify the column where to be applied) that is passed in this
method by parameter.
- Parameters:
columnName - The name of column
- Returns:
- the object
createElement
protected java.lang.Object createElement(java.util.Hashtable params)
- By reflection it is instanced the class indicated in
className
using the constructor whose parameter is a Hashtable.
- Parameters:
params - Hashtable with parameters to object
- Returns:
- the object or null when cannot be created