Package ca.phon.media

Class WaveformDisplay

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Scrollable

public class WaveformDisplay extends TimeComponent implements Scrollable
Basic waveform display
See Also:
  • Constructor Details

    • WaveformDisplay

      public WaveformDisplay()
    • WaveformDisplay

      public WaveformDisplay(TimeUIModel timeModel)
    • WaveformDisplay

      public WaveformDisplay(LongSound longSound, TimeUIModel timeModel)
  • Method Details

    • getUIClassID

      public String getUIClassID()
      Overrides:
      getUIClassID in class JComponent
    • updateUI

      public void updateUI()
      Overrides:
      updateUI in class JComponent
    • getUI

      public DefaultWaveformDisplayUI getUI()
      Overrides:
      getUI in class TimeComponent
    • getLongSound

      public LongSound getLongSound()
    • setLongSound

      public void setLongSound(LongSound longSound)
    • availableChannels

      public List<Channel> availableChannels()
    • isChannelVisible

      public boolean isChannelVisible(Channel ch)
    • setChannelVisible

      public void setChannelVisible(Channel ch, boolean visible)
    • getChannelHeight

      public int getChannelHeight()
    • getPreferredChannelHeight

      public int getPreferredChannelHeight()
    • setPreferredChannelHeight

      public void setPreferredChannelHeight(int channelHeight)
    • getVisibleChannelCount

      public int getVisibleChannelCount()
    • isTrackViewportWidth

      public boolean isTrackViewportWidth()
    • setTrackViewportWidth

      public void setTrackViewportWidth(boolean trackViewportWidth)
    • isTrackViewportHeight

      public boolean isTrackViewportHeight()
    • setTrackViewportHeight

      public void setTrackViewportHeight(boolean trackViewportHeight)
    • getChannelInsets

      public Insets getChannelInsets()
    • setChannelInsets

      public void setChannelInsets(Insets channelInsets)
    • getPreferredScrollableViewportSize

      public Dimension getPreferredScrollableViewportSize()
      Specified by:
      getPreferredScrollableViewportSize in interface Scrollable
    • getScrollableUnitIncrement

      public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)
      Specified by:
      getScrollableUnitIncrement in interface Scrollable
    • getScrollableBlockIncrement

      public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)
      Specified by:
      getScrollableBlockIncrement in interface Scrollable
    • getScrollableTracksViewportWidth

      public boolean getScrollableTracksViewportWidth()
      Specified by:
      getScrollableTracksViewportWidth in interface Scrollable
    • getScrollableTracksViewportHeight

      public boolean getScrollableTracksViewportHeight()
      Specified by:
      getScrollableTracksViewportHeight in interface Scrollable