public class ReadOnlyListSelection<T> extends Object implements ObservableListSelection<T>
| Modifier and Type | Field and Description |
|---|---|
protected ObservableListSelection<T> |
base |
| Constructor and Description |
|---|
ReadOnlyListSelection(ObservableListSelection<T> base) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(T a) |
PropertyListeners |
events() |
List<T> |
findAll(Predicate<T> a) |
int[] |
findAllIndexes(Predicate<T> a) |
T |
findFirst(Predicate<T> a) |
T |
findFirst(Predicate<T> a,
int from) |
T |
findFirst(Predicate<T> a,
int from,
int to) |
int |
findFirstIndex(Predicate<T> a) |
int |
findFirstIndex(Predicate<T> a,
int from) |
int |
findFirstIndex(Predicate<T> a,
int from,
int to) |
T |
get()
convenient method to return the first element or null
|
T |
get(int index) |
Iterator<T> |
iterator() |
ObservableBoolean |
multipleSelection() |
ObservableBoolean |
noSelection() |
String |
propertyName() |
PropertyType |
propertyType() |
ObservableListSelection<T> |
readOnly() |
int |
size() |
List<T> |
toList() |
UserObjects |
userObjects() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindFirstIndexOf, first, last, streambindConvert, bindTarget, doNonNull, getOr, getOrDefault, getRequired, isNotNull, isNull, mapBooleanValue, mapDoubleValue, mapEqualsValue, mapFloatValue, mapIntValue, mapLongValue, mapNotEqualsValue, mapStringValue, mapValue, mapValue, propertyClass, unbind, withValuegetChildProperty, isWritable, onChange, onChange, onChangeAndInit, onChangeAndInit, onPropagatedChange, onPropagatedChange, onPropagatedChangeAndInit, onPropagatedChangeAndInit, with, withforEach, spliteratorprotected ObservableListSelection<T> base
public ReadOnlyListSelection(ObservableListSelection<T> base)
public ObservableBoolean multipleSelection()
multipleSelection in interface ObservableListSelection<T>public ObservableBoolean noSelection()
noSelection in interface ObservableListSelection<T>public T get()
ObservableListget in interface GetValueModel<T>get in interface ObservableList<T>get in interface ObservableValue<T>public T get(int index)
get in interface ObservableList<T>public int size()
size in interface ObservableList<T>public int[] findAllIndexes(Predicate<T> a)
findAllIndexes in interface ObservableList<T>public boolean contains(T a)
contains in interface ObservableList<T>public T findFirst(Predicate<T> a, int from)
findFirst in interface ObservableList<T>public T findFirst(Predicate<T> a, int from, int to)
findFirst in interface ObservableList<T>public int findFirstIndex(Predicate<T> a)
findFirstIndex in interface ObservableList<T>public int findFirstIndex(Predicate<T> a, int from)
findFirstIndex in interface ObservableList<T>public int findFirstIndex(Predicate<T> a, int from, int to)
findFirstIndex in interface ObservableList<T>public List<T> toList()
toList in interface ObservableList<T>public ObservableListSelection<T> readOnly()
readOnly in interface ObservableList<T>readOnly in interface ObservableListSelection<T>readOnly in interface ObservableValue<T>readOnly in interface Propertypublic String propertyName()
propertyName in interface Propertypublic PropertyListeners events()
public PropertyType propertyType()
propertyType in interface Propertypublic UserObjects userObjects()
userObjects in interface PropertyCopyright © 2022 vpc open source initiative. All rights reserved.