Class ReadOnlyStringProperty
java.lang.Object
javafx.beans.binding.StringExpression
javafx.beans.property.ReadOnlyStringProperty
- All Implemented Interfaces:
Observable, ReadOnlyProperty<String>, ObservableObjectValue<String>, ObservableStringValue, ObservableValue<String>
- Direct Known Subclasses:
ReadOnlyStringPropertyBase, StringProperty
public abstract class ReadOnlyStringProperty
extends StringExpression
implements ReadOnlyProperty<String>
Superclass for all readonly properties wrapping an
String.- Since:
- JavaFX 2.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods declared in class StringExpression
concat, getValue, getValueSafe, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, isEmpty, isEqualTo, isEqualTo, isEqualToIgnoreCase, isEqualToIgnoreCase, isNotEmpty, isNotEqualTo, isNotEqualTo, isNotEqualToIgnoreCase, isNotEqualToIgnoreCase, isNotNull, isNull, length, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, stringExpressionModifier and TypeMethodDescriptionReturns aStringExpressionthat holds the value of thisStringExpressionconcatenated with anotherObject.getValue()Returns the current value of thisObservableValuefinal StringReturns usually the value of thisStringExpression.greaterThan(String other) Creates a newBooleanBindingthat holdstrueif thisStringExpressionis greater than a constant value.greaterThan(ObservableStringValue other) Creates a newBooleanBindingthat holdstrueif thisStringExpressionis greater than anotherObservableStringValue.greaterThanOrEqualTo(String other) Creates a newBooleanBindingthat holdstrueif thisStringExpressionis greater than or equal to a constant value.Creates a newBooleanBindingthat holdstrueif thisStringExpressionis greater than or equal to anotherObservableStringValue.isEmpty()isEqualTo(ObservableStringValue other) isEqualToIgnoreCase(String other) Creates a newBooleanBindingthat holdstrueif thisStringExpressionis equal to a constant value ignoring case.Creates a newBooleanBindingthat holdstrueif this and anotherObservableStringValueare equal ignoring case.isNotEqualTo(String other) Creates a newBooleanBindingthat holdstrueif thisStringExpressionis not equal to a constant value.Creates a newBooleanBindingthat holdstrueif this and anotherObservableStringValueare not equal.isNotEqualToIgnoreCase(String other) Creates a newBooleanBindingthat holdstrueif thisStringExpressionis not equal to a constant value ignoring case.Creates a newBooleanBindingthat holdstrueif this and anotherObservableStringValueare not equal ignoring case.isNull()length()Creates a newIntegerBindingthat holds the length of thisStringExpression.Creates a newBooleanBindingthat holdstrueif thisStringExpressionis less than a constant value.lessThan(ObservableStringValue other) Creates a newBooleanBindingthat holdstrueif thisStringExpressionis less than anotherObservableStringValue.lessThanOrEqualTo(String other) Creates a newBooleanBindingthat holdstrueif thisStringExpressionis less than or equal to a constant value.Creates a newBooleanBindingthat holdstrueif thisStringExpressionis less than or equal to anotherObservableStringValue.static StringExpressionstringExpression(ObservableValue<?> value) Returns aStringExpressionthat wraps aObservableValue.Methods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods declared in interface Observable
addListener, removeListener, subscribeModifier and TypeMethodDescriptionvoidaddListener(InvalidationListener listener) Adds anInvalidationListenerwhich will be notified whenever theObservablebecomes invalid.voidremoveListener(InvalidationListener listener) Removes the given listener from the list of listeners, that are notified whenever the value of theObservablebecomes invalid.default SubscriptionCreates aSubscriptionon thisObservablewhich callsinvalidationSubscriberwhenever it becomes invalid.Methods declared in interface ObservableObjectValue
getMethods declared in interface ObservableValue
addListener, flatMap, map, orElse, removeListener, subscribe, subscribe, whenModifier and TypeMethodDescriptionvoidaddListener(ChangeListener<? super String> listener) Adds aChangeListenerwhich will be notified whenever the value of theObservableValuechanges.default <U> ObservableValue<U> flatMap(Function<? super String, ? extends ObservableValue<? extends U>> mapper) Returns anObservableValuethat holds the value of anObservableValueproduced by applying the given mapping function on this value.default <U> ObservableValue<U> Returns anObservableValuethat holds the result of applying the given mapping function on this value.default ObservableValue<String> Returns anObservableValuethat holds this value, or the given constant if it isnull.voidremoveListener(ChangeListener<? super String> listener) Removes the given listener from the list of listeners that are notified whenever the value of theObservableValuechanges.default Subscriptionsubscribe(BiConsumer<? super String, ? super String> changeSubscriber) Creates aSubscriptionon thisObservableValuewhich calls the givenchangeSubscriberwith the old and new value whenever its value changes.default SubscriptionCreates aSubscriptionon thisObservableValuewhich immediately provides the current value to the givenvalueSubscriber, followed by any subsequent values whenever its value changes.default ObservableValue<String> when(ObservableValue<Boolean> condition) Returns anObservableValuethat holds this value and is updated only whenconditionholdstrue.
-
Constructor Details
-
ReadOnlyStringProperty
public ReadOnlyStringProperty()The constructor ofReadOnlyStringProperty.
-
-
Method Details
-
toString
-