C# Class Habanero.Faces.Base.CollapsiblePanelGroupManager

The Manager for the ICollapsiblePanel that handles the Common Logic for either VWG or Win.
Mostra file Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
AddControl ( ICollapsiblePanel collapsiblePanel ) : ICollapsiblePanel

Adds an ICollapsiblePanel to this control. The collapsiblePanel is added to the CollapsiblePanelGroupControl.

AddControl ( IControlHabanero contentControl, string headingText, int minimumControlHeight ) : ICollapsiblePanel

Adds an IControlHabanero to this control. The contentControl is wrapped in an ICollapsiblePanel control.

CollapsiblePanelGroupManager ( ICollapsiblePanelGroupControl collapsiblePanelGroup, IControlFactory controlFactory ) : System.Collections.Generic

Constructs the CollapsiblePanelGroupManager

Private Methods

Method Description
AddCollapsiblePanel ( ICollapsiblePanel collapsiblePanel, int minimumControlHeight ) : void
CollapseUnpinnedPanels ( ICollapsiblePanel collapsiblePanel ) : void

Method Details

AddControl() public method

Adds an ICollapsiblePanel to this control. The collapsiblePanel is added to the CollapsiblePanelGroupControl.
public AddControl ( ICollapsiblePanel collapsiblePanel ) : ICollapsiblePanel
collapsiblePanel ICollapsiblePanel The collapsiblePanelBeingAdded
return ICollapsiblePanel

AddControl() public method

Adds an IControlHabanero to this control. The contentControl is wrapped in an ICollapsiblePanel control.
public AddControl ( IControlHabanero contentControl, string headingText, int minimumControlHeight ) : ICollapsiblePanel
contentControl IControlHabanero
headingText string
minimumControlHeight int The minimum height that the can be. /// This height along with the .Height are give the /// that the will be when it is /// expanded
return ICollapsiblePanel

CollapsiblePanelGroupManager() public method

Constructs the CollapsiblePanelGroupManager
public CollapsiblePanelGroupManager ( ICollapsiblePanelGroupControl collapsiblePanelGroup, IControlFactory controlFactory ) : System.Collections.Generic
collapsiblePanelGroup ICollapsiblePanelGroupControl
controlFactory IControlFactory
return System.Collections.Generic