public class TextFieldBehavior extends TextInputControlBehavior<TextField>
TEXT_INPUT_BINDINGSIS_TOUCH_SUPPORTED, TRAVERSAL_BINDINGS| Constructor and Description |
|---|
TextFieldBehavior(TextField textField) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancelEdit(KeyEvent event) |
void |
contextMenuRequested(ContextMenuEvent e)
Invoked by a Skin when the control has had its context menu requested,
most commonly by right-clicking on the control.
|
protected void |
deleteChar(boolean previous)
Abstract methods *
|
protected void |
deleteFromLineStart() |
void |
dispose()
Disposal methods *
|
protected void |
fire(KeyEvent event) |
protected void |
mouseDoubleClick(HitInfo hit) |
void |
mouseDragged(MouseEvent e)
Invoked by a Skin when the body of the control has been dragged by
the mouse.
|
void |
mousePressed(MouseEvent e)
Invoked by a Skin when the body of the control has been pressed by
the mouse.
|
void |
mouseReleased(MouseEvent e)
Invoked by a Skin when the body of the control has been released by
the mouse.
|
protected void |
mouseSingleClick(HitInfo hit) |
protected void |
mouseTripleClick(HitInfo hit) |
protected void |
replaceText(int start,
int end,
String txt) |
protected void |
setCaretAnimating(boolean play) |
void |
setTextFieldSkin(TextFieldSkin skin) |
callAction, callActionForEvent, deleteNextWord, deletePreviousWord, forwardToParent, isEditing, isMixed, isRTLText, nextWord, previousWord, scrollCharacterToVisible, selectNextWord, selectPreviousWord, selectWord, setEditingfocusChanged, getControl, matchActionForEvent, mouseEntered, mouseExited, traverse, traverseDown, traverseLeft, traverseNext, traversePrevious, traverseRight, traverseUppublic TextFieldBehavior(TextField textField)
public void dispose()
TextInputControlBehaviordispose in class TextInputControlBehavior<TextField>public void setTextFieldSkin(TextFieldSkin skin)
protected void fire(KeyEvent event)
fire in class TextInputControlBehavior<TextField>protected void cancelEdit(KeyEvent event)
cancelEdit in class TextInputControlBehavior<TextField>protected void deleteChar(boolean previous)
TextInputControlBehaviordeleteChar in class TextInputControlBehavior<TextField>protected void replaceText(int start,
int end,
String txt)
replaceText in class TextInputControlBehavior<TextField>protected void deleteFromLineStart()
deleteFromLineStart in class TextInputControlBehavior<TextField>protected void setCaretAnimating(boolean play)
setCaretAnimating in class TextInputControlBehavior<TextField>public void mousePressed(MouseEvent e)
BehaviorBasemousePressed in class BehaviorBase<TextField>e - the mouse eventpublic void mouseDragged(MouseEvent e)
BehaviorBasemouseDragged in class BehaviorBase<TextField>e - the mouse eventpublic void mouseReleased(MouseEvent e)
BehaviorBasemouseReleased in class BehaviorBase<TextField>e - the mouse eventpublic void contextMenuRequested(ContextMenuEvent e)
BehaviorBasecontextMenuRequested in class BehaviorBase<TextField>e - the context menu eventprotected void mouseSingleClick(HitInfo hit)
protected void mouseDoubleClick(HitInfo hit)
protected void mouseTripleClick(HitInfo hit)
Copyright © 2025. All rights reserved.