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>

    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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String get​(int index)
      Gets the decoder address at the specified index.
      protected boolean isWritable()  
      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
    • Constructor Detail

      • 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 Detail

      • 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>