|
JX Application Framework
|
#include <JXDockDirector.h>
Public Member Functions | |
| JXDockDirector (const JString &title, const bool splitHoriz) | |
| JXDockDirector (std::istream &input, const JFileVersion vers, const JString &title) | |
| ~JXDockDirector () override | |
| bool | Close () override |
| bool | FindDock (const JIndex id, JXDockWidget **dock) |
| bool | HasWindows () const |
| bool | CloseAllWindows () |
| void | UpdateMinSize () |
| void | StreamOut (std::ostream &output) const |
| bool | GetHorizPartition (JXHorizDockPartition **p) const |
| bool | GetVertPartition (JXVertDockPartition **p) const |
| bool | GetFocusWindow (JXWindow **window) |
| void | SetFocusWindow (JXWindow *window) |
| void | ClearFocusWindow (JXWindow *window) |
Public Member Functions inherited from JXWindowDirector | |
| JXWindowDirector (JXDirector *supervisor) | |
| ~JXWindowDirector () override | |
| void | Activate () override |
| bool | Deactivate () override |
| void | Suspend () override |
| void | Resume () override |
| JXWindow * | GetWindow () const |
| JXDisplay * | GetDisplay () const |
| virtual const JString & | GetName () const |
| virtual bool | GetMenuIcon (const JXImage **icon) const |
| virtual bool | NeedsSave () const |
Public Member Functions inherited from JXDirector | |
| JXDirector (JXDirector *supervisor) | |
| ~JXDirector () override | |
| bool | IsClosing () const |
| bool | IsActive () const |
| bool | IsSuspended () const |
| bool | HasSubdirectors () const |
| bool | GetSubdirectors (const JPtrArray< JXDirector > **list) const |
Public Member Functions inherited from JBroadcaster | |
| JBroadcaster () | |
| virtual | ~JBroadcaster () |
| JBroadcaster & | operator= (const JBroadcaster &source) |
| bool | HasSenders () const |
| JSize | GetSenderCount () const |
| bool | HasRecipients () const |
| JSize | GetRecipientCount () const |
| virtual JString | ToString () const |
| template<class T > | |
| void | ListenTo (const JBroadcaster *sender, const std::function< void(const T &)> &f) |
Additional Inherited Members | |
Protected Member Functions inherited from JXWindowDirector | |
| virtual bool | OKToDeactivate () |
Protected Member Functions inherited from JXDirector | |
| JXDirector * | GetSupervisor () const |
| bool | CloseAllSubdirectors () |
| virtual void | DirectorClosed (JXDirector *theDirector) |
Protected Member Functions inherited from JBroadcaster | |
| JBroadcaster (const JBroadcaster &source) | |
| void | ListenTo (const JBroadcaster *sender) |
| void | StopListening (const JBroadcaster *sender) |
| void | ClearWhenGoingAway (const JBroadcaster *sender, void *pointerToMember) |
| void | StopListening (const JBroadcaster *sender, const std::type_info &messageType) |
| template<class T > | |
| void | Send (JBroadcaster *recipient, const T &message) |
| template<class T > | |
| void | Broadcast (const T &message) |
| virtual void | Receive (JBroadcaster *sender, const Message &message) |
| void | SendWithFeedback (JBroadcaster *recipient, Message *message) |
| void | BroadcastWithFeedback (Message *message) |
| virtual void | ReceiveWithFeedback (JBroadcaster *sender, Message *message) |
| virtual void | ReceiveGoingAway (JBroadcaster *sender) |
| JXDockDirector::JXDockDirector | ( | std::istream & | input, |
| const JFileVersion | vers, | ||
| const JString & | title | ||
| ) |
|
override |
| void JXDockDirector::ClearFocusWindow | ( | JXWindow * | window | ) |
|
overridevirtual |
Close all windows that are docked within us. If we are the last dock, then we quit the application to avoid losing the dock's configuration.
Reimplemented from JXDirector.
| bool JXDockDirector::CloseAllWindows | ( | ) |
| bool JXDockDirector::FindDock | ( | const JIndex | id, |
| JXDockWidget ** | dock | ||
| ) |
| bool JXDockDirector::GetHorizPartition | ( | JXHorizDockPartition ** | p | ) | const |
| bool JXDockDirector::GetVertPartition | ( | JXVertDockPartition ** | p | ) | const |
| bool JXDockDirector::HasWindows | ( | ) | const |
| void JXDockDirector::SetFocusWindow | ( | JXWindow * | window | ) |
| void JXDockDirector::StreamOut | ( | std::ostream & | output | ) | const |
| void JXDockDirector::UpdateMinSize | ( | ) |