public class ReadOnlyStringWrapper extends SimpleStringProperty
Constructor and Description |
---|
ReadOnlyStringWrapper()
The constructor of
ReadOnlyStringWrapper |
ReadOnlyStringWrapper(Object bean,
String name)
The constructor of
ReadOnlyStringWrapper |
ReadOnlyStringWrapper(Object bean,
String name,
String initialValue)
The constructor of
ReadOnlyStringWrapper |
ReadOnlyStringWrapper(String initialValue)
The constructor of
ReadOnlyStringWrapper |
Modifier and Type | Method and Description |
---|---|
protected void |
fireValueChangedEvent()
Sends notifications to all attached
InvalidationListeners and
ChangeListeners . |
ReadOnlyStringProperty |
getReadOnlyProperty()
Returns the readonly property, that is synchronized with this
ReadOnlyStringWrapper . |
getBean, getName
addListener, addListener, bind, get, invalidated, isBound, removeListener, removeListener, set, toString, unbind
bindBidirectional, bindBidirectional, bindBidirectional, setValue, unbindBidirectional, unbindBidirectional
concat, getValue, getValueSafe, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, isEmpty, isEqualTo, isEqualTo, isEqualToIgnoreCase, isEqualToIgnoreCase, isNotEmpty, isNotEqualTo, isNotEqualTo, isNotEqualToIgnoreCase, isNotEqualToIgnoreCase, isNotNull, isNull, length, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, stringExpression
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue
getValue
public ReadOnlyStringWrapper()
ReadOnlyStringWrapper
public ReadOnlyStringWrapper(String initialValue)
ReadOnlyStringWrapper
initialValue
- the initial value of the wrapped valuepublic ReadOnlyStringWrapper(Object bean, String name)
ReadOnlyStringWrapper
bean
- the bean of this ReadOnlyStringProperty
name
- the name of this ReadOnlyStringProperty
public ReadOnlyStringProperty getReadOnlyProperty()
ReadOnlyStringWrapper
.protected void fireValueChangedEvent()
InvalidationListeners
and
ChangeListeners
.
This method is called when the value is changed, either manually by
calling StringPropertyBase.set(java.lang.String)
or in case of a bound property, if the
binding becomes invalid.fireValueChangedEvent
in class StringPropertyBase
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.