TBasicAction class
Abstract base class for all Actions.
Declaration
TBasicAction = class(TComponent)Inheritance
- TBasicAction
- TComponent
- TPersistent
- TObject
Descends from it: TContainedAction
Description
TBasicAction implements a basic action class from which all
actions are derived. It introduces all basic methods of an action, and
implements functionality to maintain a list of clients, i.e. components that
are connected with this action.
Do not create instances of TBasicAction. Instead, create a
descendant class and create an instance of this class instead.
See also
Properties
ActionComponent | public | Returns the component that initiated the action. |
Clients | public |
Methods
Change | protected | Calls the OnChange handler. |
Notification | protected | Called by components that are freed and which received a FreeNotification. |
SetOnExecute | protected | Assigns an OnExecute event handler. |
ClientCount | protected | |
GetClient | protected | |
Create | public | Creates a new instance of a class. |
Destroy | public | Destroys the action. |
HandlesTarget | public | Determines whether Target can be handled by this action. |
UpdateTarget | public | Notify client controls when the action updates itself. |
ExecuteTarget | public | Executes the action on the Target object. |
Execute | public | Triggers the OnExecute event. |
RegisterChanges | public | Registers a new client with the action. |
UnRegisterChanges | public | Unregisters a client from the list of clients. |
Update | public | Triggers the OnUpdate event. |
Suspended | public |
Events
OnChange | protected | Occurs when one of the action's properties changes. |
OnExecute | public | Event triggered when the action executes. |
OnUpdate | public | Event triggered when the application is idle. |
Fields
FClients | protected | List with components linked to this action. |
Inherited
From TComponent (73)
_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReadState ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState
From TPersistent (5)
Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (37)
AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
