Class TCustomPanelDelegate

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TCustomPanelDelegate = class(TCefPanelDelegateOwn)

Description

This class handles all the ICefPanelDelegate methods which call the ICefPanelDelegateEvents methods. ICefPanelDelegateEvents will be implemented by the control receiving the ICefPanelDelegate events.

Hierarchy

Overview

Fields

Protected FEvents: Pointer;

Methods

Protected procedure OnGetPreferredSize(const view: ICefView; var aResult : TCefSize); override;
Protected procedure OnGetMinimumSize(const view: ICefView; var aResult : TCefSize); override;
Protected procedure OnGetMaximumSize(const view: ICefView; var aResult : TCefSize); override;
Protected procedure OnGetHeightForWidth(const view: ICefView; width: Integer; var aResult: Integer); override;
Protected procedure OnParentViewChanged(const view: ICefView; added: boolean; const parent: ICefView); override;
Protected procedure OnChildViewChanged(const view: ICefView; added: boolean; const child: ICefView); override;
Protected procedure OnWindowChanged(const view: ICefView; added: boolean); override;
Protected procedure OnLayoutChanged(const view: ICefView; new_bounds: TCefRect); override;
Protected procedure OnFocus(const view: ICefView); override;
Protected procedure OnBlur(const view: ICefView); override;
Public constructor Create(const events: ICefPanelDelegateEvents); reintroduce;

Description

Fields

Protected FEvents: Pointer;

This item has no description.

Methods

Protected procedure OnGetPreferredSize(const view: ICefView; var aResult : TCefSize); override;

ICefViewDelegate

Protected procedure OnGetMinimumSize(const view: ICefView; var aResult : TCefSize); override;

This item has no description. Showing description inherited from TCefViewDelegateOwn.OnGetMinimumSize.

Return the minimum size for |view|.

Protected procedure OnGetMaximumSize(const view: ICefView; var aResult : TCefSize); override;

This item has no description. Showing description inherited from TCefViewDelegateOwn.OnGetMaximumSize.

Return the maximum size for |view|.

Protected procedure OnGetHeightForWidth(const view: ICefView; width: Integer; var aResult: Integer); override;

This item has no description. Showing description inherited from TCefViewDelegateOwn.OnGetHeightForWidth.

Return the height necessary to display |view| with the provided |width|. If not specified the result of get_preferred_size().height will be used by default. Override if |view|'s preferred height depends upon the width (for example, with Labels).

Protected procedure OnParentViewChanged(const view: ICefView; added: boolean; const parent: ICefView); override;

This item has no description. Showing description inherited from TCefViewDelegateOwn.OnParentViewChanged.

Called when the parent of |view| has changed. If |view| is being added to |parent| then |added| will be true (1). If |view| is being removed from |parent| then |added| will be false (0). If |view| is being reparented the remove notification will be sent before the add notification. Do not modify the view hierarchy in this callback.

Protected procedure OnChildViewChanged(const view: ICefView; added: boolean; const child: ICefView); override;

This item has no description. Showing description inherited from TCefViewDelegateOwn.OnChildViewChanged.

Called when a child of |view| has changed. If |child| is being added to |view| then |added| will be true (1). If |child| is being removed from |view| then |added| will be false (0). If |child| is being reparented the remove notification will be sent to the old parent before the add notification is sent to the new parent. Do not modify the view hierarchy in this callback.

Protected procedure OnWindowChanged(const view: ICefView; added: boolean); override;

This item has no description. Showing description inherited from TCefViewDelegateOwn.OnWindowChanged.

Called when |view| is added or removed from the ICefWindow.

Protected procedure OnLayoutChanged(const view: ICefView; new_bounds: TCefRect); override;

This item has no description. Showing description inherited from TCefViewDelegateOwn.OnLayoutChanged.

Called when the layout of |view| has changed.

Protected procedure OnFocus(const view: ICefView); override;

This item has no description. Showing description inherited from TCefViewDelegateOwn.OnFocus.

Called when |view| gains focus.

Protected procedure OnBlur(const view: ICefView); override;

This item has no description. Showing description inherited from TCefViewDelegateOwn.OnBlur.

Called when |view| loses focus.

Public constructor Create(const events: ICefPanelDelegateEvents); reintroduce;

Creates an instance of this class liked to an interface that's implemented by a control receiving the events.


Generated by PasDoc 0.16.0-snapshot.