Class RhythmProviderList

All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, ChangeListener, Scrollable

public class RhythmProviderList extends JList<RhythmProvider> implements ChangeListener, PropertyChangeListener
A special JList to show RhythmProviders.

See Also:
  • Constructor Details

    • RhythmProviderList

      public RhythmProviderList()
      A list with no time signature filter.
  • Method Details

    • setTimeSignatureFilter

      public void setTimeSignatureFilter(TimeSignature ts)
      Show RhythmProvider data only for the specified TimeSignature.

      E.g. this will change the nb of rhythms available for each RhythmProvider.

      Parameters:
      ts - If null all TimeSignature are used
    • getTimeSignatureFilter

      public TimeSignature getTimeSignatureFilter()
      Returns:
      can be null if no filter set.
    • stateChanged

      public void stateChanged(ChangeEvent e)
      Specified by:
      stateChanged in interface ChangeListener
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Specified by:
      propertyChange in interface PropertyChangeListener