|
com.im.ijc.core/1 5.9.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IJCWidgetFactory
| Nested Class Summary | |
|---|---|
static interface |
IJCWidgetFactory.Provider
Interface, which can look up the IJCWidgetFactory using its ID. |
| Method Summary | |
|---|---|
IJCWidget.DesignerHandle |
createWidget(DFView view)
Should create and return a new widget. |
String |
getDisplayName()
|
String |
getFactoryId()
|
IJCWidget.DesignerHandle |
restoreWidget(DFView view,
List<? extends DFField> fields,
Object settings,
Compatibility compatibility)
Recreates widget from the given settings. |
Object |
updateSettings(Object settings,
Map<? extends DFField,? extends DFField> fieldsMapping)
Update fields in widget settings object. |
| Method Detail |
|---|
String getFactoryId()
String getDisplayName()
IJCWidget.DesignerHandle createWidget(DFView view)
null
if creation process fails. E.g. when wizard for creating a new widget was
cancelled by user.
view - containing view for a widget
null
IJCWidget.DesignerHandle restoreWidget(DFView view,
List<? extends DFField> fields,
Object settings,
Compatibility compatibility)
view - containing view for a widgetfields - fields to which this widget shall be boundsettings - stored settings to be used for widget re-creation.compatibility - backward compatibility container
Object updateSettings(Object settings,
Map<? extends DFField,? extends DFField> fieldsMapping)
settings - The original settings object for widgetfieldsMapping - Mapping of fields from original field to new
|
com.im.ijc.core/1 5.9.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||