Interface TextInputControl.Content
- All Superinterfaces:
- Observable,- ObservableObjectValue<String>,- ObservableStringValue,- ObservableValue<String>
- Enclosing class:
- TextInputControl
Interface representing a text input's content. Since it is an ObservableStringValue,
 you can also bind to, or observe the content.
- Since:
- JavaFX 2.0
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete(int start, int end, boolean notifyListeners) Removes a sequence of characters from the content.get(int start, int end) Retrieves a subset of the content.voidInserts a sequence of characters into the content.intlength()Returns the number of characters represented by the content.Methods declared in interface javafx.beans.ObservableaddListener, removeListener, subscribeMethods declared in interface javafx.beans.value.ObservableObjectValuegetMethods declared in interface javafx.beans.value.ObservableValueaddListener, flatMap, getValue, map, orElse, removeListener, subscribe, subscribe, when
- 
Method Details- 
getRetrieves a subset of the content.- Parameters:
- start- the start
- end- the end
- Returns:
- a subset of the content
 
- 
insertInserts a sequence of characters into the content.- Parameters:
- index- the index
- text- the text string
- notifyListeners- the notify listener flag
- Since:
- JavaFX 2.1
 
- 
deletevoid delete(int start, int end, boolean notifyListeners) Removes a sequence of characters from the content.- Parameters:
- start- the start
- end- the end
- notifyListeners- the notify listener flag
- Since:
- JavaFX 2.1
 
- 
lengthint length()Returns the number of characters represented by the content.- Returns:
- the number of characters
 
 
-