Class SegmentationWindow
java.lang.Object
ca.phon.app.session.editor.view.timeline.SegmentationWindow
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addPropertyChangeListener
(String propertyName, PropertyChangeListener listener) long
long
getPropertyChangeListeners
(String propertyName) long
long
getWindowEndMs
(long playbackPositionMs) Return the current segment window end position given the playback position.long
getWindowStartMs
(long playbackPositionMs) Return the current segment window start position given the playback position.void
void
removePropertyChangeListener
(String propertyName, PropertyChangeListener listener) void
setBackwardWindowLengthMs
(long backwardWindowLengthMs) void
setForwardWindowLengtMs
(long forwardWindowLengthMs) void
setStartLockMs
(long lockMs)
-
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
-
removePropertyChangeListener
-
getPropertyChangeListeners
-
addPropertyChangeListener
-
removePropertyChangeListener
-
getPropertyChangeListeners
-