Class FeedbackPositionsToDecoderList

java.lang.Object
ca.odell.glazedlists.AbstractEventList<String>
ca.odell.glazedlists.TransformedList<org.bidib.jbidibc.messages.FeedbackPosition,String>
org.bidib.wizard.mvc.main.view.panel.glazed.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

    source

    Fields inherited from class ca.odell.glazedlists.AbstractEventList

    publisher, readWriteLock, updates
  • Constructor Summary

    Constructors
    Constructor
    Description
    FeedbackPositionsToDecoderList(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 Type
    Method
    Description
    get(int index)
    Gets the decoder address at the specified index.
    protected boolean
     
    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.

    Methods inherited from class ca.odell.glazedlists.TransformedList

    add, addAll, clear, dispose, getSourceIndex, remove, removeAll, retainAll, set, size

    Methods 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, 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.lang.Iterable

    forEach

    Methods 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

      public String get(int index)
      Gets the decoder address at the specified index.
      Specified by:
      get in interface List<String>
      Overrides:
      get in class ca.odell.glazedlists.TransformedList<org.bidib.jbidibc.messages.FeedbackPosition,String>
    • 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:
      listChanged in interface ca.odell.glazedlists.event.ListEventListener<org.bidib.jbidibc.messages.FeedbackPosition>
      Specified by:
      listChanged in class ca.odell.glazedlists.TransformedList<org.bidib.jbidibc.messages.FeedbackPosition,String>
    • isWritable

      protected boolean isWritable()
      Specified by:
      isWritable in class ca.odell.glazedlists.TransformedList<org.bidib.jbidibc.messages.FeedbackPosition,String>