Package org.loboevolution.html.dom.input
Class InputText
java.lang.Object
org.loboevolution.html.dom.input.BasicInput
org.loboevolution.html.dom.input.InputText
- All Implemented Interfaces:
FocusListener
,KeyListener
,MouseListener
,EventListener
,CaretListener
- Direct Known Subclasses:
InputNumber
InputText class.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInputText
(HTMLInputElementImpl modelNode, InputControl ic) Constructor for InputText. -
Method Summary
Modifier and TypeMethodDescriptionvoid
blur()
blur.void
focus()
focus.void
reset()
reset.void
selectAll.void
setRangeText
(int start, int end, String text) setRangeText.void
setSelectionRange
(int start, int end) setSelectionRange.void
setText.Methods inherited from class org.loboevolution.html.dom.input.BasicInput
caretUpdate, focusGained, focusLost, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
-
Field Details
-
iText
-
-
Constructor Details
-
InputText
Constructor for InputText.
- Parameters:
modelNode
- aHTMLInputElementImpl
object.ic
- aInputControl
object.
-
-
Method Details
-
selectAll
public void selectAll()selectAll.
-
focus
public void focus()focus.
-
blur
public void blur()blur.
-
setSelectionRange
public void setSelectionRange(int start, int end) setSelectionRange.
-
reset
public void reset()reset.
-
setText
setText.
- Parameters:
value
- aString
object.
-
setRangeText
setRangeText.
-