C# Class Habanero.Faces.Base.LayoutManager

A super-class for layout managers that dictate how and where controls are placed in user interface
Inheritance: System.MarshalByRefObject
Afficher le fichier Open project: Chillisoft/habanero.faces Class Usage Examples

Protected Properties

Свойство Type Description
_controlFactory IControlFactory

Private Properties

Свойство Type Description
ManagedControlResizeHandler void
ObserveGlobalUIHints void
SetManagedControl void

Méthodes publiques

Méthode Description
AddControl ( IControlHabanero control ) : IControlHabanero

Add a control to the layout

Refresh ( ) : void

Updates the layout and appearance of the managed controls

Méthodes protégées

Méthode Description
LayoutManager ( IControlHabanero managedControl, IControlFactory controlFactory ) : System

Constructor to initialise a new layout manager

RefreshControlPositions ( ) : void

Updates the layout and appearance of the managed controls

Private Methods

Méthode Description
ManagedControlResizeHandler ( Object sender, EventArgs e ) : void

A handler to deal with the event where a control has been resized by the user

ObserveGlobalUIHints ( ) : void
SetManagedControl ( IControlHabanero managedControl ) : void

Method Details

AddControl() public abstract méthode

Add a control to the layout
public abstract AddControl ( IControlHabanero control ) : IControlHabanero
control IControlHabanero The control to add
Résultat IControlHabanero

LayoutManager() protected méthode

Constructor to initialise a new layout manager
protected LayoutManager ( IControlHabanero managedControl, IControlFactory controlFactory ) : System
managedControl IControlHabanero The control to manage
controlFactory IControlFactory control factory used to create any child controls
Résultat System

Refresh() public méthode

Updates the layout and appearance of the managed controls
public Refresh ( ) : void
Résultat void

RefreshControlPositions() protected abstract méthode

Updates the layout and appearance of the managed controls
protected abstract RefreshControlPositions ( ) : void
Résultat void

Property Details

_controlFactory protected_oe property

The IControlFactory used to create any controls required for this layout manager
protected IControlFactory _controlFactory
Résultat IControlFactory