ui
tkui
MTextField
MTextField.ui::TextField
MFloatParam.ui::FloatParam
MStatusBar.ui::StatusBar
MStringDialog.ui::StringDialogTextField
MTextFieldIncDec.ui::TextFieldIncDec
anchorSelection(int idx)
-
beginXFMTag(ui::AbstractXMLForm form, HashTable attributes) : int
-
blockMouseDrag() : int
-
calcSizeX() : float
-
calcSizeY() : float
-
consumeAction(ui::Action ac) : int
-
copySelection()
-
cutSelection()
-
deleteChar()
-
deleteSelection()
-
expandSelectionToEnd()
-
expandSelectionToHome()
-
expandSelectionToNextChar()
-
expandSelectionToNextWord()
-
expandSelectionToPreviousChar()
-
expandSelectionToPreviousWord()
-
getDisplayedText() : String
-
getEnableRightAlign() : int
-
getFloatFraction() : float
- Interpret string as single float or float fraction (e.g. 1/3) and return float value
getFloatValue() : float
-
getFont() : ui::Font
-
getIntValue() : int
-
getMaxTextLength() : int
- Query the maximum text length (in chars)
getProvidedActionNames() : StringArray
-
getSelectionEnd() : int
- Query the index of the last char in the current selection.
getSelectionStart() : int
- Query the index of the first char in the current selection.
getText() : String
- Returns a copy of the current text value.
getTextReference() : String
- Return reference to text String.
getVisibleTextLength() : int
-
handleTextChanged()
-
handleTextEdited()
-
handleTextEntered()
-
handleTextUnchanged()
-
haveSelection() : int
-
initTextField()
-
insertChar(int c)
-
isMouseFocusLocked() : int
-
isTabCycleMember() : int
-
killUntilEnd()
-
lazyInitFont()
-
lazyStartEditing()
-
moveCursorEnd()
-
moveCursorEndOfWord()
-
moveCursorHome()
-
moveCursorLeft()
-
moveCursorPageLeft()
-
moveCursorPageRight()
-
moveCursorRight()
-
moveCursorStartOfWord()
-
moveCursorTo(int index)
-
onDraw()
-
onKey(Key k) : int
-
onKeyboardFocus()
-
onKeyboardFocusLost(int bQuiet)
-
onLookAndFeelChanged()
-
onMouse(ui::MouseEvent ev) : int
-
onMouseClick(ui::MouseEvent ev) : int
-
onMouseDoubleClick(ui::MouseEvent ev) : int
-
onMouseEnter(ui::MouseEvent ev)
-
onMouseFocus()
-
onMouseHold(ui::MouseEvent ev) : int
-
onMouseLeave(ui::MouseEvent ev)
-
onMouseUnfocus()
-
onTabFocus()
-
pasteMouseSelection()
-
pasteSelection()
-
pasteString(String s)
-
restartCaretTimer()
-
selectAll()
-
selectNone()
-
selectWord() : int
-
setBackgroundColor(int bgColor)
-
setBackgroundTint(int bgColor)
-
setCharFilter(Object filter)
- Set unicode character filter (or null to disable filtering)
setCursorAndSelectionStartByPixel(float mouseX)
-
setCursorByPixel(float mouseX)
-
setDefaultInnerPadding()
-
setEditable(int bEditable)
-
setEnableRightAlign(int bRightAlign)
-
setFont(ui::Font font)
-
setFontByName(String fontName)
-
setForegroundColor(int fgColor)
-
setHexValue(int val)
-
setInnerPadBottom(float bottom)
-
setInnerPadding4f(float top, left, bottom, right)
- Set the distance between borders and the actual text area
setInnerPadLeft(float left)
-
setInnerPadRight(float right)
-
setInnerPadTop(float top)
-
setMaxTextLength(int length)
- Set the maximum text length (in chars)
setSelection(int startIndex, endIndex)
- Set the current selection.
setSelectionEndByPixel(float mouseX)
-
setText(String text)
- Set the current text value. This will create a copy of the given _text String.
setTextReference(String textRef)
- Set text string by reference.
setToolTipCaption(String text)
-
setVisibleTextLength(int length)
-
startCaretTimer()
-
startEditing()
-
stopEditing(int bProvideAction, bReturnKey, bQuiet)
-
undo()
-
updateInnerLayout()
-
wantTriadKeyMode() : int
-
wasEdited() : int
- String
ACTION_STARTEDITING
-
String
ACTION_STOPEDITING
-
String
ACTION_TEXTCHANGED
-
String
ACTION_TEXTEDITED
-
String
ACTION_TEXTENTERED
-
String
ACTION_TEXTUNCHANGED
-
int
DEFAULT_MAX_TEXT_LENGTH
-
int
DEFAULT_VISIBLE_TEXT_LENGTH
-
String
DELEGATE_ONMOUSERIGHTCLICK
-
String
DELEGATE_ONMOUSEWHEELDOWN
-
String
DELEGATE_ONMOUSEWHEELUP
-
int
MAX_SIZE_X
-
int
MIN_SIZE_X
-
int
MIN_SIZE_Y
-
int
MIN_WIDTH_FOR_PAGING
-
int
MOUSE_TO_CURSOR_H_CORRECT
-
int
NO_ANCHOR
-
int
PAGING_AMOUNT
-
Method anchorSelection | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method beginXFMTag | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Method blockMouseDrag | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method calcSizeX | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method calcSizeY | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method consumeAction | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Method copySelection | |||
Signature | |||
|
Method cutSelection | |||
Signature | |||
|
Method deleteChar | |||
Signature | |||
|
Method deleteSelection | |||
Signature | |||
|
Method expandSelectionToEnd | |||
Signature | |||
|
Method expandSelectionToHome | |||
Signature | |||
|
Method expandSelectionToNextChar | |||
Signature | |||
|
Method expandSelectionToNextWord | |||
Signature | |||
|
Method expandSelectionToPreviousChar | |||
Signature | |||
|
Method expandSelectionToPreviousWord | |||
Signature | |||
|
Method getEnableRightAlign | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getFloatFraction | |||||
Interpret string as single float or float fraction (e.g. 1/3) and return float value | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getFloatValue | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getIntValue | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getMaxTextLength | |||||
Query the maximum text length (in chars) | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getProvidedActionNames | |||||
Signature | |||||
| |||||
Returns | |||||
Method getSelectionEnd | |||||
Query the index of the last char in the current selection. | |||||
Signature | |||||
| |||||
Returns | |||||
| |||||
Description | |||||
Returns -1 if nothing has been selected. |
Method getSelectionStart | |||||
Query the index of the first char in the current selection. | |||||
Signature | |||||
| |||||
Returns | |||||
| |||||
Description | |||||
Returns -1 if nothing has been selected. |
Method getTextReference | |||||
Return reference to text String. | |||||
Signature | |||||
| |||||
Returns | |||||
Description | |||||
Please notice that the reference is only valid until this TextField control is deleted. |
Method getVisibleTextLength | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method handleTextChanged | |||
Signature | |||
|
Method handleTextEdited | |||
Signature | |||
|
Method handleTextEntered | |||
Signature | |||
|
Method handleTextUnchanged | |||
Signature | |||
|
Method haveSelection | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method initTextField | |||
Signature | |||
|
Method insertChar | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method isMouseFocusLocked | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isTabCycleMember | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method killUntilEnd | |||
Signature | |||
|
Method lazyInitFont | |||
Signature | |||
|
Method lazyStartEditing | |||
Signature | |||
|
Method moveCursorEnd | |||
Signature | |||
|
Method moveCursorEndOfWord | |||
Signature | |||
|
Method moveCursorHome | |||
Signature | |||
|
Method moveCursorLeft | |||
Signature | |||
|
Method moveCursorPageLeft | |||
Signature | |||
|
Method moveCursorPageRight | |||
Signature | |||
|
Method moveCursorRight | |||
Signature | |||
|
Method moveCursorStartOfWord | |||
Signature | |||
|
Method moveCursorTo | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method onDraw | |||
Signature | |||
|
Method onKeyboardFocus | |||
Signature | |||
|
Method onKeyboardFocusLost | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method onLookAndFeelChanged | |||
Signature | |||
|
Method onMouse | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
|
Method onMouseClick | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
|
Method onMouseDoubleClick | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
|
Method onMouseEnter | |||||
Signature | |||||
| |||||
Arguments | |||||
Method onMouseFocus | |||
Signature | |||
|
Method onMouseHold | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
|
Method onMouseLeave | |||||
Signature | |||||
| |||||
Arguments | |||||
Method onMouseUnfocus | |||
Signature | |||
|
Method onTabFocus | |||
Signature | |||
|
Method pasteMouseSelection | |||
Signature | |||
|
Method pasteSelection | |||
Signature | |||
|
Method restartCaretTimer | |||
Signature | |||
|
Method selectAll | |||
Signature | |||
|
Method selectNone | |||
Signature | |||
|
Method selectWord | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method setBackgroundColor | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setBackgroundTint | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setCharFilter | |||||
Set unicode character filter (or null to disable filtering) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setCursorAndSelectionStartByPixel | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setCursorByPixel | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setDefaultInnerPadding | |||
Signature | |||
|
Method setEditable | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setEnableRightAlign | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setForegroundColor | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setHexValue | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setInnerPadBottom | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setInnerPadding4f | |||||||||||||||||||||||||
Set the distance between borders and the actual text area | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Method setInnerPadLeft | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setInnerPadRight | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setInnerPadTop | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setMaxTextLength | |||||
Set the maximum text length (in chars) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setSelection | |||||||||||||||
Set the current selection. | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
| |||||||||||||||
Description | |||||||||||||||
The indices will be clipped to the available string length. |
Method setSelectionEndByPixel | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setText | |||||
Set the current text value. This will create a copy of the given _text String. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setTextReference | |||||
Set text string by reference. | |||||
Signature | |||||
| |||||
Arguments | |||||
| |||||
Description | |||||
This should be used with care since the _textReference is only valid as long as the variable which owns it is valid. It is useful to directly link fields of arbitrary datastructures to TextFields. |
Method setVisibleTextLength | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method startCaretTimer | |||
Signature | |||
|
Method startEditing | |||
Signature | |||
|
Method stopEditing | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Method undo | |||
Signature | |||
|
Method updateInnerLayout | |||
Signature | |||
|
Method wantTriadKeyMode | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method wasEdited | |||||
Signature | |||||
| |||||
Returns | |||||
|
Constant ACTION_STARTEDITING (String) | |
Constant ACTION_STOPEDITING (String) | |
Constant ACTION_TEXTCHANGED (String) | |
Constant ACTION_TEXTEDITED (String) | |
Constant ACTION_TEXTENTERED (String) | |
Constant ACTION_TEXTUNCHANGED (String) | |
Constant DEFAULT_MAX_TEXT_LENGTH (int) | |
Constant DEFAULT_VISIBLE_TEXT_LENGTH (int) | |
Constant DELEGATE_ONMOUSERIGHTCLICK (String) | |
Constant DELEGATE_ONMOUSEWHEELDOWN (String) | |
Constant DELEGATE_ONMOUSEWHEELUP (String) | |
Constant MAX_SIZE_X (int) | |
Constant MIN_SIZE_X (int) | |
Constant MIN_SIZE_Y (int) | |
Constant MIN_WIDTH_FOR_PAGING (int) | |
Constant MOUSE_TO_CURSOR_H_CORRECT (int) | |
Constant NO_ANCHOR (int) | |
Constant PAGING_AMOUNT (int) | |
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 14:27:06