Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Private::Window::ActionPanel Class Referencefinal
Inheritance diagram for Antares::Private::Window::ActionPanel:
Antares::Component::Panel

Public Types

enum  { itemHeight = 20 }
 
using Vector = std::vector<ActionPanel*>
 Array.
 

Static Public Member Functions

static void DrawBackgroundWithoutItems (wxWindow &obj, wxDC &dc, const wxRect &rect)
 
- Static Public Member Functions inherited from Antares::Component::Panel
static void OnMouseMoveFromExternalComponent ()
 Event triggered by any other component (not derived from Panel)
 

Constructor & Destructor

ActionPanelpParent
 
Antares::Action::Context::Ptr pContext
 
Antares::Action::IAction::Ptr pAction
 
bool pCollapsed
 
bool pBold
 
wxColour pBackgroundColor
 
wxColour pBackgroundColorLight
 
wxColour pStateColor [Antares::Action::stMax]
 
wxColour pLineColor
 
uint pDepthSpace
 
wxString pText
 
wxString pBehaviorText
 
wxString pStateText
 
wxString pComments
 
bool pHasChildren
 
bool pCanDoSomething
 
bool phasCreatedChildren
 
bool pDisabled
 
wxMenu * pPopupMenu
 
Antares::Action::State pState
 
Antares::Action::Behavior pBehavior
 
Vector pChildren
 
uint pTotalChildrenCount
 The total of all children for all sub-nodes.
 
static ActionPanelSelectedItem = nullptr
 
 ActionPanel (wxWindow *parent, ActionPanel *parentPanel, const Antares::Action::Context::Ptr &context, const Antares::Action::IAction::Ptr &action)
 Default constructor.
 
virtual ~ActionPanel ()
 Destructor.
 
void expand ()
 
void collapse ()
 
void onDraw (wxPaintEvent &)
 
void update ()
 
void forceUpdate ()
 
virtual void SetFocus ()
 

Additional Inherited Members

- Public Member Functions inherited from Antares::Component::Panel
 Panel (wxWindow *parent)
 Constructor.
 
virtual ~Panel ()
 Destructor.
 
virtual void onMouseUp (wxMouseEvent &)
 Click up.
 
virtual void onMouseClick ()
 The panel has been clicked (delayed)
 
virtual void onMouseEnter ()
 The mouse has entered.
 
virtual void onMouseLeave ()
 The mouse has leaved.
 
virtual void onMouseMoved (int, int)
 The mouse has moved.
 
- Protected Member Functions inherited from Antares::Component::Panel
virtual bool triggerMouseClickEvent () const
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
itemHeight 

Optimal height for a single item.


The documentation for this class was generated from the following files: