C# 클래스 Habanero.Faces.Win.EditableGridControlWin

Provides a combination of editable grid, filter and buttons used to edit a collection of business objects
상속: UserControlWin, IEditableGridControl
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Buttons_CancelClicked void
Buttons_SaveClicked void
FilterControl_OnFilter void
Grid_OnBusinessObjectSelected void
InitialiseButtons void
InitialiseFilterControl void

공개 메소드들

메소드 설명
Clear ( ) : void

Clears the business object collection and the rows in the data table

EditableGridControlWin ( ) : System

Constructs a new instance of a EditableGridControlWin. This uses the IControlFactory from the GlobalUIRegistry to construct the control.

EditableGridControlWin ( IControlFactory controlFactory ) : System

Constructs a new instance of a EditableGridControlWin.

GetBusinessObjectAtRow ( int row ) : IBusinessObject

Returns the business object at the specified row number

GetBusinessObjectCollection ( ) : IBusinessObjectCollection

Returns the IBusinessObjectCollection that has been set for this IGridControl.

Initialise ( IClassDef classDef ) : void

Initiliases the grid structure using the default UI class definition (implicitly named "default")

Initialise ( IClassDef classDef, IUIGrid gridDef, string uiDefName ) : void

Initialises the grid structure using the given UI class definition

Initialise ( IClassDef classDef, string uiDefName ) : void

Initialises the grid structure using the specified UI class definition

RefreshFilter ( ) : void

Refresh the Filter.

SetBusinessObjectCollection ( IBusinessObjectCollection boCollection ) : void

Sets the business object collection to display. Loading of the collection needs to be done before it is assigned to the grid. This method assumes a default UI definition is to be used, that is a 'ui' element without a 'name' attribute.

비공개 메소드들

메소드 설명
Buttons_CancelClicked ( object sender, EventArgs e ) : void
Buttons_SaveClicked ( object sender, EventArgs e ) : void
FilterControl_OnFilter ( object sender, EventArgs e ) : void
Grid_OnBusinessObjectSelected ( object sender, Habanero.Base.BOEventArgs e ) : void
InitialiseButtons ( ) : void
InitialiseFilterControl ( ) : void

메소드 상세

Clear() 공개 메소드

Clears the business object collection and the rows in the data table
public Clear ( ) : void
리턴 void

EditableGridControlWin() 공개 메소드

Constructs a new instance of a EditableGridControlWin. This uses the IControlFactory from the GlobalUIRegistry to construct the control.
public EditableGridControlWin ( ) : System
리턴 System

EditableGridControlWin() 공개 메소드

Constructs a new instance of a EditableGridControlWin.
public EditableGridControlWin ( IControlFactory controlFactory ) : System
controlFactory IControlFactory The to use to construct the control.
리턴 System

GetBusinessObjectAtRow() 공개 메소드

Returns the business object at the specified row number
public GetBusinessObjectAtRow ( int row ) : IBusinessObject
row int The row number in question
리턴 IBusinessObject

GetBusinessObjectCollection() 공개 메소드

Returns the IBusinessObjectCollection that has been set for this IGridControl.
public GetBusinessObjectCollection ( ) : IBusinessObjectCollection
리턴 IBusinessObjectCollection

Initialise() 공개 메소드

Initiliases the grid structure using the default UI class definition (implicitly named "default")
public Initialise ( IClassDef classDef ) : void
classDef IClassDef The class definition of the business objects shown in the grid
리턴 void

Initialise() 공개 메소드

Initialises the grid structure using the given UI class definition
public Initialise ( IClassDef classDef, IUIGrid gridDef, string uiDefName ) : void
classDef IClassDef The class definition of the business objects shown in the grid
gridDef IUIGrid The grid definition to use
uiDefName string The name of the grid definition.
리턴 void

Initialise() 공개 메소드

Initialises the grid structure using the specified UI class definition
public Initialise ( IClassDef classDef, string uiDefName ) : void
classDef IClassDef The class definition of the business objects shown in the grid
uiDefName string The UI definition with the given name
리턴 void

RefreshFilter() 공개 메소드

Refresh the Filter.
public RefreshFilter ( ) : void
리턴 void

SetBusinessObjectCollection() 공개 메소드

Sets the business object collection to display. Loading of the collection needs to be done before it is assigned to the grid. This method assumes a default UI definition is to be used, that is a 'ui' element without a 'name' attribute.
public SetBusinessObjectCollection ( IBusinessObjectCollection boCollection ) : void
boCollection IBusinessObjectCollection The new business object collection /// to be shown in the grid
리턴 void