JX Application Framework
|
#include <JXPTPrintSetupDialog.h>
Public Member Functions | |
~JXPTPrintSetupDialog () override | |
virtual bool | SetParameters (JXPTPrinter *p) const |
![]() | |
JXModalDialogDirector (const bool allowResizing=false) | |
~JXModalDialogDirector () override | |
JXButton * | GetOKButton () const |
JXButton * | GetCancelButton () const |
void | SetButtons (JXButton *okButton, JXButton *cancelButton) |
bool | DoDialog () |
void | EndDialog (const bool success) |
void | Activate () override |
bool | Deactivate () override |
bool | Close () override |
![]() | |
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 |
![]() | |
JXDirector (JXDirector *supervisor) | |
~JXDirector () override | |
bool | IsClosing () const |
bool | IsActive () const |
bool | IsSuspended () const |
bool | HasSubdirectors () const |
bool | GetSubdirectors (const JPtrArray< JXDirector > **list) const |
![]() | |
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) |
Static Public Member Functions | |
static JXPTPrintSetupDialog * | Create (const JXPTPrinter::Destination dest, const JString &printCmd, const JString &fileName, const bool printLineNumbers) |
Protected Member Functions | |
JXPTPrintSetupDialog () | |
void | SetObjects (JXTextButton *okButton, JXTextButton *cancelButton, JXRadioGroup *destinationRG, const JXPTPrinter::Destination dest, JXStaticText *printCmdLabel, JXInputField *printCmdInput, const JString &printCmd, JXTextButton *chooseFileButton, const JString &fileName, JXIntegerInput *copyCount, JXTextCheckbox *printAllCheckbox, JXStaticText *firstPageIndexLabel, JXIntegerInput *firstPageIndex, JXStaticText *lastPageIndexLabel, JXIntegerInput *lastPageIndex, JXTextCheckbox *printLineNumbersCB, const bool printLineNumbers) |
bool | OKToDeactivate () override |
void | Receive (JBroadcaster *sender, const Message &message) override |
![]() | |
bool | Cancelled () const |
![]() | |
JXDirector * | GetSupervisor () const |
bool | CloseAllSubdirectors () |
virtual void | DirectorClosed (JXDirector *theDirector) |
![]() | |
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) |
void | SendWithFeedback (JBroadcaster *recipient, Message *message) |
void | BroadcastWithFeedback (Message *message) |
virtual void | ReceiveWithFeedback (JBroadcaster *sender, Message *message) |
virtual void | ReceiveGoingAway (JBroadcaster *sender) |
Derived classes must override BuildWindow() and call SetObjects() at the end of their implementation.
|
override |
|
protected |
|
static |
|
overrideprotectedvirtual |
Check that the active object is willing to unfocus.
Reimplemented from JXModalDialogDirector.
|
overrideprotectedvirtual |
Listen for pushed ok and cancel buttons.
Reimplemented from JXModalDialogDirector.
|
protected |
|
virtual |
Derived classes can override this to extract extra information.