C# 클래스 Habanero.Faces.Base.GridInitialiser

Initialises the structure of a grid control (i.e. a Grid with a Filter Control). If a ClassDef is provided, the grid is initialised using the UI definition provided for that class. If no ClassDef is provided, it is assumed that the grid will be set up in code by the developer.
상속: IGridInitialiser
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

Private Properties

프로퍼티 타입 설명
FilterControlSetupProgramatically bool
GetGridDef IUIGrid
HideFilterControl void
ShowFilterControl void

공개 메소드들

메소드 설명
GridInitialiser ( IGridControl gridControl, IControlFactory controlFactory ) : System

Initialise the grid with the appropriate control factory.

InitialiseGrid ( ) : void

Initialises the grid without a ClassDef. This is typically used where the columns are set up manually for purposes such as adding a column with images to indicate the state of the object or adding a column with buttons/links.
The grid must already have at least one column added. At least one column must be a column with the name "HABANERO_OBJECTID", which is used to synchronise the grid with the business objects.

InitialiseGrid ( IClassDef classDef ) : void

Initialises the grid with the default UI definition for the class, as provided in the ClassDef

InitialiseGrid ( IClassDef classDef, IUIGrid uiGridDef, string uiDefName ) : void

Initialises the grid with a given alternate UI definition for the class

InitialiseGrid ( IClassDef classDef, string uiDefName ) : void

Initialises the grid with a specified alternate UI definition for the class, as provided in the ClassDef

비공개 메소드들

메소드 설명
FilterControlSetupProgramatically ( ) : bool
GetGridDef ( ClassDef classDef, string uiDefName ) : IUIGrid
HideFilterControl ( ) : void
ShowFilterControl ( ) : void

메소드 상세

GridInitialiser() 공개 메소드

Initialise the grid with the appropriate control factory.
public GridInitialiser ( IGridControl gridControl, IControlFactory controlFactory ) : System
gridControl IGridControl
controlFactory IControlFactory
리턴 System

InitialiseGrid() 공개 메소드

Initialises the grid without a ClassDef. This is typically used where the columns are set up manually for purposes such as adding a column with images to indicate the state of the object or adding a column with buttons/links.
The grid must already have at least one column added. At least one column must be a column with the name "HABANERO_OBJECTID", which is used to synchronise the grid with the business objects.
Thrown in the case where the columns /// have not already been defined for the grid Thrown in the case where the grid has already been initialised
public InitialiseGrid ( ) : void
리턴 void

InitialiseGrid() 공개 메소드

Initialises the grid with the default UI definition for the class, as provided in the ClassDef
public InitialiseGrid ( IClassDef classDef ) : void
classDef IClassDef The ClassDef used to initialise the grid
리턴 void

InitialiseGrid() 공개 메소드

Initialises the grid with a given alternate UI definition for the class
public InitialiseGrid ( IClassDef classDef, IUIGrid uiGridDef, string uiDefName ) : void
classDef IClassDef The Classdef used to initialise the grid
uiGridDef IUIGrid The that specifies the grid
uiDefName string The name of the
리턴 void

InitialiseGrid() 공개 메소드

Initialises the grid with a specified alternate UI definition for the class, as provided in the ClassDef
public InitialiseGrid ( IClassDef classDef, string uiDefName ) : void
classDef IClassDef The Classdef used to initialise the grid
uiDefName string The name of the UI definition
리턴 void