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

Maps a ListView object in a user interface
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

공개 메소드들

메소드 설명
ListViewCollectionManager ( ListView listView ) : System

Construct the Manager with a ListView.

SetCollection ( IBusinessObjectCollection collection ) : void

Specify the collection of objects to display and add these to the ListView object

비공개 메소드들

메소드 설명
BusinessObjectAddedHandler ( object sender, Habanero.Base.BOEventArgs e ) : void

A handler that updates the display when a business object has been added to the collection

BusinessObjectRemovedHandler ( object sender, Habanero.Base.BOEventArgs e ) : void

A handler that updates the display when a business object has been removed from the collection

BusinessObjectUpdatedHandler ( object sender, Habanero.Base.BOEventArgs e ) : void
Clear ( ListView listView ) : void
CreateListViewItem ( IBusinessObject bo ) : System.Windows.Forms.ListViewItem

Creates a ListViewItem from the business object provided. This method is used by SetListViewCollection() to populate the ListView.

SetListViewCollection ( ListView listView, IBusinessObjectCollection collection ) : void

Adds the business objects in the collection to the ListView. This method is used by SetBusinessObjectCollection.

메소드 상세

ListViewCollectionManager() 공개 메소드

Construct the Manager with a ListView.
public ListViewCollectionManager ( ListView listView ) : System
listView System.Windows.Forms.ListView
리턴 System

SetCollection() 공개 메소드

Specify the collection of objects to display and add these to the ListView object
public SetCollection ( IBusinessObjectCollection collection ) : void
collection IBusinessObjectCollection The collection of business objects
리턴 void