JX Application Framework
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
JXPGDirectorBase Class Reference

#include <JXPGDirectorBase.h>

Inheritance diagram for JXPGDirectorBase:
[legend]

Public Member Functions

 JXPGDirectorBase (const bool modal)
 
 ~JXPGDirectorBase () override
 
void ProcessContinuing (const JString &value)
 
void ProcessFinished ()
 
void Activate () override
 
bool Close () override
 
- Public Member Functions inherited from JXWindowDirector
 JXWindowDirector (JXDirector *supervisor)
 
 ~JXWindowDirector () override
 
void Activate () override
 
bool Deactivate () override
 
void Suspend () override
 
void Resume () override
 
JXWindowGetWindow () const
 
JXDisplayGetDisplay () const
 
virtual const JStringGetName () 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 ()
 
JBroadcasteroperator= (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)
 

Protected Member Functions

void Init (JXWindow *window, JXStaticText *text, const JString &message, const bool allowCancel, JXButton *cancelButton)
 
- Protected Member Functions inherited from JXWindowDirector
virtual bool OKToDeactivate ()
 
- Protected Member Functions inherited from JXDirector
JXDirectorGetSupervisor () 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)
 

Constructor & Destructor Documentation

◆ JXPGDirectorBase()

JXPGDirectorBase::JXPGDirectorBase ( const bool  modal)

◆ ~JXPGDirectorBase()

JXPGDirectorBase::~JXPGDirectorBase ( )
override

Member Function Documentation

◆ Activate()

void JXPGDirectorBase::Activate ( )
overridevirtual

We do not propagate the Activate message to subdirectors because each derived class must decide whether or not this is appropriate.

Reimplemented from JXDirector.

◆ Close()

bool JXPGDirectorBase::Close ( )
overridevirtual

Pass unexpected close messages to our JXProgressDisplay as cancel messages.

Reimplemented from JXDirector.

◆ Init()

void JXPGDirectorBase::Init ( JXWindow window,
JXStaticText text,
const JString message,
const bool  allowCancel,
JXButton cancelButton 
)
protected

◆ ProcessContinuing()

void JXPGDirectorBase::ProcessContinuing ( const JString value)

Call this to update the window title.

◆ ProcessFinished()

void JXPGDirectorBase::ProcessFinished ( )

Call this to close the director.


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