|
JX Application Framework
|
#include <JXCSFDialogBase.h>
Public Member Functions | |
| ~JXCSFDialogBase () override | |
| void | Activate () override |
| bool | Deactivate () override |
| const JString & | GetPath () const |
| const JString & | GetFilter () const |
| bool | HiddenVisible () const |
| JDirInfo * | GetDirInfo () const |
Public Member Functions inherited from JXModalDialogDirector | |
| 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 |
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) |
Static Public Member Functions | |
| static const JString & | GetState () |
| static void | SetState (const JString &state) |
| static void | ReadOldState (std::istream &input) |
| static bool | IsCharacterInWord (const JUtf8Character &c) |
Protected Member Functions | |
| JXCSFDialogBase (const JString &fileFilter) | |
| void | SetObjects (JXScrollbarSet *scrollbarSet, JXStaticText *pathLabel, JXPathInput *pathInput, JXPathHistoryMenu *pathHistory, JXStaticText *filterLabel, JXInputField *filterInput, JXStringHistoryMenu *filterHistory, JXTextButton *enterButton, JXTextButton *upButton, JXTextButton *homeButton, JXTextButton *desktopButton, JXNewDirButton *newDirButton, JXTextCheckbox *showHiddenCB, JXCurrentPathMenu *currPathMenu, const JString &message) |
| virtual void | AdjustSizings () |
| virtual void | UpdateDisplay () |
| JXDirTable * | GetFileBrowser () const |
| JXPathInput * | GetPathInput () const |
| JXInputField * | GetFilterInput () const |
| JXNewDirButton * | GetNewDirButton () const |
| bool | GoToItsPath () |
| void | AdjustFilter () |
| void | RestoreState () |
| void | SaveState () const |
| void | DoNotSaveCurrentPath () |
| void | Receive (JBroadcaster *sender, const Message &message) override |
Protected Member Functions inherited from JXModalDialogDirector | |
| bool | OKToDeactivate () override |
| bool | Cancelled () const |
| void | Receive (JBroadcaster *sender, const Message &message) override |
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) |
| 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 call JXCSFDialogBase::SetObjects() after the JXLayout code and then set up the extra items. To allow further derived classes, this code should be put in a SetObjects() function instead of being inlined after the JXLayout code.
|
override |
|
protected |
Derived classes must call SetObjects().
|
overridevirtual |
We can't add the strings to the history menus until after ReadSetup().
The file browser must have the initial focus.
Reimplemented from JXDirector.
Reimplemented in JXSaveFileDialog.
|
protected |
|
protectedvirtual |
Adjust the sizing options for the widgets in the window after the message has been installed at the top.
Reimplemented in JXChooseFileDialog.
|
overridevirtual |
Ignore FocusLost messages during this process.
Reimplemented from JXDirector.
|
inlineprotected |
|
inline |
|
inlineprotected |
| const JString & JXCSFDialogBase::GetFilter | ( | ) | const |
|
inlineprotected |
|
inlineprotected |
| const JString & JXCSFDialogBase::GetPath | ( | ) | const |
|
inlineprotected |
|
inlinestatic |
|
protected |
| bool JXCSFDialogBase::HiddenVisible | ( | ) | const |
|
static |
Returns true if the given character should be considered part of a word. Our definition is [A-Za-z0-9_].
|
static |
|
overrideprotectedvirtual |
Process the given message from the given sender. This function is not pure virtual because not all classes will want to implement it.
Reimplemented from JBroadcaster.
Reimplemented in JXSaveFileDialog.
|
protected |
Read in path and filter histories and window geometry. This is not virtual because it has to apply to all derived classes.
|
protected |
Write path and filter histories and window geometry. This is not virtual because it has to apply to all derived classes.
|
protected |
|
inlinestatic |
|
protectedvirtual |
Derived classes can override this to perform other adjustments.
Reimplemented in JXChooseFileDialog, JXChoosePathDialog, and JXSaveFileDialog.