Package de.bmiag.tapir.javafx.api
Interface TextField
-
- All Superinterfaces:
Displayable
,Enabable
,TapirElement
- All Known Implementing Classes:
DefaultJavaFXTextField
public interface TextField extends TapirElement, Enabable, Displayable
Marks an element as a text field.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getText()
Returns the displayed text of the text field.void
setText(java.lang.String text)
Sets the given text-
Methods inherited from interface de.bmiag.tapir.ui.api.Displayable
isDisplayed
-
-
-
-
Method Detail
-
getText
java.lang.String getText()
Returns the displayed text of the text field. If it is a multiline text, the lines are separated with a line break character (\n).- Returns:
- the field's text
- Since:
- 2.0.0
-
setText
void setText(java.lang.String text)
Sets the given text- Parameters:
text
- the text to be set- Since:
- 2.0.0
-
-