|
| JXProgressDisplay () |
|
| ~JXProgressDisplay () override |
|
void | SetItems (JXTextButton *cancelButton, JXStaticText *counter, JXProgressIndicator *indicator, JXTEBase *label=nullptr) |
|
bool | IncrementProgress (const JString &message=JString::empty) override |
|
bool | IncrementProgress (const JSize delta) override |
|
bool | IncrementProgress (const JString &message, const JSize delta) override |
|
bool | ProcessContinuing () override |
|
void | ProcessFinished () override |
|
void | DisplayBusyCursor () override |
|
| JProgressDisplay () |
|
virtual | ~JProgressDisplay () |
|
void | FixedLengthProcessBeginning (const JSize stepCount, const JString &message, const bool allowCancel, const bool modal) |
|
void | VariableLengthProcessBeginning (const JString &message, const bool allowCancel, const bool modal) |
|
bool | ProcessRunning () const |
|
ProcessType | GetCurrentProcessType () const |
|
JSize | GetCurrentStepCount () 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) |
|
|
void | ProcessBeginning (const ProcessType processType, const JSize stepCount, const JString &message, const bool allowCancel, const bool modal) override |
|
virtual void | AppendToMessageWindow (const JString &message) |
|
bool | CheckForCancel () override |
|
void | Receive (JBroadcaster *sender, const Message &message) override |
|
bool | AllowCancel () const |
|
bool | IsModal () const |
|
JSize | GetMaxStepCount () const |
|
void | IncrementStepCount (const JSize delta=1) |
|
| 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) |
|
Class to display the progress of a long process. The client must call
SetItems() with the appropriate widgets so we have something to draw to.
When a background process is event driven, it is convenient to ignore
the process until an event arrives. In this case, the Cancel button
will not work nicely if events are rare. The CancelRequested message
is broadcast when the process is backgrounded in order to avoid this
problem.