private class Stage.ResizableProperty extends SimpleBooleanProperty
Modifier and Type | Field and Description |
---|---|
private boolean |
noInvalidate |
Constructor and Description |
---|
ResizableProperty() |
Modifier and Type | Method and Description |
---|---|
void |
bind(ObservableValue<? extends java.lang.Boolean> rawObservable)
Create a unidirection binding for this
Property . |
protected void |
invalidated()
The method
invalidated() can be overridden to receive
invalidation notifications. |
(package private) void |
setNoInvalidate(boolean value) |
getBean, getName
addListener, addListener, fireValueChangedEvent, get, isBound, removeListener, removeListener, set, toString, unbind
asObject, bindBidirectional, booleanProperty, setValue, unbindBidirectional
readOnlyBooleanProperty
and, asString, booleanExpression, booleanExpression, getValue, isEqualTo, isNotEqualTo, not, or
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue
getValue
void setNoInvalidate(boolean value)
protected void invalidated()
BooleanPropertyBase
invalidated()
can be overridden to receive
invalidation notifications. This is the preferred option in
Objects
defining the property, because it requires less memory.
The default implementation is empty.invalidated
in class BooleanPropertyBase
public void bind(ObservableValue<? extends java.lang.Boolean> rawObservable)
BooleanPropertyBase
Property
.
Note that JavaFX has all the bind calls implemented through weak listeners. This means the bound property can be garbage collected and stopped from being updated. Note:
bind
in interface Property<java.lang.Boolean>
bind
in class BooleanPropertyBase
rawObservable
- The observable this Property
should be bound to.