|
| ~JXTEBase () override |
|
void | Activate () override |
|
void | Deactivate () override |
|
void | Suspend () override |
|
void | Resume () override |
|
void | HandleKeyPress (const JUtf8Character &c, const int keySym, const JXKeyModifiers &modifiers) override |
|
void | HandleShortcut (const int key, const JXKeyModifiers &modifiers) override |
|
JXTextMenu * | AppendEditMenu (JXMenuBar *menuBar, const bool showCheckSpellingCmds=false, const bool allowCheckSpelling=false, const bool showAdjustMarginsCmds=false, const bool allowAdjustMargins=false, const bool showCleanWhitespaceCmds=false, const bool allowCleanWhitespace=false, const bool showToggleReadOnly=false, const bool allowToggleReadOnly=false) |
|
JXTextMenu * | ShareEditMenu (JXTEBase *te, const bool allowCheckSpelling=false, const bool allowAdjustMargins=false, const bool allowCleanWhitespace=false, const bool allowToggleReadOnly=false) |
|
void | ShareEditMenu (JXTextMenu *menu, const bool allowCheckSpelling=false, const bool allowAdjustMargins=false, const bool allowCleanWhitespace=false, const bool allowToggleReadOnly=false) |
|
bool | HasEditMenu () const |
|
bool | GetEditMenu (JXTextMenu **menu) const |
|
bool | EditMenuIndexToCmd (const JIndex index, CmdIndex *cmd) const |
|
bool | EditMenuCmdToIndex (const CmdIndex cmd, JIndex *index) const |
|
JXTextMenu * | AppendSearchMenu (JXMenuBar *menuBar) |
|
JXTextMenu * | AppendSearchReplaceMenu (JXMenuBar *menuBar) |
|
JXTextMenu * | ShareSearchMenu (JXTEBase *te) |
|
void | ShareSearchMenu (JXTextMenu *menu) |
|
void | ShareSearchReplaceMenu (JXTextMenu *menu) |
|
bool | HasSearchMenu () const |
|
bool | GetSearchMenu (JXTextMenu **menu) const |
|
bool | SearchMenuIndexToCmd (const JIndex index, CmdIndex *cmd) const |
|
bool | SearchMenuCmdToIndex (const CmdIndex cmd, JIndex *index) const |
|
bool | HasSearchReplaceMenu () const |
|
bool | GetSearchReplaceMenu (JXTextMenu **menu) const |
|
bool | SearchReplaceMenuIndexToCmd (const JIndex index, CmdIndex *cmd) const |
|
bool | SearchReplaceMenuCmdToIndex (const CmdIndex cmd, JIndex *index) const |
|
bool | SearchForward (const bool reportNotFound=true) |
|
bool | SearchBackward () |
|
bool | EnterSearchSelection () |
|
bool | EnterReplaceSelection () |
|
bool | SearchSelectionForward () |
|
bool | SearchSelectionBackward () |
|
bool | SearchClipboardForward () |
|
bool | SearchClipboardBackward () |
|
bool | ReplaceSelection () |
|
bool | ReplaceAndSearchForward () |
|
bool | ReplaceAndSearchBackward () |
|
bool | ReplaceAll (const bool restrictToSelection) |
|
bool | TEHasSearchText () const override |
|
void | SetPSPrinter (JXPSPrinter *p) |
|
const JString & | GetPSPrintFileName () const |
|
void | SetPSPrintFileName (const JString &fileName) |
|
void | HandlePSPageSetup () |
|
void | PrintPS () |
|
void | SetPTPrinter (JXPTPrinter *p) |
|
const JString & | GetPTPrintFileName () const |
|
void | SetPTPrintFileName (const JString &fileName) |
|
void | HandlePTPageSetup () |
|
void | PrintPT () |
|
void | AskForLine () |
|
void | MoveCaretToEdge (const JUtf8Character &c) |
|
JCoordinate | GetMinBoundsWidth () const |
|
JCoordinate | GetMinBoundsHeight () const |
|
DisplayState | SaveDisplayState () const |
|
void | RestoreDisplayState (const DisplayState &state) |
|
JStringMatch | SearchForward (const JRegex ®ex, const bool entireWord, const bool wrapSearch, bool *wrapped) |
|
bool | SearchForward (std::function< bool(const JFont &)> match, const bool wrapSearch, bool *wrapped) |
|
JStringMatch | SearchBackward (const JRegex ®ex, const bool entireWord, const bool wrapSearch, bool *wrapped) |
|
bool | SearchBackward (std::function< bool(const JFont &)> match, const bool wrapSearch, bool *wrapped) |
|
| JXScrollableWidget (JXScrollbarSet *scrollbarSet, JXContainer *enclosure, const HSizingOption hSizing, const VSizingOption vSizing, const JCoordinate x, const JCoordinate y, const JCoordinate w, const JCoordinate h) |
|
| ~JXScrollableWidget () override |
|
void | AlwaysShowScrollbars (const bool alwaysShow=true) |
|
bool | GetScrollbars (JXScrollbar **hScrollbar, JXScrollbar **vScrollbar) const |
|
void | UpdateScrollbars () |
|
void | ReadScrollSetup (std::istream &input) |
|
void | WriteScrollSetup (std::ostream &output) const |
|
DisplayState | SaveDisplayState () const |
|
void | RestoreDisplayState (const DisplayState &state) |
|
| ~JXWidget () override |
|
void | Deactivate () override |
|
void | Refresh () const override |
|
void | RefreshRect (const JRect &rect) const |
|
void | Redraw () const override |
|
void | RedrawRect (const JRect &rect) const |
|
bool | Focus () |
|
bool | Unfocus () |
|
bool | HasFocus () const |
|
bool | WillAcceptFocus () const |
|
void | SetSingleFocusWidget () |
|
virtual bool | OKToUnfocus () |
|
bool | WantsTab () const |
|
bool | WantsModifiedTab () const |
|
bool | WillAcceptShortcut () const |
|
JPoint | GlobalToLocal (const JCoordinate x, const JCoordinate y) const override |
|
JPoint | LocalToGlobal (const JCoordinate x, const JCoordinate y) const override |
|
void | Place (const JCoordinate enclX, const JCoordinate enclY) override |
|
void | Move (const JCoordinate dx, const JCoordinate dy) override |
|
void | SetSize (const JCoordinate w, const JCoordinate h) override |
|
void | AdjustSize (const JCoordinate dw, const JCoordinate dh) override |
|
HSizingOption | GetHSizing () const |
|
VSizingOption | GetVSizing () const |
|
void | SetSizing (const HSizingOption hSizing, const VSizingOption vSizing) |
|
void | CenterWithinEnclosure (const bool adjustHoriz, const bool adjustVert) |
|
void | FitToEnclosure (const bool fitHoriz=true, const bool fitVert=true) |
|
bool | Scroll (const JCoordinate dx, const JCoordinate dy) |
|
bool | ScrollTo (const JCoordinate x, const JCoordinate y) |
|
bool | ScrollTo (const JPoint &pt) |
|
bool | ScrollToRect (const JRect &r) |
|
bool | ScrollToRectCentered (const JRect &r, const bool forceScroll) |
|
JRect | GetBoundsGlobal () const override |
|
JRect | GetFrameGlobal () const override |
|
JRect | GetApertureGlobal () const override |
|
JSize | GetBorderWidth () const |
|
void | SetBorderWidth (const JSize width) |
|
JColorID | GetCurrBackColor () const |
|
JColorID | GetBackColor () const |
|
void | SetBackColor (const JColorID color) |
|
JColorID | GetFocusColor () const |
|
void | SetFocusColor (const JColorID color) |
|
JString | ToString () const override |
|
virtual JPoint | GlobalToLocal (const JCoordinate x, const JCoordinate y) const=0 |
|
JPoint | GlobalToLocal (const JPoint &pt) const |
|
JRect | GlobalToLocal (const JRect &r) const |
|
virtual JPoint | LocalToGlobal (const JCoordinate x, const JCoordinate y) const=0 |
|
JPoint | LocalToGlobal (const JPoint &pt) const |
|
JRect | LocalToGlobal (const JRect &r) const |
|
| ~JXContainer () override |
|
bool | IsAncestor (JXContainer *obj) const |
|
virtual void | Show () |
|
virtual void | Hide () |
|
bool | IsVisible () const |
|
void | SetVisible (const bool vis) |
|
bool | WouldBeVisible () const |
|
bool | IsActive () const |
|
void | SetActive (const bool active) |
|
bool | WouldBeActive () const |
|
bool | IsSuspended () const |
|
bool | IsDNDSource () const |
|
bool | IsDNDTarget () const |
|
JPoint | GlobalToLocal (const JPoint &pt) const |
|
JRect | GlobalToLocal (const JRect &r) const |
|
JPoint | LocalToGlobal (const JPoint &pt) const |
|
JRect | LocalToGlobal (const JRect &r) const |
|
JRect | GetBounds () const |
|
JCoordinate | GetBoundsWidth () const |
|
JCoordinate | GetBoundsHeight () const |
|
JRect | GetFrame () const |
|
JRect | GetFrameLocal () const |
|
JCoordinate | GetFrameWidth () const |
|
JCoordinate | GetFrameHeight () const |
|
JRect | GetAperture () const |
|
JCoordinate | GetApertureWidth () const |
|
JCoordinate | GetApertureHeight () const |
|
JXDisplay * | GetDisplay () const |
|
JXWindow * | GetWindow () const |
|
JXContainer * | GetEnclosure () const |
|
JFontManager * | GetFontManager () const |
|
JXFontManager * | GetXFontManager () const |
|
JXSelectionManager * | GetSelectionManager () const |
|
JXDNDManager * | GetDNDManager () const |
|
JXMenuManager * | GetMenuManager () const |
|
JCursorIndex | GetDefaultCursor () const |
|
bool | GetHint (JString *text) const |
|
void | SetHint (const JString &text) |
|
void | ClearHint () |
|
bool | GetVisibleRectGlobal (const JRect &origRectG, JRect *visRectG) const |
|
void | ForEach (const std::function< void(JXContainer *)> &f, const bool recurse) |
|
void | ForEach (const std::function< void(const JXContainer *)> &f, const bool recurse) const |
|
void | ExpandToFitContent () |
|
virtual bool | RunInternalFTC (const bool horizontal, JCoordinate *newSize) |
|
JRect | ComputePaddingForInternalFTC () const |
|
bool | FindContainer (const JPoint &ptG, JXContainer **container) const |
|
virtual bool | IsMenu () const |
|
virtual bool | IsMenuTable () const |
|
| JBroadcaster () |
|
virtual | ~JBroadcaster () |
|
JBroadcaster & | operator= (const JBroadcaster &source) |
|
bool | HasSenders () const |
|
JSize | GetSenderCount () const |
|
bool | HasRecipients () const |
|
JSize | GetRecipientCount () const |
|
template<class T > |
void | ListenTo (const JBroadcaster *sender, const std::function< void(const T &)> &f) |
|
| JTextEditor (const Type type, JStyledText *text, const bool ownsText, JFontManager *fontManager, const bool breakCROnly, const JColorID caretColor, const JColorID selectionColor, const JColorID outlineColor, const JColorID wsColor, const JCoordinate width) |
|
| JTextEditor (const JTextEditor &source, JStyledText *text) |
|
| ~JTextEditor () override |
|
Type | GetType () const |
|
bool | IsReadOnly () const |
|
bool | WillBreakCROnly () const |
|
void | SetBreakCROnly (const bool breakCROnly) |
|
JStyledText * | GetText () |
|
const JStyledText & | GetText () const |
|
JStringMatch | SearchForward (const JRegex ®ex, const bool entireWord, const bool wrapSearch, bool *wrapped) |
|
JStringMatch | SearchBackward (const JRegex ®ex, const bool entireWord, const bool wrapSearch, bool *wrapped) |
|
JStringMatch | SelectionMatches (const JRegex ®ex, const bool entireWord) |
|
bool | ReplaceAll (const JRegex ®ex, const bool entireWord, const JString &replaceStr, JInterpolate *interpolator, const bool preserveCase, const bool restrictToSelection=false) |
|
bool | SearchForward (std::function< bool(const JFont &)> match, const bool wrapSearch, bool *wrapped) |
|
bool | SearchBackward (std::function< bool(const JFont &)> match, const bool wrapSearch, bool *wrapped) |
|
JIndex | GetInsertionCharIndex () const |
|
JStringIterator * | GetConstIteratorAtInsertionIndex () const |
|
void | DisposeConstIterator (JStringIterator *iter) const |
|
bool | GetCaretLocation (JIndex *charIndex) const |
|
void | SetCaretLocation (const JIndex charIndex) |
|
void | SetCaretLocation (const JPoint &pt) |
|
bool | HasSelection () const |
|
bool | GetSelection (JCharacterRange *range) const |
|
bool | GetSelection (JString *text) const |
|
bool | GetSelection (JString *text, JRunArray< JFont > *style) const |
|
void | SetSelection (const JCharacterRange &range, const bool needCaretBcast=true) |
|
bool | TEScrollToSelection (const bool centerInDisplay) |
|
void | GoToBeginningOfLine () |
|
void | GoToEndOfLine () |
|
JFont | GetCurrentFont () const |
|
void | SetCurrentFontName (const JString &name) |
|
void | SetCurrentFontSize (const JSize size) |
|
void | SetCurrentFontBold (const bool bold) |
|
void | SetCurrentFontItalic (const bool italic) |
|
void | SetCurrentFontUnderline (const JSize count) |
|
void | SetCurrentFontStrike (const bool strike) |
|
void | SetCurrentFontColor (const JColorID color) |
|
void | SetCurrentFontStyle (const JFontStyle &style) |
|
void | SetCurrentFont (const JFont &font) |
|
bool | CleanRightMargin (const bool coerce) |
|
JCoordinate | GetDefaultTabWidth () const |
|
void | SetDefaultTabWidth (const JCoordinate width) |
|
void | TabSelectionLeft (const JSize tabCount=1, const bool force=false) |
|
void | TabSelectionRight (const JSize tabCount=1) |
|
void | CleanAllWhitespace (const bool align) |
|
void | CleanSelectedWhitespace (const bool align) |
|
void | AnalyzeWhitespace (JSize *tabWidth) |
|
bool | WillShowWhitespace () const |
|
void | ShouldShowWhitespace (const bool show) |
|
bool | WillAlwaysShowSelection () const |
|
void | ShouldAlwaysShowSelection (const bool show) |
|
bool | WillMoveToFrontOfText () const |
|
void | ShouldMoveToFrontOfText (const bool moveToFront) |
|
JSize | GetLineCount () const |
|
JIndex | GetLineCharStart (const JIndex lineIndex) const |
|
JIndex | GetLineCharEnd (const JIndex lineIndex) const |
|
JIndex | GetLineForChar (const JIndex charIndex) const |
|
void | GoToLine (const JIndex lineIndex) |
|
void | SelectLine (const JIndex lineIndex) |
|
JCoordinate | GetLineTop (const JIndex lineIndex) const |
|
JCoordinate | GetLineBottom (const JIndex lineIndex) const |
|
JSize | GetLineHeight (const JIndex lineIndex) const |
|
JIndex | CRLineIndexToVisualLineIndex (const JIndex crLineIndex) const |
|
JIndex | VisualLineIndexToCRLineIndex (const JIndex visualLineIndex) const |
|
JCoordinate | GetCharLeft (const JIndex charIndex) const |
|
JCoordinate | GetCharRight (const JIndex charIndex) const |
|
JIndex | GetColumnForChar (const JIndex charIndex) const |
|
void | GoToColumn (const JIndex lineIndex, const JIndex columnIndex) |
|
void | DeleteSelection () |
|
void | SelectAll () |
|
void | Cut () |
|
void | Copy () const |
|
void | Paste () |
|
void | Paste (const JString &text, const JRunArray< JFont > *style=nullptr) |
|
bool | GetClipboard (JString *text, JRunArray< JFont > *style=nullptr) const |
|
void | Paginate (const JCoordinate pageHeight, JArray< JCoordinate > *breakpts) const |
|
void | Print (JPagePrinter &p) |
|
JTEKeyHandler * | GetKeyHandler () const |
|
void | SetKeyHandler (JTEKeyHandler *handler) |
|
bool | AllowsDragAndDrop () const |
|
void | ShouldAllowDragAndDrop (const bool allow) |
|
JCoordinate | TEGetMinPreferredGUIWidth () const |
|
JCoordinate | TEGetLeftMarginWidth () const |
|
void | TESetLeftMarginWidth (const JCoordinate width) |
|
JColorID | GetCaretColor () const |
|
void | SetCaretColor (const JColorID color) |
|
JColorID | GetSelectionColor () const |
|
void | SetSelectionColor (const JColorID color) |
|
JColorID | GetSelectionOutlineColor () const |
|
void | SetSelectionOutlineColor (const JColorID color) |
|
JColorID | GetWhitespaceColor () const |
|
void | SetWhitespaceColor (const JColorID color) |
|
CaretMode | GetCaretMode () const |
|
void | SetCaretMode (const CaretMode mode) |
|
JFontManager * | TEGetFontManager () const |
|
|
| JXTEBase (const Type type, JStyledText *text, const bool ownsText, const bool breakCROnly, JXScrollbarSet *scrollbarSet, JXContainer *enclosure, const HSizingOption hSizing, const VSizingOption vSizing, const JCoordinate x, const JCoordinate y, const JCoordinate w, const JCoordinate h) |
|
void | Draw (JXWindowPainter &p, const JRect &rect) override |
|
void | HandleMouseEnter () override |
|
void | HandleMouseHere (const JPoint &pt, const JXKeyModifiers &modifiers) override |
|
void | HandleMouseLeave () override |
|
void | HandleMouseDown (const JPoint &pt, const JXMouseButton button, const JSize clickCount, const JXButtonStates &buttonStates, const JXKeyModifiers &modifiers) override |
|
void | HandleMouseDrag (const JPoint &pt, const JXButtonStates &buttonStates, const JXKeyModifiers &modifiers) override |
|
void | HandleMouseUp (const JPoint &pt, const JXMouseButton button, const JXButtonStates &buttonStates, const JXKeyModifiers &modifiers) override |
|
bool | HitSamePart (const JPoint &pt1, const JPoint &pt2) const override |
|
bool | TEBeginDND () override |
|
void | DNDFinish (const bool isDrop, const JXContainer *target) override |
|
Atom | GetDNDAction (const JXContainer *target, const JXButtonStates &buttonStates, const JXKeyModifiers &modifiers) override |
|
void | GetDNDAskActions (const JXButtonStates &buttonStates, const JXKeyModifiers &modifiers, JArray< Atom > *askActionList, JPtrArray< JString > *askDescriptionList) override |
|
void | GetSelectionData (JXSelectionData *data, const JString &id) override |
|
bool | WillAcceptDrop (const JArray< Atom > &typeList, Atom *action, const JPoint &pt, const Time time, const JXWidget *source) override |
|
void | HandleDNDEnter () override |
|
void | HandleDNDHere (const JPoint &pt, const JXWidget *source) override |
|
void | HandleDNDLeave () override |
|
void | HandleDNDDrop (const JPoint &pt, const JArray< Atom > &typeList, const Atom action, const Time time, const JXWidget *source) override |
|
void | TEPasteDropData () override |
|
virtual bool | TEXWillAcceptDrop (const JArray< Atom > &typeList, const Atom action, const Time time, const JXWidget *source) |
|
virtual bool | TEXConvertDropData (const JArray< Atom > &typeList, const Atom action, const Time time, JString *text, JRunArray< JFont > *style) |
|
void | HandleFocusEvent () override |
|
void | HandleUnfocusEvent () override |
|
void | AdjustCursor (const JPoint &pt, const JXKeyModifiers &modifiers) override |
|
void | HandleWindowFocusEvent () override |
|
void | HandleWindowUnfocusEvent () override |
|
void | BoundsMoved (const JCoordinate dx, const JCoordinate dy) override |
|
void | ApertureResized (const JCoordinate dw, const JCoordinate dh) override |
|
void | TERefresh () override |
|
void | TERefreshRect (const JRect &rect) override |
|
void | TERedraw () override |
|
void | TESetGUIBounds (const JCoordinate w, const JCoordinate h, const JCoordinate changeY) override |
|
bool | TEWidthIsBeyondDisplayCapacity (const JSize width) const override |
|
bool | TEScrollToRect (const JRect &rect, const bool centerInDisplay) override |
|
bool | TEScrollForDrag (const JPoint &pt) override |
|
bool | TEScrollForDND (const JPoint &pt) override |
|
void | TESetVertScrollStep (const JCoordinate vStep) override |
|
void | TECaretShouldBlink (const bool blink) override |
|
void | TEUpdateClipboard (const JString &text, const JRunArray< JFont > &style) const override |
|
bool | TEGetClipboard (JString *text, JRunArray< JFont > *style) const override |
|
JCoordinate | GetPrintFooterHeight (JPagePrinter &p) const override |
|
void | DrawPrintFooter (JPagePrinter &p, const JCoordinate footerHeight) override |
|
void | Receive (JBroadcaster *sender, const Message &message) override |
|
bool | ScrollForDrag (const JPoint &pt) |
|
bool | ScrollForWheel (const JXMouseButton button, const JXKeyModifiers &modifiers) |
|
bool | ScrollForWheel (const JXMouseButton button, const JXKeyModifiers &modifiers, JXScrollbar *hScrollbar, JXScrollbar *vScrollbar) |
|
void | SetHorizStepSize (const JCoordinate hStep) |
|
void | SetHorizPageStepContext (const JCoordinate hPageContext) |
|
void | SetVertStepSize (const JCoordinate vStep) |
|
void | SetVertPageStepContext (const JCoordinate vPageContext) |
|
void | SetHorizJumpToScrolltabModifiers (const bool ctrl, const bool meta) |
|
void | SetVertJumpToScrolltabModifiers (const bool ctrl, const bool meta) |
|
void | DrawBorder (JXWindowPainter &p, const JRect &frame) override |
|
void | BoundsResized (const JCoordinate dw, const JCoordinate dh) override |
|
void | ApertureMoved (const JCoordinate dx, const JCoordinate dy) override |
|
void | HandleDNDScroll (const JPoint &pt, const JXMouseButton scrollButton, const JXKeyModifiers &modifiers) override |
|
| JXWidget (JXContainer *enclosure, const HSizingOption hSizing, const VSizingOption vSizing, const JCoordinate x, const JCoordinate y, const JCoordinate w, const JCoordinate h) |
|
void | WantInput (const bool wantInput, const bool wantTab=false, const bool wantModifiedTab=false) |
|
void | UnlockBounds () |
|
void | SetBounds (const JCoordinate w, const JCoordinate h) |
|
void | AdjustBounds (const JCoordinate dw, const JCoordinate dh) |
|
void | DrawBackground (JXWindowPainter &p, const JRect &frame) override |
|
bool | AcceptDrag (const JPoint &pt, const JXMouseButton button, const JXKeyModifiers &modifiers) override |
|
JXDragPainter * | CreateDragInsidePainter () |
|
JXDragPainter * | CreateDragOutsidePainter () |
|
bool | GetDragPainter (JXDragPainter **p) const |
|
bool | GetDragPainter (JPainter **p) const |
|
void | DeleteDragPainter () |
|
void | BoundsMoved (const JCoordinate dx, const JCoordinate dy) override |
|
void | EnclosingBoundsMoved (const JCoordinate dx, const JCoordinate dy) override |
|
void | BoundsResized (const JCoordinate dw, const JCoordinate dh) override |
|
void | EnclosingBoundsResized (const JCoordinate dw, const JCoordinate dh) override |
|
void | FTCAdjustSize (const JCoordinate dw, const JCoordinate dh) override |
|
bool | BeginDND (const JPoint &pt, const JXButtonStates &buttonStates, const JXKeyModifiers &modifiers, JXSelectionData *data, JXDNDManager::TargetFinder *targetFinder=nullptr) |
|
virtual void | DNDInit (const JPoint &pt, const JXButtonStates &buttonStates, const JXKeyModifiers &modifiers) |
|
virtual void | DNDCompletelyFinished () |
|
virtual void | HandleDNDResponse (const JXContainer *target, const bool dropAccepted, const Atom action) |
|
bool | WillAllowUnboundedScrolling () const |
|
void | ShouldAllowUnboundedScrolling (const bool allow) |
|
| JXContainer (JXWindow *window, JXContainer *enclosure) |
|
| JXContainer (JXDisplay *display, JXWindow *window, JXContainer *enclosure) |
|
void | TurnOnBufferedDrawing () |
|
void | DrawAll (JXWindowPainter &p, const JRect &frameG) |
|
bool | DispatchClientMessage (const XClientMessageEvent &clientMessage) |
|
virtual bool | HandleClientMessage (const XClientMessageEvent &clientMessage) |
|
void | NotifyBoundsMoved (const JCoordinate dx, const JCoordinate dy) |
|
void | NotifyBoundsResized (const JCoordinate dw, const JCoordinate dh) |
|
virtual bool | IncludeInFTC () const |
|
virtual bool | NeedsInternalFTC () const |
|
virtual JCoordinate | GetFTCMinContentSize (const bool horizontal) const |
|
virtual JRect | GetFrameForFTC () const |
|
bool | GetEnclosedObjects (JPtrArrayIterator< JXContainer > **iter) const |
|
void | DeleteEnclosedObjects () |
|
void | ShowCursor () |
|
void | HideCursor () |
|
void | SetDefaultCursor (const JCursorIndex index) |
|
void | DispatchCursor (const JPoint &ptG, const JXKeyModifiers &modifiers) |
|
void | DisplayCursor (const JCursorIndex index) |
|
JXCursorAnimator * | CreateCursorAnimator () |
|
JXCursorAnimator * | GetCursorAnimator () const |
|
void | AnimateCursor () const |
|
void | RemoveCursorAnimator () |
|
void | ActivateCursor (const JPoint &ptG, const JXKeyModifiers &modifiers) |
|
void | DeactivateCursor () |
|
std::ostream & | GetFTCLog () const |
|
virtual bool | StealMouse (const int eventType, const JPoint &ptG, const JXMouseButton button, const unsigned int state) |
|
| 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) |
|
bool | TEIsActive () const |
|
void | TEActivate () |
|
void | TEDeactivate () |
|
bool | TESelectionIsActive () const |
|
void | TEActivateSelection () |
|
void | TEDeactivateSelection () |
|
bool | TECaretIsVisible () const |
|
void | TEShowCaret () |
|
void | TEHideCaret () |
|
void | SetType (const Type type) |
|
void | RecalcAll (const bool broadcastCaretMessages=true) |
|
JArray< bool > | GetCmdStatus (JString *crmActionText, JString *crm2ActionText, bool *isReadOnly) const |
|
void | TEDraw (JPainter &p, const JRect &rect) |
|
virtual void | TEDrawInMargin (JPainter &p, const JPoint &topLeft, const LineGeometry &geom, const JIndex lineIndex) |
|
bool | TEWillDragAndDrop (const JPoint &pt, const bool extendSelection, const bool dropCopy) const |
|
void | TEHandleMouseDown (const JPoint &pt, const JSize clickCount, const bool extendSelection, const bool partialWord) |
|
void | TEHandleMouseDrag (const JPoint &pt) |
|
void | TEHandleMouseUp () |
|
bool | TEHitSamePart (const JPoint &pt1, const JPoint &pt2) const |
|
void | TEDNDFinished () |
|
void | TEHandleDNDEnter () |
|
void | TEHandleDNDHere (const JPoint &pt, const bool dropOnSelf) |
|
void | TEHandleDNDLeave () |
|
void | TEHandleDNDDrop (const JPoint &pt, const bool dropOnSelf, const bool dropCopy) |
|
bool | TEIsDragging () const |
|
bool | TEHandleKeyPress (const JUtf8Character &key, const bool selectText, const CaretMotion motion, const bool deleteToTabStop) |
|
JCoordinate | TEGetBoundsWidth () const |
|
void | TESetBoundsWidth (const JCoordinate width) |
|
void | TERefreshLines (const JIndex first, const JIndex last) |
|
virtual void | TEUpdateDisplay () |
|
virtual JCoordinate | GetTabWidth (const JIndex charIndex, const JCoordinate x) const |
|
virtual JCoordinate | GetPrintHeaderHeight (JPagePrinter &p) const |
|
virtual void | DrawPrintHeader (JPagePrinter &p, const JCoordinate headerHeight) |
|
bool | GetCaretLocation (CaretLocation *caretLoc) const |
|
void | SetCaretLocation (const JStyledText::TextIndex &caretLoc) |
|
void | SetCaretLocation (const CaretLocation &caretLoc) |
|
CaretLocation | CalcCaretLocation (const JPoint &pt) const |
|
CaretLocation | CalcCaretLocation (const JStyledText::TextIndex &index) const |
|
bool | PointInSelection (const JPoint &pt) const |
|
void | MoveCaretVert (const JInteger deltaLines) |
|
JIndex | GetColumnForChar (const CaretLocation &caretLoc) const |
|
JStyledText::TextIndex | GetInsertionIndex () const |
|
JStyledText::TextIndex | GetLineStart (const JIndex lineIndex) const |
|
JStyledText::TextIndex | GetLineEnd (const JIndex lineIndex) const |
|
JStyledText::TextCount | GetLineLength (const JIndex lineIndex) const |
|
bool | GetSelection (JStyledText::TextRange *range) const |
|
void | SetSelection (const JStyledText::TextRange &range, const bool needCaretBcast=true, const bool ignoreCopyWhenSelect=false) |
|
void | TEGetDoubleClickSelection (const JStyledText::TextIndex &charIndex, const bool partialWord, const bool dragging, JStyledText::TextRange *range) const |
|
void | SetAllFontNameAndSize (const JString &name, const JSize size, const JCoordinate tabWidth, const bool breakCROnly, const bool clearUndo) |
|
void | ReplaceSelection (const JStringMatch &match, const JString &replaceStr, JInterpolate *interpolator, const bool preserveCase) |
|
void | ReceiveGoingAway (JBroadcaster *sender) override |
|
We implement the routines required by JTextEditor that depend on JX.
We accept the following data types:
XA_STRING, UTF8_STRING,
text/plain, text/plain;charset=utf-8,
text/x-jxstyled0
To paste other formats, override TEGetClipboard().
To accept drops of other formats that can be pasted (and should therefore
display an insertion caret), override TEXWillAcceptDrop() and
TEXConvertDropData().
To accept drops of other formats that cannot be pasted, override
WillAcceptDrop() and -all- four HandleDND*() functions.