C# Класс Habanero.Faces.Base.BorderLayoutManager

Manages the layout of controls in a user interface by having a component assigned a compass position. For instance, having the "east" position assigned will result in the control being placed against the right border.
Наследование: LayoutManager
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddControl ( IControlHabanero control ) : IControlHabanero

Add a control to the layout

AddControl ( IControlHabanero control, Position pos ) : IControlHabanero

Add a control to the layout at the specified position

AddControl ( IControlHabanero control, Position pos, bool includeSplitter ) : IControlHabanero

Add a control to the layout

BorderLayoutManager ( IControlHabanero managedControl, IControlFactory controlFactory ) : System

Constructor to initalise a new layout manager

Защищенные методы

Метод Описание
RefreshControlPositions ( ) : void

Updates the layout and appearance of the managed controls

SetupDockOfControl ( IControlHabanero control, Position pos ) : void

Sets how the specified control is docked within its parent

Описание методов

AddControl() публичный Метод

Add a control to the layout
public AddControl ( IControlHabanero control ) : IControlHabanero
control IControlHabanero The control to add
Результат IControlHabanero

AddControl() публичный Метод

Add a control to the layout at the specified position
public AddControl ( IControlHabanero control, Position pos ) : IControlHabanero
control IControlHabanero The control to add
pos Position The position at which to add the control
Результат IControlHabanero

AddControl() публичный абстрактный Метод

Add a control to the layout
public abstract AddControl ( IControlHabanero control, Position pos, bool includeSplitter ) : IControlHabanero
control IControlHabanero The control to add
pos Position The position at which to add the control
includeSplitter bool True to include a splitter between the controls
Результат IControlHabanero

BorderLayoutManager() публичный Метод

Constructor to initalise a new layout manager
public BorderLayoutManager ( IControlHabanero managedControl, IControlFactory controlFactory ) : System
managedControl IControlHabanero The control to manage (eg. use "this" /// if you create the manager inside a form class that you will be /// managing)
controlFactory IControlFactory The control factory that will be used to create controls
Результат System

RefreshControlPositions() защищенный Метод

Updates the layout and appearance of the managed controls
protected RefreshControlPositions ( ) : void
Результат void

SetupDockOfControl() защищенный абстрактный Метод

Sets how the specified control is docked within its parent
protected abstract SetupDockOfControl ( IControlHabanero control, Position pos ) : void
control IControlHabanero
pos Position
Результат void