Module com.gluonhq.charm.glisten
Class HeadersList<E,K extends Comparable>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- javafx.collections.ObservableListBase<E>
-
- javafx.collections.transformation.TransformationList<E,E>
-
- com.gluonhq.impl.charm.glisten.control.skin.util.HeadersList<E,K>
-
- Type Parameters:
E
-K
-
- All Implemented Interfaces:
Iterable<E>
,Collection<E>
,List<E>
,Observable
,ObservableList<E>
public class HeadersList<E,K extends Comparable> extends TransformationList<E,E>
-
-
Property Summary
Properties Type Property Description ObjectProperty<Function<? super E,K>>
function
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description HeadersList(SortedList<? extends E> source)
HeadersList(SortedList<? extends E> source, Function<? super E,K> function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectProperty<Function<? super E,K>>
functionProperty()
E
get(int index)
Function<? super E,K>
getFunction()
Gets the value of the property function.BitSet
getHeadersIndex()
int
getSourceIndex(int index)
int
getViewIndex(int index)
void
setFunction(Function<? super E,K> function)
Sets the value of the property function.int
size()
protected void
sourceChanged(ListChangeListener.Change<? extends E> c)
-
Methods inherited from class javafx.collections.transformation.TransformationList
getSource, getSourceIndexFor, isInTransformationChain
-
Methods inherited from class javafx.collections.ObservableListBase
addAll, addListener, addListener, beginChange, endChange, fireChange, hasListeners, nextAdd, nextPermutation, nextRemove, nextRemove, nextReplace, nextSet, nextUpdate, remove, removeAll, removeListener, removeListener, retainAll, setAll, setAll
-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
-
Methods inherited from interface javafx.beans.Observable
addListener, removeListener
-
Methods inherited from interface javafx.collections.ObservableList
addAll, addListener, filtered, remove, removeAll, removeListener, retainAll, setAll, setAll, sorted, sorted
-
-
-
-
Property Detail
-
function
public final ObjectProperty<Function<? super E,K extends Comparable>> functionProperty
- See Also:
getFunction()
,setFunction(Function)
-
-
Constructor Detail
-
HeadersList
public HeadersList(SortedList<? extends E> source)
-
HeadersList
public HeadersList(SortedList<? extends E> source, Function<? super E,K> function)
-
-
Method Detail
-
functionProperty
public final ObjectProperty<Function<? super E,K>> functionProperty()
- See Also:
getFunction()
,setFunction(Function)
-
getFunction
public final Function<? super E,K> getFunction()
Gets the value of the property function.- Property description:
-
setFunction
public final void setFunction(Function<? super E,K> function)
Sets the value of the property function.- Property description:
-
sourceChanged
protected void sourceChanged(ListChangeListener.Change<? extends E> c)
- Specified by:
sourceChanged
in classTransformationList<E,E>
-
getSourceIndex
public int getSourceIndex(int index)
- Specified by:
getSourceIndex
in classTransformationList<E,E>
-
getViewIndex
public int getViewIndex(int index)
- Specified by:
getViewIndex
in classTransformationList<E,E>
-
get
public E get(int index)
-
size
public int size()
- Specified by:
size
in interfaceCollection<E>
- Specified by:
size
in interfaceList<E>
- Specified by:
size
in classAbstractCollection<E>
-
getHeadersIndex
public BitSet getHeadersIndex()
-
-