Method | Description | |
---|---|---|
CreateOnePanelPerUIFormTab ( ) : List |
Creates one panel for each UI Form definition of a business object
|
|
CreatePanel ( ) : IPanelFactoryInfo |
Creates a panel to display a business object
|
|
PanelFactory ( BusinessObject bo, IControlFactory controlFactory ) : System |
Constructor to initialise a new PanelFactory object, assuming the ui form definition is from an unnamed ui definition
|
|
PanelFactory ( BusinessObject bo, UIForm uiForm, IControlFactory controlFactory ) : System |
A constructor to initialise a new instance, with a UIForm object specified
|
|
PanelFactory ( BusinessObject bo, string uiDefName, IControlFactory controlFactory ) : System |
A constructor as before, but with a UIDefName specified
|
Method | Description | |
---|---|---|
AddControlMappers ( IPanelFactoryInfo onePanelInfo, ControlMapperCollection controlMappers ) : void | ||
AddFormGrids ( IPanelFactoryInfo onePanelInfo, IEditableGridControl>.IDictionary |
||
CheckGeneralParameters ( Habanero.BO.ClassDefinition.UIFormField field, IControlHabanero ctl ) : void |
Checks for a range of parameters that may apply to some or all fields
|
|
CheckIfEditable ( Habanero.BO.ClassDefinition.UIFormField field, IControlHabanero ctl ) : bool |
Checks whether a given field should be editable and makes appropriate changes. If the property is an ObjectID and the BO is not new, then editing should not be done.
|
|
CreateControl ( Habanero.BO.ClassDefinition.UIFormField field, IControlFactory factory ) : IControlHabanero |
Creates the appropriate control for the given field element. Preference is given to a specific type over the type and assembly names.
|
|
CreateOnePanel ( IUIFormTab uiFormTab ) : IPanelFactoryInfo |
Creates a panel with the controls and dimensions as prescribed
|
|
CreatePanelWithGrid ( IUIFormGrid formGrid ) : |
Creates a panel with a grid containing the business object information
|
|
InitialiseFactory ( BusinessObject bo ) : void |
Initialises factory components
|
|
SetFormPreferredHeight ( IPanelFactoryInfo factoryInfo ) : void |
public PanelFactory ( BusinessObject bo, IControlFactory controlFactory ) : System | ||
bo | BusinessObject | The business object to be represented |
controlFactory | IControlFactory | the control factory used to create controls |
return | System |
public PanelFactory ( BusinessObject bo, UIForm uiForm, IControlFactory controlFactory ) : System | ||
bo | BusinessObject | The business object to be represented |
uiForm | UIForm | |
controlFactory | IControlFactory | the control factory used to create controls |
return | System |
public PanelFactory ( BusinessObject bo, string uiDefName, IControlFactory controlFactory ) : System | ||
bo | BusinessObject | |
uiDefName | string | |
controlFactory | IControlFactory | |
return | System |