C# Class Habanero.Faces.Win.CollapsiblePanelSelectorWin

Provides an implementation of the IBOCollapsiblePanelSelector an interface for a control that specialises in showing a list of Business Objects IBusinessObjectCollection. This control shows each business object in its own collapsible Panel. This is a very powerfull control for easily adding or viewing a fiew items E.g. for a list of addresses for a person.
Inheritance: CollapsiblePanelGroupControlWin, IBOCollapsiblePanelSelector
Show file Open project: Chillisoft/habanero.faces

Public Methods

Method Description
Clear ( ) : void

Clears the business object collection and the rows in the selector

CollapsiblePanelSelectorWin ( IControlFactory controlFactory ) : System

Constructor for CollapsiblePanelSelectorWin

GetBusinessObjectAtRow ( int row ) : IBusinessObject

Returns the business object at the specified row number

Private Methods

Method Description
AddBOPanel ( IBusinessObject businessObject ) : void
BusinessObjectAddedHandler ( object sender, Habanero.Base.BOEventArgs e ) : void

This handler is called when a business object has been added to the collection - it subsequently adds the item to the ListBox list as well.

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

This handler is called when a business object has been removed from the collection - it subsequently removes the item from the ListBox list as well.

ClearPanel ( ) : void
CollectionHasItems ( ) : bool
CreateBOCollapsiblePanels ( ) : void
FindCollapsiblePanel ( IBusinessObject businessObject ) : ICollapsiblePanel
FireBusinessObjectSelected ( ) : void
IndexOutOfRange ( int row ) : bool
RegisterForEvents ( ) : void
RemoveBOPanel ( IBusinessObject businessObject ) : void
SelectFirstItem ( ) : void
UnregisterForEvents ( ) : void

Method Details

Clear() public method

Clears the business object collection and the rows in the selector
public Clear ( ) : void
return void

CollapsiblePanelSelectorWin() public method

Constructor for CollapsiblePanelSelectorWin
public CollapsiblePanelSelectorWin ( IControlFactory controlFactory ) : System
controlFactory IControlFactory
return System

GetBusinessObjectAtRow() public method

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