Class SimpleListProperty<T>
- java.lang.Object
-
- com.macrofocus.properties.implementation.AbstractProperty<T[]>
-
- com.macrofocus.properties.implementation.AbstractListProperty<T>
-
- com.macrofocus.properties.implementation.AbstractMutableListProperty<T>
-
- com.macrofocus.properties.implementation.SimpleListProperty<T>
-
- Type Parameters:
T
- the type of elements that the property can hold
- All Implemented Interfaces:
ListProperty<T>
,MutableListProperty<T>
,MutableProperty<T[]>
,Property<T[]>
public class SimpleListProperty<T> extends AbstractMutableListProperty<T> implements MutableListProperty<T>
Default data model a property.
-
-
Constructor Summary
Constructors Constructor Description SimpleListProperty(T[] value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(T value)
T[]
getValue()
static <T> SimpleListProperty<T>
newInstance(T[] value)
void
setValue(T[] value)
java.lang.String
toString()
-
Methods inherited from class com.macrofocus.properties.implementation.AbstractMutableListProperty
bind, bindBidirectional
-
Methods inherited from class com.macrofocus.properties.implementation.AbstractProperty
addPropertyListener, addWeakPropertyListener, notifyPropertyChanged, removePropertyListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.macrofocus.properties.MutableProperty
bind, bindBidirectional
-
Methods inherited from interface com.macrofocus.properties.Property
addPropertyListener, addWeakPropertyListener, removePropertyListener
-
-
-
-
Constructor Detail
-
SimpleListProperty
public SimpleListProperty(T[] value)
-
-
Method Detail
-
newInstance
public static <T> SimpleListProperty<T> newInstance(T[] value)
-
setValue
public void setValue(T[] value)
- Specified by:
setValue
in interfaceMutableProperty<T>
-
append
public void append(T value)
- Specified by:
append
in interfaceMutableListProperty<T>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-