FMX.ActnList
The FMX.ActnList unit has the same purpose for FireMonkey as Vcl.ActnList for VCL. The FMX.ActnList unit contains the base classes for working with actions in FireMonkey.
All similar classes have the same names in both FMX.ActnList and Vcl.ActnList units.
RAD Studio's implementation of actions uses the following three most important types of action classes:
- TAction and descendant classes.
- TActionList and descendant classes.
- TActionLink and descendant classes define action links. An action link connects an action to a client (an object, component, or control). The client is the parameter to the TActionLink constructor, and the assigned action object is indicated by the TBasicActionLink.Action property. An action link object also sets up links between an action and client's properties, execution and updating events.
- Actions allow an application to centralize the response to user commands. When an action link associates a client with an action, the action determines the appropriate properties and events of the client (such as whether the client is enabled or how it responds to an OnClick event).
Package | fmx280.bpl |
---|
Classes
IActionClient | Interface used by the framework to access an action in a class. |
ICaption | If an object supports the ICaption interface, when the text of the object changes, the Text must also be changed. |
IGlyph | Declares basic methods and properties used to manage lists of images. |
IGroupName | The IGroupName interface provides access to the GroupName property for controls that need to provide exclusive checking inside a group. |
IIsChecked | The IIsChecked interface provides access to the IsChecked property for controls that can be checked. |
IKeyShortcut | Interface used to access the Shortcut property of some classes. |
TAction | TAction is the base class for FireMonkey action objects. TAction and descendant classes implement actions to be used with controls, menu items, and tool buttons. The published properties and events of TAction actions can be managed in the Object Inspector at design time. |
TActionLink | The action link connects an action to a client (a control, menu item, or tool button). |
TActionLinkClass | TActionLinkClass defines the metaclass for TActionLink. |
TActionList | Maintains a list of actions that can be used by components such as controls, menu items, and tool buttons. |
TCustomAction | TCustomAction is a base class for FireMonkey actions intended to be used with menu items and controls. |
TCustomActionList | |
TCustomViewAction | A base class for actions that show a specified component when executed. |
TShortCutList | TShortCutList provides the FMX implementation of framework-specific features from the System.Actions.TCustomShortCutList class. |
Routines
TextToShortCut | Returns the code representation that matches the specified string representation of a shortcut. |
Types
TOnBeforeShow | Type of events used for taking specific actions before the view action is executed. |
TOnCreateComponent | Type of events used for taking specific actions when the target component is created. |