Class TCEFButtonComponent

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TCEFButtonComponent = class(TCEFViewComponent, ICefButtonDelegateEvents)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected FButton: ICefButton;
Protected FOnButtonPressed: TOnButtonPressedEvent;
Protected FOnButtonStateChanged: TOnButtonStateChangedEvent;

Methods

Protected procedure DestroyView; override;
Protected procedure Initialize; override;
Protected function GetInitialized: boolean; override;
Protected function GetAsView: ICefView; override;
Protected function GetState: TCefButtonState;
Protected function GetAsButton: ICefButton; override;
Protected function GetAsLabelButton: ICefLabelButton; virtual;
Protected procedure SetState(state_: TCefButtonState);
Protected procedure doOnButtonPressed(const button: ICefButton);
Protected procedure doOnButtonStateChanged(const button: ICefButton);
Public procedure SetInkDropEnabled(enabled_: boolean);
Public procedure SetTooltipText(const tooltip_text: ustring);
Public procedure SetAccessibleName(const name_: ustring);

Properties

Public property AsLabelButton : ICefLabelButton read GetAsLabelButton;
Public property State : TCefButtonState read GetState write SetState;
Published property OnButtonPressed : TOnButtonPressedEvent read FOnButtonPressed write FOnButtonPressed;
Published property OnButtonStateChanged : TOnButtonStateChangedEvent read FOnButtonStateChanged write FOnButtonStateChanged;

Description

Fields

Protected FButton: ICefButton;

This item has no description.

Protected FOnButtonPressed: TOnButtonPressedEvent;

ICefButtonDelegateEvents

Protected FOnButtonStateChanged: TOnButtonStateChangedEvent;

This item has no description.

Methods

Protected procedure DestroyView; override;

This item has no description.

Protected procedure Initialize; override;

This item has no description.

Protected function GetInitialized: boolean; override;

This item has no description.

Protected function GetAsView: ICefView; override;

This item has no description.

Protected function GetState: TCefButtonState;

This item has no description.

Protected function GetAsButton: ICefButton; override;

This item has no description.

Protected function GetAsLabelButton: ICefLabelButton; virtual;

This item has no description.

Protected procedure SetState(state_: TCefButtonState);

This item has no description.

Protected procedure doOnButtonPressed(const button: ICefButton);

ICefButtonDelegateEvents

Protected procedure doOnButtonStateChanged(const button: ICefButton);

This item has no description.

Public procedure SetInkDropEnabled(enabled_: boolean);

Sets the Button will use an ink drop effect for displaying state changes.

Public procedure SetTooltipText(const tooltip_text: ustring);

Sets the tooltip text that will be displayed when the user hovers the mouse cursor over the Button.

Public procedure SetAccessibleName(const name_: ustring);

Sets the accessible name that will be exposed to assistive technology (AT).

Properties

Public property AsLabelButton : ICefLabelButton read GetAsLabelButton;

Returns this Button as a LabelButton or NULL if this is not a LabelButton.

Public property State : TCefButtonState read GetState write SetState;

Returns the current display state of the Button.

Published property OnButtonPressed : TOnButtonPressedEvent read FOnButtonPressed write FOnButtonPressed;

Called when |button| is pressed.

Published property OnButtonStateChanged : TOnButtonStateChangedEvent read FOnButtonStateChanged write FOnButtonStateChanged;

Called when the state of |button| changes.


Generated by PasDoc 0.16.0-snapshot.