Spec-Zone .ru
спецификации, руководства, описания, API
|
T
- the type of the wrapped valuepublic interface Property<T> extends ReadOnlyProperty<T>, WritableValue<T>
Modifier and Type | Method and Description |
---|---|
void |
bind(ObservableValue<? extends T> observable)
Create a unidirection binding for this
Property . |
void |
bindBidirectional(Property<T> other)
Create a bidirectional binding between this
Property and another
one. |
boolean |
isBound()
Can be used to check, if a
Property is bound. |
void |
unbind()
Remove the unidirectional binding for this
Property . |
void |
unbindBidirectional(Property<T> other)
Remove a bidirectional binding between this
Property and another
one. |
getBean, getName
addListener, getValue, removeListener
addListener, removeListener
getValue, setValue
void bind(ObservableValue<? extends T> observable)
Property
.observable
- The observable this Property
should be bound to.java.lang.NullPointerException
- if observable
is null
void unbind()
Property
.
If the Property
is not bound, calling this method has no effect.boolean isBound()
Property
is bound.true
if the Property
is bound, false
otherwisevoid bindBidirectional(Property<T> other)
Property
and another
one.other
- the other Property
java.lang.NullPointerException
- if other
is null
java.lang.IllegalArgumentException
- if other
is this
void unbindBidirectional(Property<T> other)
Property
and another
one.
If no bidirectional binding between the properties exists, calling this
method has no effect.other
- the other Property
java.lang.NullPointerException
- if other
is null
java.lang.IllegalArgumentException
- if other
is this
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to