Class TFireDockControlPanel
Unit
Declaration
type TFireDockControlPanel = class(TFireDockPanelBase)
Description
Implements the Panel for docking that contains TControl.
Control panel is used to add custom TControl to the docked interface. The panel is created through the docking manager. The panel is a leaf in the docking panels tree and cannot contain other panels.
See also
- TFireDockLayoutPanel
- Implements the layout Panel.
Hierarchy
- TControl
- TFireDockPanelBase
- TFireDockControlPanel
Overview
Methods
procedure DoPaint; override; |
|
procedure Paint; override; |
|
procedure DoEnter; override; |
|
procedure DoExit; override; |
|
procedure UpdateActions; |
|
procedure CheckActions; |
|
procedure Init; |
|
constructor Create(Manager: TFireDockPanelManagerBase; const Title: String = ''); reintroduce; |
|
destructor Destroy; override; |
|
procedure ParentLayoutChanged; override; |
|
procedure SetGeometry(const Rect: TRectF); override; |
|
function Clone(PanelMap: TFireDockPanelMap): TFireDockPanelBase; override; |
|
procedure SetParentPanel(PanelBase: TFireDockPanelBase); override; |
|
procedure GetMinMaxData(var MinMaxSize: TFireDockMinMaxSize); override; |
|
function GetInfo: PFireDockControlPanelInfo; |
|
function GetTitleBar: TFireDockTitleBar; |
|
function GetTitle: String; |
|
procedure SetTitle(const Title: String); |
|
function GetToolTip: String; |
|
procedure SetToolTip(const ToolTip: String); |
|
function GetContent: TControl; |
|
procedure SetContent(Content: TControl); |
|
function GetIcon: TBitmap; |
|
procedure SetIcon(const Icon: TBitmap); |
|
function GetMenuButton: TPopupMenu; |
|
procedure SetMenuButton(Menu: TPopupMenu); |
|
procedure SetFeatures(Features: TFireDockPanelFeatures); |
|
function GetFeatures: TFireDockPanelFeatures; |
|
function IsValid: Boolean; |
|
function IsClosed: Boolean; |
|
procedure ShowPanel; |
|
procedure ClosePanel; |
|
function IsAutoHide: Boolean; override; |
|
procedure SetAutoHide(AutoHide: Boolean); |
|
function IsActive: Boolean; |
|
procedure Activate; |
|
procedure Deactivate; |
|
function IsFloat: Boolean; |
|
procedure SetFloat(_Float: Boolean); |
|
function GetAllowedAreas: TFireDockPanelAreas; virtual; |
|
procedure SetAllowedAreas(Areas: TFireDockPanelAreas); |
|
function IsAreaAllowed(Area: TFireDockPanelArea): Boolean; |
|
function GetVisibleAction: TCustomAction; |
Properties
property Title: String read GetTitle write SetTitle; |
|
property ToolTip: String read GetToolTip write SetToolTip; |
|
property Content: TControl read GetContent write SetContent; |
|
property Icon: TBitmap read GetIcon write SetIcon; |
|
property AutoHideAction: TCustomAction read FAutoHideAction; |
|
property FloatAction: TCustomAction read FFloatAction; |
|
property DockAction: TCustomAction read FDockAction; |
|
property HideAction: TCustomAction read FHideAction; |
|
property VisibleAction: TCustomAction read FVisibleAction; |
Description
Methods
procedure DoPaint; override; |
|
procedure Paint; override; |
|
procedure DoEnter; override; |
|
procedure DoExit; override; |
|
procedure UpdateActions; |
|
procedure CheckActions; |
|
procedure Init; |
|
constructor Create(Manager: TFireDockPanelManagerBase; const Title: String = ''); reintroduce; |
|
destructor Destroy; override; |
|
procedure ParentLayoutChanged; override; |
|
procedure SetGeometry(const Rect: TRectF); override; |
|
function Clone(PanelMap: TFireDockPanelMap): TFireDockPanelBase; override; |
|
procedure SetParentPanel(PanelBase: TFireDockPanelBase); override; |
|
procedure GetMinMaxData(var MinMaxSize: TFireDockMinMaxSize); override; |
|
function GetInfo: PFireDockControlPanelInfo; |
|
function GetTitleBar: TFireDockTitleBar; |
|
function GetTitle: String; |
|
procedure SetTitle(const Title: String); |
|
function GetToolTip: String; |
|
procedure SetToolTip(const ToolTip: String); |
|
function GetContent: TControl; |
|
procedure SetContent(Content: TControl); |
|
function GetIcon: TBitmap; |
|
procedure SetIcon(const Icon: TBitmap); |
|
function GetMenuButton: TPopupMenu; |
|
procedure SetMenuButton(Menu: TPopupMenu); |
|
procedure SetFeatures(Features: TFireDockPanelFeatures); |
|
function GetFeatures: TFireDockPanelFeatures; |
|
function IsValid: Boolean; |
|
function IsClosed: Boolean; |
|
procedure ShowPanel; |
|
procedure ClosePanel; |
|
function IsAutoHide: Boolean; override; |
|
procedure SetAutoHide(AutoHide: Boolean); |
|
function IsActive: Boolean; |
|
Returns True if the Panel is active, otherwise returns False. |
procedure Activate; |
|
Activates the Panel and move the focus to the first TControl on this Panel. |
procedure Deactivate; |
|
Deactivates the Panel and blurs the focus. |
function IsFloat: Boolean; |
|
Returns True if the Panel is float. |
function GetAllowedAreas: TFireDockPanelAreas; virtual; |
|
Returns the bit mask of the flags in which areas the docking of this Panel is allowed. |
procedure SetAllowedAreas(Areas: TFireDockPanelAreas); |
|
Sets the bit mask of the flags in which areas the docking of this Panel is allowed. |
function IsAreaAllowed(Area: TFireDockPanelArea): Boolean; |
|
Returns True if the Panel can be docked to \a area otherwise returns False. |
function GetVisibleAction: TCustomAction; |
|
Returns TCustomAction that can be used to control this Panel visibility. |
Properties
property Title: String read GetTitle write SetTitle; |
|
property ToolTip: String read GetToolTip write SetToolTip; |
|
property Content: TControl read GetContent write SetContent; |
|
property Icon: TBitmap read GetIcon write SetIcon; |
|
property AutoHideAction: TCustomAction read FAutoHideAction; |
|
property FloatAction: TCustomAction read FFloatAction; |
|
property DockAction: TCustomAction read FDockAction; |
|
property HideAction: TCustomAction read FHideAction; |
|
property VisibleAction: TCustomAction read FVisibleAction; |
|
Generated by PasDoc 0.15.0.