![]() |
Eclipse SUMO - Simulation of Urban MObility
|
FXTextFieldIcon (based on FXTextFieldIcon). More...
#include <MFXTextFieldSearch.h>
Public Member Functions | |
| virtual bool | canFocus () const |
| Yes, text field may receive focus. | |
| virtual void | create () |
| Create server-side resources. | |
| virtual void | disable () |
| Disable text field. | |
| virtual void | enable () |
| Enable text field. | |
| FXbool | extendSelection (FXint pos) |
| Extend the selection from the anchor to the given position. | |
| FXint | getAnchorPos () const |
| Return anchor position. | |
| FXColor | getCursorColor () const |
| Return the cursor color. | |
| FXint | getCursorPos () const |
| Return cursor position. | |
| virtual FXint | getDefaultHeight () |
| Return default height. | |
| virtual FXint | getDefaultWidth () |
| Return default width. | |
| const FXchar * | getDelimiters () const |
| Return word delimiters. | |
| FXFont * | getFont () const |
| Get the text font. | |
| const FXString & | getHelpText () const |
| Get the status line help text for this label. | |
| FXuint | getJustify () const |
| Return text justification mode. | |
| FXint | getNumColumns () const |
| Return number of columns. | |
| FXColor | getSelBackColor () const |
| Return selected background color. | |
| FXColor | getSelTextColor () const |
| Return selected text color. | |
| FXString | getText () const |
| Get the text for this label. | |
| FXColor | getTextColor () const |
| Return text color. | |
| FXuint | getTextStyle () const |
| Return text style. | |
| const FXString & | getTipText () const |
| Get the tool tip message for this text field. | |
| FXbool | isEditable () const |
| Return TRUE if text field may be edited. | |
| FXbool | isOverstrike () const |
| Return TRUE if overstrike mode in effect. | |
| FXbool | isPosSelected (FXint pos) const |
| Return TRUE if position pos is selected. | |
| FXbool | isPosVisible (FXint pos) const |
| Return TRUE if position is fully visible. | |
| virtual void | killFocus () |
| Remove the focus from this window. | |
| FXbool | killSelection () |
| Unselect the text. | |
| virtual void | layout () |
| Perform layout. | |
| void | makePositionVisible (FXint pos) |
| Scroll text to make the given position visible. | |
| MFXTextFieldSearch (FXComposite *p, MFXStaticToolTip *staticToolTip, FXObject *tgt, FXSelector sel, FXuint opts, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD) | |
| FOX declaration. | |
| long | onFocusIn (FXObject *sender, FXSelector sel, void *ptr) |
| focus in | |
| long | onFocusOut (FXObject *sender, FXSelector sel, void *ptr) |
| focus out | |
| long | onFocusSelf (FXObject *sender, FXSelector sel, void *ptr) |
| focus self | |
| long | onKeyPress (FXObject *obj, FXSelector sel, void *ptr) |
| key press | |
| long | onPaint (FXObject *obj, FXSelector sel, void *ptr) |
| paint | |
| FXbool | selectAll () |
| Select all text. | |
| void | setAnchorPos (FXint pos) |
| Change anchor position. | |
| void | setCursorColor (FXColor clr) |
| Changes the cursor color. | |
| void | setCursorPos (FXint pos) |
| Set cursor position. | |
| void | setDelimiters (const FXchar *delims=FXTextField::textDelimiters) |
| Change word delimiters. | |
| void | setEditable (FXbool edit=TRUE) |
| Set editable mode. | |
| virtual void | setFocus () |
| Move the focus to this window. | |
| void | setFont (FXFont *fnt) |
| Set the text font. | |
| void | setHelpText (const FXString &text) |
| Set the status line help text for this label. | |
| void | setIcon (FXIcon *ic) |
| Change the icon. | |
| void | setJustify (FXuint mode) |
| Change text justification mode. | |
| void | setNumColumns (FXint cols) |
| Change the default width of the text field. | |
| void | setOverstrike (FXbool over=TRUE) |
| Set overstrike mode. | |
| void | setSelBackColor (FXColor clr) |
| Change selected background color. | |
| FXbool | setSelection (FXint pos, FXint len) |
| Select len characters starting at given position pos. | |
| void | setSelTextColor (FXColor clr) |
| Change selected text color. | |
| void | setText (const FXString &text, FXbool notify=FALSE) |
| Change the text and move cursor to end. | |
| void | setTextColor (FXColor clr) |
| Change text color. | |
| void | setTextStyle (FXuint style) |
| Change text style. | |
| void | setTipText (const FXString &text) |
| Set the tool tip message for this text field. | |
| void | setToolTipText (const FXString &toolTip) |
| set toolTip | |
| long | onEnter (FXObject *, FXSelector, void *) |
| fox callbacks | |
| long | onLeave (FXObject *, FXSelector, void *) |
| long | onUpdate (FXObject *, FXSelector, void *) |
| long | onKeyRelease (FXObject *, FXSelector, void *) |
| long | onLeftBtnPress (FXObject *, FXSelector, void *) |
| long | onLeftBtnRelease (FXObject *, FXSelector, void *) |
| long | onMiddleBtnPress (FXObject *, FXSelector, void *) |
| long | onMiddleBtnRelease (FXObject *, FXSelector, void *) |
| long | onVerify (FXObject *, FXSelector, void *) |
| long | onMotion (FXObject *, FXSelector, void *) |
| long | onSelectionLost (FXObject *, FXSelector, void *) |
| long | onSelectionGained (FXObject *, FXSelector, void *) |
| long | onSelectionRequest (FXObject *, FXSelector, void *ptr) |
| long | onClipboardLost (FXObject *, FXSelector, void *) |
| long | onClipboardGained (FXObject *, FXSelector, void *) |
| long | onClipboardRequest (FXObject *, FXSelector, void *) |
| long | onBlink (FXObject *, FXSelector, void *) |
| long | onAutoScroll (FXObject *, FXSelector, void *) |
| long | onCmdSetValue (FXObject *, FXSelector, void *) |
| long | onCmdSetIntValue (FXObject *, FXSelector, void *) |
| long | onCmdSetRealValue (FXObject *, FXSelector, void *) |
| long | onCmdSetStringValue (FXObject *, FXSelector, void *) |
| long | onCmdGetIntValue (FXObject *, FXSelector, void *) |
| long | onCmdGetRealValue (FXObject *, FXSelector, void *) |
| long | onCmdGetStringValue (FXObject *, FXSelector, void *) |
| long | onCmdCursorHome (FXObject *, FXSelector, void *) |
| long | onCmdCursorEnd (FXObject *, FXSelector, void *) |
| long | onCmdCursorRight (FXObject *, FXSelector, void *) |
| long | onCmdCursorLeft (FXObject *, FXSelector, void *) |
| long | onCmdCursorWordLeft (FXObject *, FXSelector, void *) |
| long | onCmdCursorWordRight (FXObject *, FXSelector, void *) |
| long | onCmdCursorWordStart (FXObject *, FXSelector, void *) |
| long | onCmdCursorWordEnd (FXObject *, FXSelector, void *) |
| long | onCmdMark (FXObject *, FXSelector, void *) |
| long | onCmdExtend (FXObject *, FXSelector, void *) |
| long | onCmdSelectAll (FXObject *, FXSelector, void *) |
| long | onCmdDeselectAll (FXObject *, FXSelector, void *) |
| long | onCmdCutSel (FXObject *, FXSelector, void *) |
| long | onCmdCopySel (FXObject *, FXSelector, void *) |
| long | onCmdPasteSel (FXObject *, FXSelector, void *) |
| long | onCmdPasteMiddle (FXObject *, FXSelector, void *) |
| long | onCmdDeleteSel (FXObject *, FXSelector, void *) |
| long | onCmdDeleteAll (FXObject *, FXSelector, void *) |
| long | onCmdOverstString (FXObject *, FXSelector, void *) |
| long | onCmdInsertString (FXObject *, FXSelector, void *) |
| long | onCmdBackspace (FXObject *, FXSelector, void *) |
| long | onCmdDelete (FXObject *, FXSelector, void *) |
| long | onCmdToggleEditable (FXObject *, FXSelector, void *) |
| long | onUpdToggleEditable (FXObject *, FXSelector, void *) |
| long | onCmdToggleOverstrike (FXObject *, FXSelector, void *) |
| long | onUpdToggleOverstrike (FXObject *, FXSelector, void *) |
| long | onUpdHaveSelection (FXObject *, FXSelector, void *) |
| long | onUpdSelectAll (FXObject *, FXSelector, void *) |
| long | onCmdSetHelp (FXObject *, FXSelector, void *) |
| long | onCmdGetHelp (FXObject *, FXSelector, void *) |
| long | onCmdSetTip (FXObject *, FXSelector, void *) |
| long | onCmdGetTip (FXObject *, FXSelector, void *) |
| long | onQueryHelp (FXObject *, FXSelector, void *) |
| long | onQueryTip (FXObject *, FXSelector, void *) |
Protected Member Functions | |
| FXint | coord (FXint i) const |
| coordinates | |
| void | drawCursor (FXuint state) |
| draw myCursorPosition | |
| void | drawPWDTextFragment (FXDCWindow &dc, FXint x, FXint y, FXint fm, FXint to) |
| draw password text fragment | |
| void | drawTextFragment (FXDCWindow &dc, FXint x, FXint y, FXint fm, FXint to) |
| draw text fragment | |
| void | drawTextRange (FXDCWindow &dc, FXint fm, FXint to) |
| draw text range | |
| FXint | index (FXint x) const |
| index | |
| FXint | leftWord (FXint pos) const |
| left word | |
| MFXTextFieldSearch () | |
| FOX need this. | |
| FXint | rightWord (FXint pos) const |
| right word | |
| FXint | wordEnd (FXint pos) const |
| word end | |
| FXint | wordStart (FXint pos) const |
| word start | |
Protected Attributes | |
| FXString | contents |
| Edited text. | |
| FXint | myAnchorPosition = 0 |
| Anchor position. | |
| FXString | myClippedText |
| Clipped text. | |
| FXColor | myCursorColor = 0 |
| Color of the Cursor. | |
| FXint | myCursorPosition = 0 |
| Cursor position. | |
| FXFont * | myFont |
| Text font. | |
| FXString | myHelpText |
| Help string. | |
| FXIcon * | myIcon = nullptr |
| myIcon | |
| FXColor | mySelectedBackgroundColor = 0 |
| Selected background color. | |
| FXColor | mySelectedTextColor = 0 |
| Selected text color. | |
| FXint | myShiftAmount = 0 |
| Shift amount. | |
| MFXStaticToolTip * | myStaticToolTip = nullptr |
| static tooltip | |
| FXColor | myTextColor = 0 |
| Text color. | |
| const FXchar * | myTextDelimiter = FXTextField::textDelimiters |
| Set of text delimiter. | |
| FXString | myToolTipText |
| toolTip text (if set, tooltip will be always show) | |
| FXString | myTooltipText |
| Tooltip. | |
| FXint | myVisibleColumns = 0 |
| Number of myVisibleColumns visible. | |
Private Member Functions | |
| void | drawSearchTextRange (FXDCWindow &dc, FXint fm, const FXString &searchString) |
| draw search text range | |
Private Attributes | |
| FXObject * | myTarget = nullptr |
| target | |
FXTextFieldIcon (based on FXTextFieldIcon).
Definition at line 28 of file MFXTextFieldSearch.h.
| MFXTextFieldSearch::MFXTextFieldSearch | ( | FXComposite * | p, |
| MFXStaticToolTip * | staticToolTip, | ||
| FXObject * | tgt, | ||
| FXSelector | sel, | ||
| FXuint | opts, | ||
| FXint | x = 0, | ||
| FXint | y = 0, | ||
| FXint | w = 0, | ||
| FXint | h = 0, | ||
| FXint | pl = DEFAULT_PAD, | ||
| FXint | pr = DEFAULT_PAD, | ||
| FXint | pt = DEFAULT_PAD, | ||
| FXint | pb = DEFAULT_PAD ) |
FOX declaration.
constructor
Definition at line 53 of file MFXTextFieldSearch.cpp.
References MFXTextFieldIcon::MFXTextFieldIcon(), MFXTextFieldSearch(), and myTarget.
Referenced by MFXTextFieldSearch().
|
protected |
FOX need this.
Definition at line 127 of file MFXTextFieldSearch.cpp.
References MFXTextFieldIcon::MFXTextFieldIcon().
|
virtualinherited |
Yes, text field may receive focus.
Definition at line 436 of file MFXTextFieldIcon.cpp.
|
protectedinherited |
coordinates
Definition at line 1072 of file MFXTextFieldIcon.cpp.
References contents, myFont, and myShiftAmount.
Referenced by drawCursor(), isPosVisible(), onPaint(), and MFXTextFieldSearch::onPaint().
|
virtualinherited |
Create server-side resources.
Definition at line 163 of file MFXTextFieldIcon.cpp.
References myFont.
Referenced by GNETLSTable::Cell::Cell().
|
virtualinherited |
Disable text field.
Definition at line 207 of file MFXTextFieldIcon.cpp.
Referenced by onUpdate().
|
protectedinherited |
draw myCursorPosition
Definition at line 872 of file MFXTextFieldIcon.cpp.
References contents, coord(), drawTextRange(), ICON_SIZE, ICON_SPACING, myAnchorPosition, myCursorColor, myCursorPosition, and myIcon.
Referenced by onAutoScroll(), onBlink(), onFocusIn(), onFocusOut(), onMotion(), and setCursorPos().
|
protectedinherited |
draw password text fragment
Definition at line 1126 of file MFXTextFieldIcon.cpp.
References contents, and myFont.
Referenced by drawTextRange().
|
private |
draw search text range
Definition at line 133 of file MFXTextFieldSearch.cpp.
References ICON_SIZE, ICON_SPACING, MFXTextFieldIcon::myAnchorPosition, MFXTextFieldIcon::myCursorPosition, MFXTextFieldIcon::myFont, and MFXTextFieldIcon::myShiftAmount.
Referenced by onPaint().
|
protectedinherited |
draw text fragment
Definition at line 1118 of file MFXTextFieldIcon.cpp.
References contents, and myFont.
Referenced by drawTextRange().
|
protectedinherited |
draw text range
Definition at line 1138 of file MFXTextFieldIcon.cpp.
References contents, drawPWDTextFragment(), drawTextFragment(), ICON_SIZE, ICON_SPACING, myAnchorPosition, myCursorPosition, myFont, myIcon, mySelectedBackgroundColor, mySelectedTextColor, myShiftAmount, and myTextColor.
Referenced by drawCursor(), onPaint(), and MFXTextFieldSearch::onPaint().
|
virtualinherited |
Enable text field.
Definition at line 198 of file MFXTextFieldIcon.cpp.
|
inherited |
Extend the selection from the anchor to the given position.
Definition at line 2170 of file MFXTextFieldIcon.cpp.
References contents, and myAnchorPosition.
Referenced by onAutoScroll(), onCmdExtend(), onLeftBtnPress(), onMotion(), selectAll(), and setSelection().
|
inherited |
Return anchor position.
Definition at line 866 of file MFXTextFieldIcon.cpp.
References myAnchorPosition.
|
inherited |
Return the cursor color.
Definition at line 2280 of file MFXTextFieldIcon.cpp.
References myCursorColor.
|
inherited |
Return cursor position.
Definition at line 854 of file MFXTextFieldIcon.cpp.
References myCursorPosition.
|
virtualinherited |
|
virtualinherited |
Return default width.
Definition at line 216 of file MFXTextFieldIcon.cpp.
References myFont, and myVisibleColumns.
|
inherited |
Return word delimiters.
Definition at line 2387 of file MFXTextFieldIcon.cpp.
References myTextDelimiter.
|
inherited |
|
inherited |
Get the status line help text for this label.
Definition at line 2399 of file MFXTextFieldIcon.cpp.
References myHelpText.
Referenced by onCmdGetHelp().
|
inherited |
Return text justification mode.
Definition at line 2375 of file MFXTextFieldIcon.cpp.
References JUSTIFY_MASK.
|
inherited |
Return number of columns.
Definition at line 2301 of file MFXTextFieldIcon.cpp.
References myVisibleColumns.
|
inlineinherited |
Return selected background color.
Definition at line 126 of file MFXTextFieldIcon.h.
References mySelectedBackgroundColor.
|
inherited |
Return selected text color.
Definition at line 2265 of file MFXTextFieldIcon.cpp.
References mySelectedTextColor.
|
inherited |
Get the text for this label.
Definition at line 2226 of file MFXTextFieldIcon.cpp.
References contents.
Referenced by onCmdGetStringValue().
|
inherited |
|
inherited |
|
inherited |
Get the tool tip message for this text field.
Definition at line 2411 of file MFXTextFieldIcon.cpp.
References myTooltipText.
Referenced by onCmdGetTip(), and onEnter().
|
protectedinherited |
index
Definition at line 1028 of file MFXTextFieldIcon.cpp.
References contents, myFont, and myShiftAmount.
Referenced by onAutoScroll(), onLeftBtnPress(), onMiddleBtnPress(), and onMotion().
|
inherited |
Return TRUE if text field may be edited.
Definition at line 2307 of file MFXTextFieldIcon.cpp.
Referenced by onCmdBackspace(), onCmdCutSel(), onCmdDelete(), onCmdDeleteAll(), onCmdDeleteSel(), onCmdInsertString(), onCmdOverstString(), onCmdPasteMiddle(), onCmdPasteSel(), onCmdToggleEditable(), onFocusIn(), onKeyPress(), onUpdToggleEditable(), and setCursorPos().
|
inherited |
Return TRUE if overstrike mode in effect.
Definition at line 2325 of file MFXTextFieldIcon.cpp.
Referenced by onCmdToggleOverstrike(), onKeyPress(), and onUpdToggleOverstrike().
|
inherited |
Return TRUE if position pos is selected.
Definition at line 1112 of file MFXTextFieldIcon.cpp.
References myAnchorPosition, and myCursorPosition.
|
inherited |
Return TRUE if position is fully visible.
Definition at line 1102 of file MFXTextFieldIcon.cpp.
|
virtualinherited |
Remove the focus from this window.
Definition at line 453 of file MFXTextFieldIcon.cpp.
References contents.
|
inherited |
Unselect the text.
Definition at line 2141 of file MFXTextFieldIcon.cpp.
Referenced by onCmdDeleteAll(), onCmdDeleteSel(), onCmdDeselectAll(), onCmdInsertString(), onCmdOverstString(), onLeftBtnPress(), setIcon(), and setText().
|
virtualinherited |
Perform layout.
Definition at line 923 of file MFXTextFieldIcon.cpp.
References contents, makePositionVisible(), myCursorPosition, myFont, and myShiftAmount.
Referenced by onCmdBackspace(), onCmdDelete(), onCmdDeleteAll(), onCmdDeleteSel(), onCmdInsertString(), onCmdOverstString(), setIcon(), setNumColumns(), and setText().
|
protectedinherited |
left word
Definition at line 1436 of file MFXTextFieldIcon.cpp.
References contents, isdelimiter(), and myTextDelimiter.
Referenced by onCmdCursorWordLeft().
|
inherited |
Scroll text to make the given position visible.
Definition at line 977 of file MFXTextFieldIcon.cpp.
References contents, myFont, and myShiftAmount.
Referenced by layout(), onCmdBackspace(), onCmdCursorEnd(), onCmdCursorHome(), onCmdCursorLeft(), onCmdCursorRight(), onCmdCursorWordEnd(), onCmdCursorWordLeft(), onCmdCursorWordRight(), onCmdCursorWordStart(), onCmdDelete(), onCmdDeleteAll(), onCmdDeleteSel(), onCmdInsertString(), onCmdOverstString(), onCmdSelectAll(), onLeftBtnPress(), and onMiddleBtnPress().
|
inherited |
Definition at line 684 of file MFXTextFieldIcon.cpp.
References contents, drawCursor(), extendSelection(), index(), myCursorPosition, myFont, and myShiftAmount.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 389 of file MFXTextFieldIcon.cpp.
References drawCursor().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 325 of file MFXTextFieldIcon.cpp.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 332 of file MFXTextFieldIcon.cpp.
References myClippedText.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 341 of file MFXTextFieldIcon.cpp.
References myClippedText.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1826 of file MFXTextFieldIcon.cpp.
References contents, isEditable(), layout(), makePositionVisible(), myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1615 of file MFXTextFieldIcon.cpp.
References contents, myAnchorPosition, myClippedText, and myCursorPosition.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1405 of file MFXTextFieldIcon.cpp.
References contents, makePositionVisible(), myCursorPosition, and setCursorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1397 of file MFXTextFieldIcon.cpp.
References makePositionVisible(), and setCursorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1422 of file MFXTextFieldIcon.cpp.
References contents, makePositionVisible(), myCursorPosition, and setCursorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1413 of file MFXTextFieldIcon.cpp.
References contents, makePositionVisible(), myCursorPosition, and setCursorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1553 of file MFXTextFieldIcon.cpp.
References makePositionVisible(), myCursorPosition, setCursorPos(), and wordEnd().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1537 of file MFXTextFieldIcon.cpp.
References leftWord(), makePositionVisible(), myCursorPosition, and setCursorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1529 of file MFXTextFieldIcon.cpp.
References makePositionVisible(), myCursorPosition, rightWord(), and setCursorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1545 of file MFXTextFieldIcon.cpp.
References makePositionVisible(), myCursorPosition, setCursorPos(), and wordStart().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1590 of file MFXTextFieldIcon.cpp.
References contents, isEditable(), myAnchorPosition, myClippedText, and myCursorPosition.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1846 of file MFXTextFieldIcon.cpp.
References contents, isEditable(), layout(), makePositionVisible(), myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1733 of file MFXTextFieldIcon.cpp.
References contents, isEditable(), killSelection(), layout(), makePositionVisible(), setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1708 of file MFXTextFieldIcon.cpp.
References contents, isEditable(), killSelection(), layout(), makePositionVisible(), myAnchorPosition, myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1583 of file MFXTextFieldIcon.cpp.
References killSelection().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1568 of file MFXTextFieldIcon.cpp.
References extendSelection(), and myCursorPosition.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 479 of file MFXTextFieldIcon.cpp.
References getHelpText().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 554 of file MFXTextFieldIcon.cpp.
References contents.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 561 of file MFXTextFieldIcon.cpp.
References contents.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 568 of file MFXTextFieldIcon.cpp.
References getText().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 493 of file MFXTextFieldIcon.cpp.
References getTipText().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1789 of file MFXTextFieldIcon.cpp.
References contents, isEditable(), killSelection(), layout(), makePositionVisible(), myAnchorPosition, myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1561 of file MFXTextFieldIcon.cpp.
References myCursorPosition, and setAnchorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1753 of file MFXTextFieldIcon.cpp.
References contents, isEditable(), killSelection(), layout(), makePositionVisible(), myAnchorPosition, myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1674 of file MFXTextFieldIcon.cpp.
References isEditable().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1635 of file MFXTextFieldIcon.cpp.
References isEditable().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1575 of file MFXTextFieldIcon.cpp.
References makePositionVisible(), myCursorPosition, and selectAll().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 472 of file MFXTextFieldIcon.cpp.
References setHelpText().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 533 of file MFXTextFieldIcon.cpp.
References setText().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 540 of file MFXTextFieldIcon.cpp.
References setText().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 547 of file MFXTextFieldIcon.cpp.
References setText().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 486 of file MFXTextFieldIcon.cpp.
References setTipText().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 526 of file MFXTextFieldIcon.cpp.
References setText().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 811 of file MFXTextFieldIcon.cpp.
References isEditable(), and setEditable().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 795 of file MFXTextFieldIcon.cpp.
References isOverstrike(), and setOverstrike().
Referenced by FXDEFMAP().
|
inherited |
fox callbacks
Definition at line 1326 of file MFXTextFieldIcon.cpp.
References contents, getTipText(), myFont, myStaticToolTip, myToolTipText, setHelpText(), and setTipText().
Referenced by FXDEFMAP().
| long MFXTextFieldSearch::onFocusIn | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr ) |
focus in
Definition at line 105 of file MFXTextFieldSearch.cpp.
References MFXTextFieldIcon::onFocusIn().
Referenced by FXDEFMAP().
| long MFXTextFieldSearch::onFocusOut | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr ) |
focus out
Definition at line 113 of file MFXTextFieldSearch.cpp.
References MFXTextFieldIcon::onFocusOut().
Referenced by FXDEFMAP().
| long MFXTextFieldSearch::onFocusSelf | ( | FXObject * | sender, |
| FXSelector | sel, | ||
| void * | ptr ) |
focus self
Definition at line 121 of file MFXTextFieldSearch.cpp.
References MFXTextFieldIcon::onFocusSelf().
Referenced by FXDEFMAP().
| long MFXTextFieldSearch::onKeyPress | ( | FXObject * | obj, |
| FXSelector | sel, | ||
| void * | ptr ) |
key press
Definition at line 61 of file MFXTextFieldSearch.cpp.
References MID_MTEXTFIELDSEARCH_UPDATED, myTarget, and MFXTextFieldIcon::onKeyPress().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 2095 of file MFXTextFieldIcon.cpp.
References FALLTHROUGH, KEY_a, KEY_c, KEY_v, and KEY_x.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1349 of file MFXTextFieldIcon.cpp.
References myStaticToolTip.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 575 of file MFXTextFieldIcon.cpp.
References contents, extendSelection(), index(), killSelection(), makePositionVisible(), myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 608 of file MFXTextFieldIcon.cpp.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 622 of file MFXTextFieldIcon.cpp.
References index(), makePositionVisible(), myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 643 of file MFXTextFieldIcon.cpp.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 656 of file MFXTextFieldIcon.cpp.
References drawCursor(), extendSelection(), index(), myCursorPosition, and myStaticToolTip.
Referenced by FXDEFMAP().
| long MFXTextFieldSearch::onPaint | ( | FXObject * | obj, |
| FXSelector | sel, | ||
| void * | ptr ) |
paint
Definition at line 68 of file MFXTextFieldSearch.cpp.
References MFXTextFieldIcon::contents, MFXTextFieldIcon::coord(), drawSearchTextRange(), MFXTextFieldIcon::drawTextRange(), ICON_SIZE, ICON_SPACING, MFXTextFieldIcon::myCursorColor, MFXTextFieldIcon::myCursorPosition, MFXTextFieldIcon::myIcon, and TL.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 513 of file MFXTextFieldIcon.cpp.
References myHelpText.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 500 of file MFXTextFieldIcon.cpp.
References myTooltipText.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 246 of file MFXTextFieldIcon.cpp.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 254 of file MFXTextFieldIcon.cpp.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 262 of file MFXTextFieldIcon.cpp.
References contents, myAnchorPosition, and myCursorPosition.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 229 of file MFXTextFieldIcon.cpp.
References disable().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 827 of file MFXTextFieldIcon.cpp.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 834 of file MFXTextFieldIcon.cpp.
References contents.
Referenced by FXDEFMAP().
|
inherited |
Definition at line 818 of file MFXTextFieldIcon.cpp.
References isEditable().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 802 of file MFXTextFieldIcon.cpp.
References isOverstrike().
Referenced by FXDEFMAP().
|
inherited |
Definition at line 1866 of file MFXTextFieldIcon.cpp.
References myVisibleColumns.
Referenced by FXDEFMAP().
|
protectedinherited |
right word
Definition at line 1462 of file MFXTextFieldIcon.cpp.
References contents, isdelimiter(), and myTextDelimiter.
Referenced by onCmdCursorWordRight().
|
inherited |
Select all text.
Definition at line 2152 of file MFXTextFieldIcon.cpp.
References contents, extendSelection(), myCursorPosition, setAnchorPos(), and setCursorPos().
Referenced by onCmdSelectAll().
|
inherited |
Change anchor position.
Definition at line 860 of file MFXTextFieldIcon.cpp.
References contents, and myAnchorPosition.
Referenced by onCmdBackspace(), onCmdDelete(), onCmdDeleteAll(), onCmdDeleteSel(), onCmdInsertString(), onCmdMark(), onCmdOverstString(), onLeftBtnPress(), onMiddleBtnPress(), selectAll(), and setSelection().
|
inherited |
Changes the cursor color.
Definition at line 2271 of file MFXTextFieldIcon.cpp.
References myCursorColor.
|
inherited |
Set cursor position.
Definition at line 841 of file MFXTextFieldIcon.cpp.
References contents, drawCursor(), isEditable(), and myCursorPosition.
Referenced by onCmdBackspace(), onCmdCursorEnd(), onCmdCursorHome(), onCmdCursorLeft(), onCmdCursorRight(), onCmdCursorWordEnd(), onCmdCursorWordLeft(), onCmdCursorWordRight(), onCmdCursorWordStart(), onCmdDelete(), onCmdDeleteAll(), onCmdDeleteSel(), onCmdInsertString(), onCmdOverstString(), onLeftBtnPress(), onMiddleBtnPress(), selectAll(), and setSelection().
|
inherited |
Change word delimiters.
Definition at line 2381 of file MFXTextFieldIcon.cpp.
References myTextDelimiter.
|
inherited |
Set editable mode.
Definition at line 2314 of file MFXTextFieldIcon.cpp.
Referenced by onCmdToggleEditable().
|
virtualinherited |
Move the focus to this window.
Definition at line 442 of file MFXTextFieldIcon.cpp.
|
inherited |
|
inherited |
Set the status line help text for this label.
Definition at line 2393 of file MFXTextFieldIcon.cpp.
References myHelpText.
Referenced by onCmdSetHelp(), and onEnter().
|
inherited |
Change the icon.
Definition at line 2214 of file MFXTextFieldIcon.cpp.
References contents, killSelection(), layout(), myAnchorPosition, myCursorPosition, and myIcon.
|
inherited |
Change text justification mode.
Definition at line 2362 of file MFXTextFieldIcon.cpp.
References JUSTIFY_MASK, and myShiftAmount.
|
inherited |
Change the default width of the text field.
Definition at line 2286 of file MFXTextFieldIcon.cpp.
References layout(), myShiftAmount, and myVisibleColumns.
|
inherited |
Set overstrike mode.
Definition at line 2332 of file MFXTextFieldIcon.cpp.
Referenced by onCmdToggleOverstrike().
|
inherited |
Change selected background color.
Definition at line 2247 of file MFXTextFieldIcon.cpp.
References mySelectedBackgroundColor.
|
inherited |
Select len characters starting at given position pos.
Definition at line 2161 of file MFXTextFieldIcon.cpp.
References extendSelection(), myCursorPosition, setAnchorPos(), and setCursorPos().
|
inherited |
Change selected text color.
Definition at line 2256 of file MFXTextFieldIcon.cpp.
References mySelectedTextColor.
|
inherited |
Change the text and move cursor to end.
Definition at line 2197 of file MFXTextFieldIcon.cpp.
References contents, killSelection(), layout(), myAnchorPosition, and myCursorPosition.
Referenced by onCmdSetIntValue(), onCmdSetRealValue(), onCmdSetStringValue(), onCmdSetValue(), and GNETLSTable::testTable().
|
inherited |
|
inherited |
Change text style.
Definition at line 2342 of file MFXTextFieldIcon.cpp.
References myShiftAmount, and TEXTFIELD_MASK.
|
inherited |
Set the tool tip message for this text field.
Definition at line 2405 of file MFXTextFieldIcon.cpp.
References myTooltipText.
Referenced by onCmdSetTip(), and onEnter().
|
inherited |
|
protectedinherited |
word end
Definition at line 1509 of file MFXTextFieldIcon.cpp.
References contents, isdelimiter(), and myTextDelimiter.
Referenced by onCmdCursorWordEnd().
|
protectedinherited |
word start
Definition at line 1488 of file MFXTextFieldIcon.cpp.
References contents, isdelimiter(), and myTextDelimiter.
Referenced by onCmdCursorWordStart().
|
protectedinherited |
Edited text.
Definition at line 274 of file MFXTextFieldIcon.h.
Referenced by coord(), drawCursor(), drawPWDTextFragment(), drawTextFragment(), drawTextRange(), extendSelection(), getText(), index(), isPosVisible(), killFocus(), layout(), leftWord(), makePositionVisible(), onAutoScroll(), onCmdBackspace(), onCmdCopySel(), onCmdCursorEnd(), onCmdCursorLeft(), onCmdCursorRight(), onCmdCutSel(), onCmdDelete(), onCmdDeleteAll(), onCmdDeleteSel(), onCmdGetIntValue(), onCmdGetRealValue(), onCmdInsertString(), onCmdOverstString(), onEnter(), onKeyPress(), onLeftBtnPress(), onPaint(), MFXTextFieldSearch::onPaint(), onSelectionRequest(), onUpdSelectAll(), rightWord(), selectAll(), setAnchorPos(), setCursorPos(), setIcon(), setText(), wordEnd(), and wordStart().
|
protectedinherited |
Anchor position.
Definition at line 298 of file MFXTextFieldIcon.h.
Referenced by drawCursor(), MFXTextFieldSearch::drawSearchTextRange(), drawTextRange(), extendSelection(), getAnchorPos(), isPosSelected(), onCmdCopySel(), onCmdCutSel(), onCmdDeleteSel(), onCmdInsertString(), onCmdOverstString(), onSelectionRequest(), setAnchorPos(), setIcon(), and setText().
|
protectedinherited |
Clipped text.
Definition at line 307 of file MFXTextFieldIcon.h.
Referenced by onClipboardLost(), onClipboardRequest(), onCmdCopySel(), and onCmdCutSel().
|
protectedinherited |
Color of the Cursor.
Definition at line 292 of file MFXTextFieldIcon.h.
Referenced by drawCursor(), getCursorColor(), MFXTextFieldIcon(), onPaint(), MFXTextFieldSearch::onPaint(), and setCursorColor().
|
protectedinherited |
Cursor position.
Definition at line 295 of file MFXTextFieldIcon.h.
Referenced by drawCursor(), MFXTextFieldSearch::drawSearchTextRange(), drawTextRange(), getCursorPos(), isPosSelected(), layout(), onAutoScroll(), onCmdBackspace(), onCmdCopySel(), onCmdCursorEnd(), onCmdCursorLeft(), onCmdCursorRight(), onCmdCursorWordEnd(), onCmdCursorWordLeft(), onCmdCursorWordRight(), onCmdCursorWordStart(), onCmdCutSel(), onCmdDelete(), onCmdDeleteSel(), onCmdExtend(), onCmdInsertString(), onCmdMark(), onCmdOverstString(), onCmdSelectAll(), onLeftBtnPress(), onMiddleBtnPress(), onMotion(), onPaint(), MFXTextFieldSearch::onPaint(), onSelectionRequest(), selectAll(), setCursorPos(), setIcon(), setSelection(), and setText().
|
protectedinherited |
Text font.
Definition at line 280 of file MFXTextFieldIcon.h.
Referenced by coord(), create(), drawPWDTextFragment(), MFXTextFieldSearch::drawSearchTextRange(), drawTextFragment(), drawTextRange(), getDefaultHeight(), getDefaultWidth(), getFont(), index(), layout(), makePositionVisible(), MFXTextFieldIcon(), MFXTextFieldIcon(), onAutoScroll(), onEnter(), setFont(), and ~MFXTextFieldIcon().
|
protectedinherited |
Help string.
Definition at line 310 of file MFXTextFieldIcon.h.
Referenced by getHelpText(), onQueryHelp(), and setHelpText().
|
protectedinherited |
myIcon
Definition at line 316 of file MFXTextFieldIcon.h.
Referenced by drawCursor(), drawTextRange(), MFXTextFieldIcon(), onPaint(), MFXTextFieldSearch::onPaint(), and setIcon().
|
protectedinherited |
Selected background color.
Definition at line 286 of file MFXTextFieldIcon.h.
Referenced by drawTextRange(), getSelBackColor(), MFXTextFieldIcon(), and setSelBackColor().
|
protectedinherited |
Selected text color.
Definition at line 289 of file MFXTextFieldIcon.h.
Referenced by drawTextRange(), getSelTextColor(), MFXTextFieldIcon(), and setSelTextColor().
|
protectedinherited |
Shift amount.
Definition at line 304 of file MFXTextFieldIcon.h.
Referenced by coord(), MFXTextFieldSearch::drawSearchTextRange(), drawTextRange(), index(), layout(), makePositionVisible(), onAutoScroll(), setJustify(), setNumColumns(), and setTextStyle().
|
protectedinherited |
static tooltip
Definition at line 319 of file MFXTextFieldIcon.h.
Referenced by MFXTextFieldIcon(), onEnter(), onLeave(), and onMotion().
|
private |
target
Definition at line 60 of file MFXTextFieldSearch.h.
Referenced by MFXTextFieldSearch(), and onKeyPress().
|
protectedinherited |
Text color.
Definition at line 283 of file MFXTextFieldIcon.h.
Referenced by drawTextRange(), getTextColor(), MFXTextFieldIcon(), and setTextColor().
|
protectedinherited |
Set of text delimiter.
Definition at line 277 of file MFXTextFieldIcon.h.
Referenced by getDelimiters(), leftWord(), rightWord(), setDelimiters(), wordEnd(), and wordStart().
|
protectedinherited |
toolTip text (if set, tooltip will be always show)
Definition at line 322 of file MFXTextFieldIcon.h.
Referenced by onEnter(), and setToolTipText().
|
protectedinherited |
Tooltip.
Definition at line 313 of file MFXTextFieldIcon.h.
Referenced by getTipText(), onQueryTip(), and setTipText().
|
protectedinherited |
Number of myVisibleColumns visible.
Definition at line 301 of file MFXTextFieldIcon.h.
Referenced by getDefaultWidth(), getNumColumns(), MFXTextFieldIcon(), onVerify(), and setNumColumns().