Class SegmentationWindow

java.lang.Object
ca.phon.app.session.editor.view.timeline.SegmentationWindow

public class SegmentationWindow extends Object
  • Field Details

    • segmentStartLockMs

      public long segmentStartLockMs
  • Constructor Details

    • SegmentationWindow

      public SegmentationWindow()
    • SegmentationWindow

      public SegmentationWindow(long windowLengthMs)
  • Method Details

    • getBackwardWindowLengthMs

      public long getBackwardWindowLengthMs()
    • setBackwardWindowLengthMs

      public void setBackwardWindowLengthMs(long backwardWindowLengthMs)
    • getForwardWindowLengthMs

      public long getForwardWindowLengthMs()
    • setForwardWindowLengtMs

      public void setForwardWindowLengtMs(long forwardWindowLengthMs)
    • getStartLockMs

      public long getStartLockMs()
    • setStartLockMs

      public void setStartLockMs(long lockMs)
    • getWindowStartMs

      public long getWindowStartMs(long playbackPositionMs)
      Return the current segment window start position given the playback position.
      Parameters:
      playbackPosition -
    • getWindowEndMs

      public long getWindowEndMs(long playbackPositionMs)
      Return the current segment window end position given the playback position.
      Parameters:
      playbackPositionMs -
      Returns:
    • addPropertyChangeListener

      public void addPropertyChangeListener(PropertyChangeListener listener)
    • removePropertyChangeListener

      public void removePropertyChangeListener(PropertyChangeListener listener)
    • getPropertyChangeListeners

      public PropertyChangeListener[] getPropertyChangeListeners()
    • addPropertyChangeListener

      public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
    • removePropertyChangeListener

      public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
    • getPropertyChangeListeners

      public PropertyChangeListener[] getPropertyChangeListeners(String propertyName)