Implements an UI action. 更多...
#include <UIAction.h>
Public 成员函数 | |
| bool | CanExecute () const |
| Checks to see if its currently safe to execute this action. 更多... | |
| bool | CanRepeat () const |
| Checks whether this action can be repeated if the chord used to call it is held down. 更多... | |
| bool | Execute () const |
| Executes this action | |
| FUIAction () | |
| Default constructor. | |
| FUIAction (FExecuteAction InitExecuteAction, EUIActionRepeatMode InitRepeatMode=EUIActionRepeatMode::RepeatDisabled) | |
| Constructor that takes delegates to initialize the action with 更多... | |
| FUIAction (FExecuteAction InitExecuteAction, FCanExecuteAction InitCanExecuteAction, EUIActionRepeatMode InitRepeatMode=EUIActionRepeatMode::RepeatDisabled) | |
| Constructor that takes delegates to initialize the action with 更多... | |
| FUIAction (FExecuteAction InitExecuteAction, FCanExecuteAction InitCanExecuteAction, FGetActionCheckState InitGetActionCheckStateDelegate, EUIActionRepeatMode InitRepeatMode=EUIActionRepeatMode::RepeatDisabled) | |
| Constructor that takes delegates to initialize the action with 更多... | |
| FUIAction (FExecuteAction InitExecuteAction, FCanExecuteAction InitCanExecuteAction, FGetActionCheckState InitGetActionCheckStateDelegate, FIsActionButtonVisible InitIsActionVisibleDelegate, EUIActionRepeatMode InitRepeatMode=EUIActionRepeatMode::RepeatDisabled) | |
| Constructor that takes delegates to initialize the action with 更多... | |
| FUIAction (FExecuteAction InitExecuteAction, FCanExecuteAction InitCanExecuteAction, FIsActionChecked InitIsCheckedDelegate, EUIActionRepeatMode InitRepeatMode=EUIActionRepeatMode::RepeatDisabled) | |
| Constructor that takes delegates to initialize the action with 更多... | |
| FUIAction (FExecuteAction InitExecuteAction, FCanExecuteAction InitCanExecuteAction, FIsActionChecked InitIsCheckedDelegate, FIsActionButtonVisible InitIsActionVisibleDelegate, EUIActionRepeatMode InitRepeatMode=EUIActionRepeatMode::RepeatDisabled) | |
| Constructor that takes delegates to initialize the action with 更多... | |
| ECheckBoxState | GetCheckState () const |
| Queries the checked state for this action. 更多... | |
| bool | IsBound () const |
| Checks whether this action's execution delegate is bound. 更多... | |
| EVisibility | IsVisible () const |
| Queries the visibility for this action. 更多... | |
Implements an UI action.
| FUIAction::FUIAction | ( | FExecuteAction | InitExecuteAction, |
| EUIActionRepeatMode | InitRepeatMode = EUIActionRepeatMode::RepeatDisabled |
||
| ) |
Constructor that takes delegates to initialize the action with
| 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::FUIAction | ( | FExecuteAction | InitExecuteAction, |
| FCanExecuteAction | InitCanExecuteAction, | ||
| EUIActionRepeatMode | InitRepeatMode = EUIActionRepeatMode::RepeatDisabled |
||
| ) |
Constructor that takes delegates to initialize the action with
| 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::FUIAction | ( | FExecuteAction | InitExecuteAction, |
| FCanExecuteAction | InitCanExecuteAction, | ||
| FIsActionChecked | InitIsCheckedDelegate, | ||
| EUIActionRepeatMode | InitRepeatMode = EUIActionRepeatMode::RepeatDisabled |
||
| ) |
Constructor that takes delegates to initialize the action with
| 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::FUIAction | ( | FExecuteAction | InitExecuteAction, |
| FCanExecuteAction | InitCanExecuteAction, | ||
| FGetActionCheckState | InitGetActionCheckStateDelegate, | ||
| EUIActionRepeatMode | InitRepeatMode = EUIActionRepeatMode::RepeatDisabled |
||
| ) |
Constructor that takes delegates to initialize the action with
| 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::FUIAction | ( | FExecuteAction | InitExecuteAction, |
| FCanExecuteAction | InitCanExecuteAction, | ||
| FIsActionChecked | InitIsCheckedDelegate, | ||
| FIsActionButtonVisible | InitIsActionVisibleDelegate, | ||
| EUIActionRepeatMode | InitRepeatMode = EUIActionRepeatMode::RepeatDisabled |
||
| ) |
Constructor that takes delegates to initialize the action with
| 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::FUIAction | ( | FExecuteAction | InitExecuteAction, |
| FCanExecuteAction | InitCanExecuteAction, | ||
| FGetActionCheckState | InitGetActionCheckStateDelegate, | ||
| FIsActionButtonVisible | InitIsActionVisibleDelegate, | ||
| EUIActionRepeatMode | InitRepeatMode = EUIActionRepeatMode::RepeatDisabled |
||
| ) |
Constructor that takes delegates to initialize the action with
| 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? |
|
inline |
Checks to see if its currently safe to execute this action.
|
inline |
Checks whether this action can be repeated if the chord used to call it is held down.
|
inline |
Queries the checked state for this action.
This is only valid for actions that are toggleable!
|
inline |
Checks whether this action's execution delegate is bound.
|
inline |
Queries the visibility for this action.