TDME2 1.9.121
|
GUI select box parent option controller. More...
#include <tdme/gui/elements/GUISelectBoxParentOptionController.h>
Public Member Functions | |
void | initialize () override |
Initialize controller after element has been created. More... | |
void | dispose () override |
Dispose controller. More... | |
![]() | |
void | setDisabled (bool disabled) override |
Set disabled. More... | |
void | initialize () override |
Initialize controller after element has been created. More... | |
void | dispose () override |
Dispose controller. More... | |
void | postLayout () override |
Post layout event. More... | |
void | handleMouseEvent (GUINode *node, GUIMouseEvent *event) override |
Handle mouse event. More... | |
void | handleKeyboardEvent (GUIKeyboardEvent *event) override |
Handle keyboard event. More... | |
void | onFocusGained () override |
On focus gained. More... | |
void | onFocusLost () override |
On focus lost. More... | |
bool | hasValue () override |
const MutableString & | getValue () override |
void | setValue (const MutableString &value) override |
Set value. More... | |
![]() | |
bool | isDisabled () override |
void | setDisabled (bool disabled) override |
Set disabled. More... | |
void | initialize () override |
Initialize controller after element has been created. More... | |
void | dispose () override |
Dispose controller. More... | |
void | postLayout () override |
Post layout event. More... | |
void | handleMouseEvent (GUINode *node, GUIMouseEvent *event) override |
Handle mouse event. More... | |
void | handleKeyboardEvent (GUIKeyboardEvent *event) override |
Handle keyboard event. More... | |
void | tick () override |
Tick method will be executed once per frame. More... | |
void | onFocusGained () override |
On focus gained. More... | |
void | onFocusLost () override |
On focus lost. More... | |
bool | hasValue () override |
const MutableString & | getValue () override |
void | setValue (const MutableString &value) override |
Set value. More... | |
void | onSubTreeChange () override |
On sub tree change. More... | |
![]() | |
virtual | ~GUINodeController () |
Destructor. More... | |
virtual GUINode * | getNode () |
virtual void | initialize ()=0 |
Initialize controller after element has been created. More... | |
virtual void | dispose ()=0 |
Dispose controller. More... | |
virtual void | postLayout ()=0 |
Post layout event. More... | |
virtual void | handleMouseEvent (GUINode *node, GUIMouseEvent *event)=0 |
Handle mouse event. More... | |
virtual void | handleKeyboardEvent (GUIKeyboardEvent *event)=0 |
Handle keyboard event. More... | |
virtual void | tick ()=0 |
Tick method will be executed once per frame. More... | |
virtual void | onFocusGained ()=0 |
On focus gained. More... | |
virtual void | onFocusLost ()=0 |
On focus lost. More... | |
virtual bool | hasValue ()=0 |
virtual const MutableString & | getValue ()=0 |
virtual void | setValue (const MutableString &value)=0 |
Set value. More... | |
virtual bool | isDisabled ()=0 |
virtual void | setDisabled (bool disabled)=0 |
Set disabled. More... | |
virtual void | onSubTreeChange ()=0 |
On sub tree change. More... | |
Private Member Functions | |
GUISelectBoxParentOptionController (GUINode *node) | |
Private constructor. More... | |
bool | isExpanded () |
void | toggleExpandState () |
Toggle expand state. More... | |
Private Attributes | |
GUIElementNode * | arrowNode { nullptr } |
bool | expanded |
GUIActionListener * | arrowNodeActionListener { nullptr } |
Static Private Attributes | |
static STATIC_DLL_IMPEXT string | CONDITION_EXPANDED = "expanded" |
static STATIC_DLL_IMPEXT string | CONDITION_COLLAPSED = "collapsed" |
Friends | |
class | GUISelectBoxController |
class | GUISelectBoxOptionController |
class | GUISelectBoxParentOption |
Additional Inherited Members | |
![]() | |
GUIElementController (GUINode *node) | |
Constructor. More... | |
![]() | |
GUINodeController (GUINode *node) | |
Private constructor. More... | |
![]() | |
GUIParentNode * | selectBoxNode { nullptr } |
![]() | |
GUINode * | node { nullptr } |
![]() | |
static STATIC_DLL_IMPEXT string | CONDITION_DISABLED = "disabled" |
static STATIC_DLL_IMPEXT string | CONDITION_ENABLED = "enabled" |
GUI select box parent option controller.
Definition at line 23 of file GUISelectBoxParentOptionController.h.
|
private |
Private constructor.
node | node |
Definition at line 28 of file GUISelectBoxParentOptionController.cpp.
|
overridevirtual |
Dispose controller.
Reimplemented from GUISelectBoxOptionController.
Definition at line 63 of file GUISelectBoxParentOptionController.cpp.
|
overridevirtual |
Initialize controller after element has been created.
Public constructor
selectBoxParentOptionController | select box parent option controller |
Reimplemented from GUISelectBoxOptionController.
Definition at line 33 of file GUISelectBoxParentOptionController.cpp.
|
private |
Definition at line 71 of file GUISelectBoxParentOptionController.cpp.
|
private |
Toggle expand state.
Definition at line 75 of file GUISelectBoxParentOptionController.cpp.
|
friend |
Definition at line 25 of file GUISelectBoxParentOptionController.h.
|
friend |
Definition at line 26 of file GUISelectBoxParentOptionController.h.
|
friend |
Definition at line 27 of file GUISelectBoxParentOptionController.h.
|
private |
Definition at line 33 of file GUISelectBoxParentOptionController.h.
|
private |
Definition at line 35 of file GUISelectBoxParentOptionController.h.
|
staticprivate |
Definition at line 31 of file GUISelectBoxParentOptionController.h.
|
staticprivate |
Definition at line 30 of file GUISelectBoxParentOptionController.h.
|
private |
Definition at line 34 of file GUISelectBoxParentOptionController.h.