Class FeedbackPositionsToDecoderList
- All Implemented Interfaces:
ca.odell.glazedlists.event.ListEventListener<org.bidib.jbidibc.messages.FeedbackPosition>,ca.odell.glazedlists.EventList<String>,Iterable<String>,Collection<String>,EventListener,List<String>,SequencedCollection<String>
public class FeedbackPositionsToDecoderList
extends ca.odell.glazedlists.TransformedList<org.bidib.jbidibc.messages.FeedbackPosition,String>
-
Field Summary
Fields inherited from class ca.odell.glazedlists.TransformedList
sourceFields inherited from class ca.odell.glazedlists.AbstractEventList
publisher, readWriteLock, updates -
Constructor Summary
ConstructorsConstructorDescriptionFeedbackPositionsToDecoderList(ca.odell.glazedlists.EventList<org.bidib.jbidibc.messages.FeedbackPosition> source) Construct an FeedbackPositionsToDecoderList from an EventList that contains only FeedbackPosition objects. -
Method Summary
Modifier and TypeMethodDescriptionget(int index) Gets the decoder address at the specified index.protected booleanvoidlistChanged(ca.odell.glazedlists.event.ListEvent<org.bidib.jbidibc.messages.FeedbackPosition> listChanges) When the source position list changes, propogate the exact same changes for the positions list.Methods inherited from class ca.odell.glazedlists.TransformedList
add, addAll, clear, dispose, getSourceIndex, remove, removeAll, retainAll, set, sizeMethods inherited from class ca.odell.glazedlists.AbstractEventList
add, addAll, addListEventListener, contains, containsAll, equals, getPublisher, getReadWriteLock, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeListEventListener, subList, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, replaceAll, reversed, sort, spliterator
-
Constructor Details
-
FeedbackPositionsToDecoderList
public FeedbackPositionsToDecoderList(ca.odell.glazedlists.EventList<org.bidib.jbidibc.messages.FeedbackPosition> source) Construct an FeedbackPositionsToDecoderList from an EventList that contains only FeedbackPosition objects.
-
-
Method Details
-
get
Gets the decoder address at the specified index. -
listChanged
public void listChanged(ca.odell.glazedlists.event.ListEvent<org.bidib.jbidibc.messages.FeedbackPosition> listChanges) When the source position list changes, propogate the exact same changes for the positions list.- Specified by:
listChangedin interfaceca.odell.glazedlists.event.ListEventListener<org.bidib.jbidibc.messages.FeedbackPosition>- Specified by:
listChangedin classca.odell.glazedlists.TransformedList<org.bidib.jbidibc.messages.FeedbackPosition,String>
-
isWritable
protected boolean isWritable()- Specified by:
isWritablein classca.odell.glazedlists.TransformedList<org.bidib.jbidibc.messages.FeedbackPosition,String>
-