#include <UIAction.h>
|
| SLATE_API | FUIAction () |
| |
| SLATE_API | FUIAction (FExecuteAction InitExecuteAction, EUIActionRepeatMode InitRepeatMode=EUIActionRepeatMode::RepeatDisabled) |
| |
| SLATE_API | FUIAction (FExecuteAction InitExecuteAction, FCanExecuteAction InitCanExecuteAction, EUIActionRepeatMode InitRepeatMode=EUIActionRepeatMode::RepeatDisabled) |
| |
| SLATE_API | FUIAction (FExecuteAction InitExecuteAction, FCanExecuteAction InitCanExecuteAction, FIsActionChecked InitIsCheckedDelegate, EUIActionRepeatMode InitRepeatMode=EUIActionRepeatMode::RepeatDisabled) |
| |
| SLATE_API | FUIAction (FExecuteAction InitExecuteAction, FCanExecuteAction InitCanExecuteAction, FGetActionCheckState InitGetActionCheckStateDelegate, EUIActionRepeatMode InitRepeatMode=EUIActionRepeatMode::RepeatDisabled) |
| |
| SLATE_API | FUIAction (FExecuteAction InitExecuteAction, FCanExecuteAction InitCanExecuteAction, FIsActionChecked InitIsCheckedDelegate, FIsActionButtonVisible InitIsActionVisibleDelegate, EUIActionRepeatMode InitRepeatMode=EUIActionRepeatMode::RepeatDisabled) |
| |
| SLATE_API | FUIAction (FExecuteAction InitExecuteAction, FCanExecuteAction InitCanExecuteAction, FGetActionCheckState InitGetActionCheckStateDelegate, FIsActionButtonVisible InitIsActionVisibleDelegate, EUIActionRepeatMode InitRepeatMode=EUIActionRepeatMode::RepeatDisabled) |
| |
| bool | CanExecute () const |
| |
| bool | Execute () const |
| |
| ECheckBoxState | GetCheckState () const |
| |
| bool | IsBound () const |
| |
| EVisibility | IsVisible () const |
| |
| bool | CanRepeat () const |
| |
◆ FUIAction() [1/7]
◆ FUIAction() [2/7]
Constructor that takes delegates to initialize the action with
- Parameters
-
| ExecuteAction | The delegate to call when the action should be executed |
| RepeatMode | Can this action can be repeated if the chord used to call it is held down? |
◆ FUIAction() [3/7]
Constructor that takes delegates to initialize the action with
- Parameters
-
| ExecuteAction | The delegate to call when the action should be executed |
| CanExecuteAction | The delegate to call to see if the action can be executed |
| RepeatMode | Can this action can be repeated if the chord used to call it is held down? |
◆ FUIAction() [4/7]
Constructor that takes delegates to initialize the action with
- Parameters
-
| ExecuteAction | The delegate to call when the action should be executed |
| CanExecuteAction | The delegate to call to see if the action can be executed |
| IsCheckedDelegate | The delegate to call to see if the action should appear checked when visualized |
| RepeatMode | Can this action can be repeated if the chord used to call it is held down? |
◆ FUIAction() [5/7]
Constructor that takes delegates to initialize the action with
- Parameters
-
| ExecuteAction | The delegate to call when the action should be executed |
| CanExecuteAction | The delegate to call to see if the action can be executed |
| GetActionCheckState | The delegate to call to see what the check state of the action should be |
| RepeatMode | Can this action can be repeated if the chord used to call it is held down? |
◆ FUIAction() [6/7]
Constructor that takes delegates to initialize the action with
- Parameters
-
| ExecuteAction | The delegate to call when the action should be executed |
| CanExecuteAction | The delegate to call to see if the action can be executed |
| IsCheckedDelegate | The delegate to call to see if the action should appear checked when visualized |
| IsActionVisible | The delegate to call to see if the action should be visible |
| RepeatMode | Can this action can be repeated if the chord used to call it is held down? |
◆ FUIAction() [7/7]
Constructor that takes delegates to initialize the action with
- Parameters
-
| ExecuteAction | The delegate to call when the action should be executed |
| CanExecuteAction | The delegate to call to see if the action can be executed |
| GetActionCheckState | The delegate to call to see what the check state of the action should be |
| IsActionVisible | The delegate to call to see if the action should be visible |
| RepeatMode | Can this action can be repeated if the chord used to call it is held down? |
◆ CanExecute()
| bool FUIAction::CanExecute |
( |
| ) |
const |
|
inline |
Checks to see if its currently safe to execute this action.
- Returns
- True if this action can be executed and we should reflect that state visually in the UI
◆ CanRepeat()
| bool FUIAction::CanRepeat |
( |
| ) |
const |
|
inline |
Checks whether this action can be repeated if the chord used to call it is held down.
- Returns
- true if the delegate can be repeated, false otherwise.
◆ Execute()
| bool FUIAction::Execute |
( |
| ) |
const |
|
inline |
◆ GetCheckState()
Queries the checked state for this action. This is only valid for actions that are toggleable!
- Returns
- Checked state for this action
◆ IsActionCheckedPassthrough()
Passthrough function to convert the result from an FIsActionChecked delegate into something that works with a FGetActionCheckState delegate
◆ IsBound()
| bool FUIAction::IsBound |
( |
| ) |
const |
|
inline |
Checks whether this action's execution delegate is bound.
- Returns
- true if the delegate is bound, false otherwise.
◆ IsVisible()
Queries the visibility for this action.
- Returns
- Visibility state for this action
◆ CanExecuteAction
Holds a delegate that is executed when determining whether this action can execute.
◆ ExecuteAction
Holds a delegate that is executed when this action is activated.
◆ GetActionCheckState
Holds a delegate that is executed when determining the check state of this action.
◆ IsActionVisibleDelegate
Holds a delegate that is executed when determining whether this action is visible.
◆ RepeatMode
Can this action can be repeated if the chord used to call it is held down?
The documentation for this struct was generated from the following files:
- Engine/Source/Runtime/Slate/Public/Framework/Commands/UIAction.h
- Engine/Source/Runtime/Slate/Private/Framework/Commands/UIAction.cpp