Focus behavior on node press. More...
Public Member Functions | |
FocusOnPress (int value) | |
Constructs a FocusOnPress of an integer value. More... | |
FocusOnPress (FocusOnPress enum_) | |
Constructs a copy of a FocusOnPress object. More... | |
int | getValue () |
Returns the integer value of the enumeration constant. More... | |
final int | swigValue () |
Returns the integer value of the enumeration constant. More... | |
Static Public Member Functions | |
static FocusOnPress | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. More... | |
static FocusOnPress | toEnum (int value) |
Converts an integer value to the matching enumeration constant. More... | |
Public Attributes | |
Node =(1) | |
Tries to set focus to the node that the user pressed and if that fails, does nothing. | |
NodeOrAncestor =(2) | |
Tries to set focus to the node that the user pressed and if that fails, sets focus to the nearest focusable ancestor of that node. | |
NodeOrOverlay =(3) | |
Tries to set focus to the node that the user pressed and if that fails, sets focus to the overlay scope that contains the node. | |
None =(0) | |
Does nothing. | |
Focus behavior on node press.
FocusOnPress | ( | int | value | ) |
Constructs a FocusOnPress of an integer value.
value | Integer value to convert to enumeration constant. |
FocusOnPress | ( | FocusOnPress | enum_ | ) |
Constructs a copy of a FocusOnPress object.
enum_ | FocusOnPress to be copy constructed. |
int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
swigValue | Integer value to convert to enumeration constant. |
final int swigValue | ( | ) |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
|
static |
Converts an integer value to the matching enumeration constant.
value | Integer value to convert to enumeration constant. |