Spec-Zone .ru
спецификации, руководства, описания, API
|
E
- the type of the Set
elementspublic abstract class ReadOnlySetProperty<E> extends SetExpression<E> implements ReadOnlyProperty<ObservableSet<E>>
ObservableSet
.ObservableSet
,
ObservableSetValue
,
SetExpression
,
ReadOnlyProperty
empty, size
Constructor and Description |
---|
ReadOnlySetProperty()
The constructor of
ReadOnlySetProperty . |
Modifier and Type | Method and Description |
---|---|
void |
bindContent(ObservableSet<E> set)
Creates a content binding between the
ObservableSet , that is
wrapped in this ReadOnlySetProperty , and another ObservableSet . |
void |
bindContentBidirectional(ObservableSet<E> set)
Creates a bidirectional content binding of the
ObservableSet , that is
wrapped in this ReadOnlySetProperty , and another ObservableSet . |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
hashCode()
Returns a hash code for this
ReadOnlySetProperty object. |
java.lang.String |
toString()
Returns a string representation of this
ReadOnlySetProperty object. |
void |
unbindContent(java.lang.Object object)
Deletes a content binding between the
ObservableSet , that is
wrapped in this ReadOnlySetProperty , and another Object . |
void |
unbindContentBidirectional(java.lang.Object object)
Deletes a bidirectional content binding between the
ObservableSet , that is
wrapped in this ReadOnlySetProperty , and another Object . |
add, addAll, asString, clear, contains, containsAll, emptyProperty, getSize, getValue, isEmpty, isEqualTo, isNotEqualTo, isNotNull, isNull, iterator, remove, removeAll, retainAll, setExpression, size, sizeProperty, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBean, getName
addListener, getValue, removeListener
addListener, removeListener
get
addListener, removeListener
public ReadOnlySetProperty()
ReadOnlySetProperty
.public void bindContentBidirectional(ObservableSet<E> set)
ObservableSet
, that is
wrapped in this ReadOnlySetProperty
, and another ObservableSet
.
A bidirectional content binding ensures that the content of two ObservableSets
is the
same. If the content of one of the sets changes, the other one will be updated automatically.
set
- the ObservableSet
this property should be bound tojava.lang.NullPointerException
- if set
is null
java.lang.IllegalArgumentException
- if set
is the same set that this ReadOnlySetProperty
points topublic void unbindContentBidirectional(java.lang.Object object)
ObservableSet
, that is
wrapped in this ReadOnlySetProperty
, and another Object
.object
- the Object
to which the bidirectional binding should be removedjava.lang.NullPointerException
- if object
is null
java.lang.IllegalArgumentException
- if object
is the same set that this ReadOnlySetProperty
points topublic void bindContent(ObservableSet<E> set)
ObservableSet
, that is
wrapped in this ReadOnlySetProperty
, and another ObservableSet
.
A content binding ensures that the content of the wrapped ObservableSets
is the
same as that of the other set. If the content of the other set changes, the wrapped set will be updated
automatically. Once the wrapped set is bound to another set, you must not change it directly.
set
- the ObservableSet
this property should be bound tojava.lang.NullPointerException
- if set
is null
java.lang.IllegalArgumentException
- if set
is the same set that this ReadOnlySetProperty
points topublic void unbindContent(java.lang.Object object)
ObservableSet
, that is
wrapped in this ReadOnlySetProperty
, and another Object
.object
- the Object
to which the binding should be removedjava.lang.NullPointerException
- if object
is null
java.lang.IllegalArgumentException
- if object
is the same set that this ReadOnlySetProperty
points topublic boolean equals(java.lang.Object obj)
public int hashCode()
ReadOnlySetProperty
object.public java.lang.String toString()
ReadOnlySetProperty
object.toString
in class java.lang.Object
ReadOnlySetProperty
object.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to