C# Class Habanero.UI.Base.BOColTabControlManager

ファイルを表示 Open project: Chillisoft/habanero.faces

Public Methods

Method Description
BOColTabControlManager ( ITabControl tabControl, IControlFactory controlFactory ) : System
GetBo ( ITabPage tabPage ) : IBusinessObject

Returns the business object represented in the specified tab page

GetTabPage ( IBusinessObject bo ) : ITabPage

Returns the TabPage object that is representing the given business object

TabChanged ( ) : void

Carries out additional steps when the user selects a different tab

Protected Methods

Method Description
AddBoPageIndexing ( IBusinessObject bo, ITabPage page ) : void

Adds the necessagry indexing for a Business Object and TabPage relationship.

AddTabPage ( ITabPage page, IBusinessObject bo ) : void

Adds a tab page to represent the given business object

AddTabPageToEnd ( ITabPage page ) : void

Adds a tab page to the end of the tab order

ClearTabPages ( ) : void

Clears the tab pages

GetBusinessObjectDisplayValueDictionary ( ) : object>.Dictionary

Private Methods

Method Description
ReloadCurrentCollection ( ) : void
TabChangedHandler ( object sender, EventArgs e ) : void

Handles the event that the user chooses a different tab. Calls the TabChanged() method.

Method Details

AddBoPageIndexing() protected method

Adds the necessagry indexing for a Business Object and TabPage relationship.
protected AddBoPageIndexing ( IBusinessObject bo, ITabPage page ) : void
bo IBusinessObject The Business Object related to the Tab Page
page ITabPage The Tab Page related to the Business Object
return void

AddTabPage() protected method

Adds a tab page to represent the given business object
protected AddTabPage ( ITabPage page, IBusinessObject bo ) : void
page ITabPage The TabPage object to add
bo IBusinessObject The business ojbect to represent
return void

AddTabPageToEnd() protected method

Adds a tab page to the end of the tab order
protected AddTabPageToEnd ( ITabPage page ) : void
page ITabPage The Tab Page to be added to the Tab Control
return void

BOColTabControlManager() public method

public BOColTabControlManager ( ITabControl tabControl, IControlFactory controlFactory ) : System
tabControl ITabControl
controlFactory IControlFactory
return System

ClearTabPages() protected method

Clears the tab pages
protected ClearTabPages ( ) : void
return void

GetBo() public method

Returns the business object represented in the specified tab page
public GetBo ( ITabPage tabPage ) : IBusinessObject
tabPage ITabPage The tab page
return IBusinessObject

GetBusinessObjectDisplayValueDictionary() protected method

protected GetBusinessObjectDisplayValueDictionary ( ) : object>.Dictionary
return object>.Dictionary

GetTabPage() public method

Returns the TabPage object that is representing the given business object
public GetTabPage ( IBusinessObject bo ) : ITabPage
bo IBusinessObject The business object being represented
return ITabPage

TabChanged() public method

Carries out additional steps when the user selects a different tab
public TabChanged ( ) : void
return void