7#ifndef __HDI_CORE_TAB_ORDER__
8#define __HDI_CORE_TAB_ORDER__
26 typedef std::list< std::shared_ptr<Widget> > WidgetList;
74 virtual std::shared_ptr<Widget>
front()
const;
93 virtual bool popFront(std::unique_ptr<Widget>& widget__);
102 virtual std::shared_ptr<Widget>
back()
const;
121 virtual bool popBack(std::unique_ptr<Widget>& widget__);
Used to add a panel to Illustrator's UI and contain various UI widgets.
Definition: hdicorePanel.h:36
Allows for finer control of widget focus/tab key ordering.
Definition: hdicoreTabOrder.h:24
virtual const WidgetList widgets() const
Gets the list of widgets affected by the target TabOrder object.
virtual bool popBack(std::unique_ptr< Widget > &widget__)
Gets the Widget at the back of the target TabOrder, and pops it.
virtual void pushBack(const Widget &widget_)
Pushes a new Widget object on the back of the list for the target TabOrder.
bool fireValueChangedIfOnlyOneAvailable() const
Gets whether the target TabOrder object should fire a value-changed callback on a widget if a) the us...
virtual bool operator==(const TabOrder &rhs_) const
Tests whether a given TabOrder object is the same as another.
virtual std::shared_ptr< Widget > back() const
Gets the Widget object that is at the back of the target TabOrder object.
virtual void pushFront(const Widget &widget_)
Pushes a new Widget object on the front of the list for the target TabOrder.
virtual std::shared_ptr< Widget > front() const
Gets the Widget object that is at the front of the target TabOrder object.
void setFireValueChangedIfOnlyOneAvailable(const bool fire_)
Sets whether the target TabOrder object should fire a value-changed callback on a widget if a) the us...
virtual bool popFront(std::unique_ptr< Widget > &widget__)
Gets the Widget at the front of the target TabOrder, and pops it.
virtual void focusNext(const Widget &position_)
Focuses the next (enabled) widget after the one provided.
virtual bool operator!=(const TabOrder &rhs_) const
Tests whether a given TabOrder object is not the same as another.
virtual bool hasWidget(const Widget &widget_) const
Checks whether the target TabOrder object already contains a given widget.
virtual void focusPrevious(const Widget &position_)
Focuses the previous (enabled) widget before the one provided.
Used as a base class for modal dialogs, panels, and control bars.
Definition: hdicoreWindow.h:26
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.