Package ca.phon.app.session.editor
Class SegmentPlayback
java.lang.Object
ca.phon.app.session.editor.SegmentPlayback
Centralized segment playback for the editor with
events for playback start/end/progress.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addPropertyChangeListener
(String propertyName, PropertyChangeListener listener) void
void
firePropertyChange
(String propertyName, boolean oldValue, boolean newValue) void
firePropertyChange
(String propertyName, int oldValue, int newValue) void
firePropertyChange
(String propertyName, Object oldValue, Object newValue) getPropertyChangeListeners
(String propertyName) float
getTime()
boolean
hasListeners
(String propertyName) boolean
void
playSegment
(float startTime, float endTime) void
playSegment
(long startTime, long endTime) void
playSegment
(MediaSegment mediaSegment) void
void
removePropertyChangeListener
(String propertyName, PropertyChangeListener listener) void
-
Field Details
-
PLAYBACK_PROP
-
TIME_PROP
-
propSupport
-
-
Method Details
-
getEditor
-
isPlaying
public boolean isPlaying() -
getTime
public float getTime() -
playSegment
public void playSegment(float startTime, float endTime) -
playSegment
public void playSegment(long startTime, long endTime) -
playSegment
-
stopPlaying
public void stopPlaying() -
addPropertyChangeListener
-
removePropertyChangeListener
-
getPropertyChangeListeners
-
addPropertyChangeListener
-
removePropertyChangeListener
-
getPropertyChangeListeners
-
firePropertyChange
-
firePropertyChange
-
firePropertyChange
-
firePropertyChange
-
hasListeners
-