Class AC.tree.grid.CellObjectFactory
Factory of widgets corresponding to a given column and row.
Defined in: Utility.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Default constructor.
|
Field Attributes | Field Name and Description |
---|---|
The hash map of widgets.
|
Method Attributes | Method Name and Description |
---|---|
addWidget(arrayOfTypes, objtype, config)
Adds the specified widget into the factory's hash map.
|
|
getWidget(arrayOfSuperiors, treegrid, config)
Gets a widget corresponding to the specified array of superiors.
|
Field Detail
hashMap
The hash map of widgets.
Method Detail
addWidget(arrayOfTypes, objtype, config)
Adds the specified widget into the factory's hash map.
- Parameters:
- arrayOfTypes
- the array of types corresponding to the widget
- objtype
- the type of the widget
- config
- the configuration of the widget
- Returns:
- void
getWidget(arrayOfSuperiors, treegrid, config)
Gets a widget corresponding to the specified array of superiors.
- Parameters:
- arrayOfSuperiors
- the array of superiors
- treegrid
- the treegrid
- config
- the configuration of the widget
- Returns:
- the corresponding widget