C# Класс Habanero.Faces.Base.PanelFactory

Наследование: IPanelFactory
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
AddControlMappers ( IPanelFactoryInfo onePanelInfo, ControlMapperCollection controlMappers ) : void
AddFormGrids ( IPanelFactoryInfo onePanelInfo, IEditableGridControl>.IDictionary formGrids ) : void
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 ) : PanelFactoryInfo

Creates a panel with a grid containing the business object information

InitialiseFactory ( BusinessObject bo ) : void

Initialises factory components

SetFormPreferredHeight ( IPanelFactoryInfo factoryInfo ) : void

Описание методов

CreateOnePanelPerUIFormTab() публичный Метод

Creates one panel for each UI Form definition of a business object
public CreateOnePanelPerUIFormTab ( ) : List
Результат List

CreatePanel() публичный Метод

Creates a panel to display a business object
public CreatePanel ( ) : IPanelFactoryInfo
Результат IPanelFactoryInfo

PanelFactory() публичный Метод

Constructor to initialise a new PanelFactory object, assuming the ui form definition is from an unnamed ui definition
public PanelFactory ( BusinessObject bo, IControlFactory controlFactory ) : System
bo BusinessObject The business object to be represented
controlFactory IControlFactory the control factory used to create controls
Результат System

PanelFactory() публичный Метод

A constructor to initialise a new instance, with a UIForm object specified
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
Результат System

PanelFactory() публичный Метод

A constructor as before, but with a UIDefName specified
public PanelFactory ( BusinessObject bo, string uiDefName, IControlFactory controlFactory ) : System
bo BusinessObject
uiDefName string
controlFactory IControlFactory
Результат System