E
- the type of the Set
elementspublic class SimpleSetProperty<E> extends SetPropertyBase<E>
Property
wrapping an
ObservableSet
.SetPropertyBase
emptyProperty, sizeProperty
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
bean |
private static java.lang.Object |
DEFAULT_BEAN |
private static java.lang.String |
DEFAULT_NAME |
private java.lang.String |
name |
Constructor and Description |
---|
SimpleSetProperty()
The constructor of
SimpleSetProperty |
SimpleSetProperty(<any> initialValue)
The constructor of
SimpleSetProperty |
SimpleSetProperty(java.lang.Object bean,
java.lang.String name)
The constructor of
SimpleSetProperty |
SimpleSetProperty(java.lang.Object bean,
java.lang.String name,
<any> initialValue)
The constructor of
SimpleSetProperty |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getBean()
Returns the
Object that contains this property. |
java.lang.String |
getName()
Returns the name of this property.
|
addListener, addListener, addListener, bind, emptyProperty, fireValueChangedEvent, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, removeListener, set, sizeProperty, toString, unbind
bindBidirectional, setValue, unbindBidirectional
bindContent, bindContentBidirectional, equals, hashCode, unbindContent, unbindContentBidirectional
private static final java.lang.Object DEFAULT_BEAN
private static final java.lang.String DEFAULT_NAME
private final java.lang.Object bean
private final java.lang.String name
public SimpleSetProperty()
SimpleSetProperty
public SimpleSetProperty(<any> initialValue)
SimpleSetProperty
initialValue
- the initial value of the wrapped valuepublic SimpleSetProperty(java.lang.Object bean, java.lang.String name)
SimpleSetProperty
bean
- the bean of this SetProperty
name
- the name of this SetProperty
public SimpleSetProperty(java.lang.Object bean, java.lang.String name, <any> initialValue)
SimpleSetProperty
bean
- the bean of this SetProperty
name
- the name of this SetProperty
initialValue
- the initial value of the wrapped valuepublic java.lang.Object getBean()
Object
that contains this property. If this property
is not contained in an Object
, null
is returned.Object
or null
public java.lang.String getName()
String
.String