Class TFireDockTitleBar

Unit

Declaration

type TFireDockTitleBar = class(TFireCustomStyledControl)

Description

Hierarchy

Overview

Methods

Protected function GetDefaultStyleLookupName: String; override;
Protected function GetDefaultSize: TSizeF; override;
Protected procedure ApplyStyle; override;
Protected function GetFont: TFont;
Protected function GetFontColor: TAlphaColor;
Protected function CheckSetFocus: Boolean;
Protected procedure UpdateButtons;
Protected function CalcTitleBarHeight: Single;
Protected class function GetButtonRect(TitleBar1: TFireDockTitleBar; const TitleAreaRect: TRectF; Role: TFireDockTitleBarButton.Role): TRectF;
Protected procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override;
Protected procedure MouseMove(Shift: TShiftState; X, Y: Single); override;
Protected procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override;
Protected procedure DblClick; override;
Protected procedure Paint; override;
Protected procedure DoPaint; override;
Protected procedure CloseClicked(Sender: TObject);
Protected procedure AutoHideClicked(Sender: TObject);
Protected procedure MenuClicked(Sender: TObject);
Public constructor Create(Manager: TFireDockPanelManagerBase; AOwner: TComponent); reintroduce;
Public destructor Destroy; override;
Public procedure SetBounds(X, Y, AWidth, AHeight: Single); override;
Public function GetTitle: String;
Public procedure SetTitle(const Title: String);
Public function IsTitleActive: Boolean;
Public procedure SetTitleActive(Active: Boolean);
Public procedure SetOrientation(orientation: TOrientation);
Public function GetOrientation: TOrientation;
Public function IsCloseButtonVisible: Boolean;
Public procedure SetCloseButtonVisible(Visible: Boolean);
Public function IsAutoHideButtonVisible: Boolean;
Public function IsMenuButtonVisible: Boolean;
Public procedure SetMenuButtonVisible(Visible: Boolean);
Public procedure SetButtonMenu(Menu: TPopupMenu);
Public procedure SetDockFeatures(Features: TFireDockPanelFeatures);
Public procedure SetAutoHideButtonVisible(Visible: Boolean);
Public procedure SetAutoHideButtonState(State: Boolean);

Properties

Public property OnCloseClick: TNotifyEvent read FOnCloseClick write FOnCloseClick;
Public property OnAutoHideClick: TNotifyEvent read FOnAutoHideClick write FOnAutoHideClick;
Public property OnMenuClick: TNotifyEvent read FOnMenuClick write FOnMenuClick;

Description

Methods

Protected function GetDefaultStyleLookupName: String; override;
 
Protected function GetDefaultSize: TSizeF; override;
 
Protected procedure ApplyStyle; override;
 
Protected function GetFont: TFont;
 
Protected function GetFontColor: TAlphaColor;
 
Protected function CheckSetFocus: Boolean;
 
Protected procedure UpdateButtons;
 
Protected function CalcTitleBarHeight: Single;
 
Protected class function GetButtonRect(TitleBar1: TFireDockTitleBar; const TitleAreaRect: TRectF; Role: TFireDockTitleBarButton.Role): TRectF;
 
Protected procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override;
 
Protected procedure MouseMove(Shift: TShiftState; X, Y: Single); override;
 
Protected procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override;
 
Protected procedure DblClick; override;
 
Protected procedure Paint; override;
 
Protected procedure DoPaint; override;
 
Protected procedure CloseClicked(Sender: TObject);
 
Protected procedure AutoHideClicked(Sender: TObject);
 
Protected procedure MenuClicked(Sender: TObject);
 
Public constructor Create(Manager: TFireDockPanelManagerBase; AOwner: TComponent); reintroduce;
 
Public destructor Destroy; override;
 
Public procedure SetBounds(X, Y, AWidth, AHeight: Single); override;
 
Public function GetTitle: String;
 
Public procedure SetTitle(const Title: String);
 
Public function IsTitleActive: Boolean;
 
Public procedure SetTitleActive(Active: Boolean);
 
Public procedure SetOrientation(orientation: TOrientation);
 
Public function GetOrientation: TOrientation;
 
Public function IsCloseButtonVisible: Boolean;
 
Public procedure SetCloseButtonVisible(Visible: Boolean);
 
Public function IsAutoHideButtonVisible: Boolean;
 
Public function IsMenuButtonVisible: Boolean;
 
Public procedure SetMenuButtonVisible(Visible: Boolean);
 
Public procedure SetButtonMenu(Menu: TPopupMenu);
 
Public procedure SetDockFeatures(Features: TFireDockPanelFeatures);
 
Public procedure SetAutoHideButtonVisible(Visible: Boolean);
 
Public procedure SetAutoHideButtonState(State: Boolean);
 

Properties

Public property OnCloseClick: TNotifyEvent read FOnCloseClick write FOnCloseClick;
 
Public property OnAutoHideClick: TNotifyEvent read FOnAutoHideClick write FOnAutoHideClick;
 
Public property OnMenuClick: TNotifyEvent read FOnMenuClick write FOnMenuClick;
 

Generated by PasDoc 0.15.0.