AnnotationManager, PromptViewerListener, ProgressManagerListener, AudioController2.AudioController2Listener, SpeechFinalSilenceDetectorListener, PlayerListener, ProgressListener, UpdateListener<PlayerEvent>, java.awt.event.ActionListener, java.util.EventListenerpublic class SessionManager extends java.lang.Object implements java.awt.event.ActionListener, AudioController2.AudioController2Listener, ProgressManagerListener, PromptViewerListener, ProgressListener, PlayerListener, SpeechFinalSilenceDetectorListener, AnnotationManager
| Modifier and Type | Class | Description |
|---|---|---|
class |
SessionManager.RepeatRequest |
Indicates request to repeat the recording item.
|
| Modifier and Type | Field | Description |
|---|---|---|
javax.swing.Action[] |
actions |
|
static boolean |
DEBUG |
|
boolean |
USE_MAX_REC_TIMER |
|
boolean |
useMaxRecTimer |
| Constructor | Description |
|---|---|
SessionManager() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
|
void |
advanceToNextRecording() |
|
void |
annotate(java.lang.Object annotatedObject,
java.lang.String annotationName,
java.lang.String propertyName,
java.lang.Object annotation) |
|
void |
applyItem() |
|
void |
close() |
|
void |
continuePlayback() |
Continues playback after pause.
|
void |
continueSession() |
When all recordings of a session have been performed, the user is
informed that the session is over.
|
void |
decrementIndex() |
|
javax.swing.Action[] |
getActions() |
|
ips.annot.model.AnnotatedAudioClip |
getAudioClip() |
|
AudioController4 |
getAudioController() |
|
java.util.List<ips.annot.autoannotator.AutoAnnotator> |
getAutoAnnotators() |
|
Player |
getBeepPlayer() |
|
java.net.URL |
getBeepURL() |
|
java.lang.Double |
getBeepVolume() |
|
java.util.List<ips.annot.BundleAnnotationPersistor> |
getBundleAnnotationPersistorList() |
|
RecordingConfiguration.CaptureScope |
getCaptureScope() |
|
Section.Mode |
getDefaultSectionMode() |
|
java.util.List<ips.annot.autoannotator.AutoAnnotator> |
getEnabledAutoAnnotators() |
|
SessionManagerListener |
getListener() |
|
ProgressManager |
getProgressManager() |
|
boolean |
getProgressPaused() |
|
RecTransporterActions |
getRecTransporterActions() |
|
Script |
getScript() |
|
SetIndexAction |
getSetIndexAction() |
|
SpeechRecorderUI |
getSpeechRecorderUI() |
|
StartPlaybackAction |
getStartPlaybackAction() |
|
ActiveSessionStorageManager |
getStorageManager() |
|
void |
incrementIndex() |
|
void |
init() |
Initialize the recorder.
|
boolean |
isAudioEnabled() |
|
boolean |
isAutoProgress() |
|
boolean |
isAutoRecording() |
|
boolean |
isDefaultShowSpeakerWindow() |
|
boolean |
isForcePostRecPhase() |
|
boolean |
isItemPlayable() |
Returns whether the current selected recording can be played.
|
boolean |
isOverwrite() |
|
boolean |
isOverwriteWarning() |
|
boolean |
isProgressToNextUnrecorded() |
|
boolean |
isRecManualPlay() |
|
boolean |
isResetPeakOnRecording() |
|
boolean |
isSeamlessAutoRecording() |
|
boolean |
isSpeakerWindowShowing() |
returns true if the speaker window is shown
|
boolean |
isUseUploadCache() |
|
void |
open() |
|
void |
pausePlayback() |
Pauses playback.
|
void |
setAudioClip(ips.annot.model.AnnotatedAudioClip audioClip) |
|
void |
setAudioController(AudioController4 audioController) |
|
void |
setAudioEnabled(boolean audioEnabled) |
|
void |
setBeepPlayer(Player beepPlayer) |
|
void |
setBeepURL(java.net.URL beepURL) |
|
void |
setBeepVolume(java.lang.Double beepVolume) |
|
void |
setBundleAnnotationPersistorList(java.util.List<ips.annot.BundleAnnotationPersistor> bundleAnnotationPersistorList) |
|
void |
setCaptureScope(RecordingConfiguration.CaptureScope captureScope) |
|
void |
setDefaultSectionMode(Section.Mode defaultSectionMode) |
|
void |
setDefaultShowSpeakerWindow(boolean defaultShowSpeakerWindow) |
|
void |
setEnabledAutoAnnotators(java.util.List<ips.annot.autoannotator.AutoAnnotator> enabledAutoAnnotators) |
|
void |
setForcePostRecPhase(boolean forcePostRecPhase) |
|
void |
setIdle() |
|
void |
setListener(SessionManagerListener listener) |
|
void |
setOverwrite(boolean overwrite) |
|
void |
setOverwriteWarning(boolean overwriteWarning) |
|
void |
setProgressPaused(boolean progressPaused) |
|
void |
setProgressToNextUnrecorded(boolean progressToNextUnrecorded) |
|
void |
setPromptErrorState() |
|
void |
setRecIndex(int skipTo) |
|
void |
setRecManualPlay(boolean recManualPlay) |
|
void |
setResetPeakOnRecording(boolean resetPeakOnRecording) |
|
void |
setScript(Script script) |
|
void |
setSeamlessAutoRecording(boolean seamlessAutoRecording) |
|
void |
setSpeakerWindowShowing(boolean v) |
if true, a separate window is shown for the speaker prompts
|
void |
setSpeechRecorderUI(SpeechRecorderUI ui) |
|
void |
setStorageManager(ActiveSessionStorageManager storageManager) |
|
void |
setUseUploadCache(boolean useUploadCache) |
|
void |
start(int sessionId,
java.lang.String speakerCode) |
Start a recording session.
|
void |
startAnnotation() |
|
void |
startBeep() |
|
void |
startItem() |
|
void |
startPlayback() |
|
void |
startPlayback(long start,
long stop) |
|
void |
startPostRecordingPhase() |
|
void |
startPreRecWaiting() |
|
void |
startRecording() |
|
void |
startRecordingPhase() |
|
void |
stop() |
|
void |
stopNonrecording() |
|
void |
stopPlayback() |
Stops playback.
|
void |
stopRecording() |
|
void |
update(PromptViewerEvent promptViewerEvent) |
|
void |
update(RecscriptManagerEvent e) |
Close a session.
|
void |
update(ProgressManagerEvent e) |
|
void |
update(AudioController2.AudioControllerEvent ace) |
|
void |
update(SpeechFinalSilenceDetectorEvent event) |
|
void |
update(PlayerEvent playerEvent) |
|
void |
update(ProgressEvent progressEvent) |
public static final boolean DEBUG
public final boolean USE_MAX_REC_TIMER
public javax.swing.Action[] actions
public boolean useMaxRecTimer
public StartPlaybackAction getStartPlaybackAction()
public SetIndexAction getSetIndexAction()
public javax.swing.Action[] getActions()
public SessionManagerListener getListener()
public void setListener(SessionManagerListener listener)
public SpeechRecorderUI getSpeechRecorderUI()
public void setSpeechRecorderUI(SpeechRecorderUI ui)
public boolean isUseUploadCache()
public void setUseUploadCache(boolean useUploadCache)
public RecTransporterActions getRecTransporterActions()
public AudioController4 getAudioController()
public boolean isAudioEnabled()
public void setAudioEnabled(boolean audioEnabled)
public java.net.URL getBeepURL()
public void setBeepURL(java.net.URL beepURL)
public Player getBeepPlayer()
public void setBeepPlayer(Player beepPlayer)
public void setAudioController(AudioController4 audioController)
public ActiveSessionStorageManager getStorageManager()
public void setStorageManager(ActiveSessionStorageManager storageManager)
public boolean isOverwrite()
public void setOverwrite(boolean overwrite)
public boolean isOverwriteWarning()
public void setOverwriteWarning(boolean overwriteWarning)
public boolean isDefaultShowSpeakerWindow()
public void setDefaultShowSpeakerWindow(boolean defaultShowSpeakerWindow)
public ProgressManager getProgressManager()
public ips.annot.model.AnnotatedAudioClip getAudioClip()
public void setAudioClip(ips.annot.model.AnnotatedAudioClip audioClip)
public RecordingConfiguration.CaptureScope getCaptureScope()
public void setCaptureScope(RecordingConfiguration.CaptureScope captureScope)
public boolean isSeamlessAutoRecording()
public void setSeamlessAutoRecording(boolean seamlessAutoRecording)
public Section.Mode getDefaultSectionMode()
public void setDefaultSectionMode(Section.Mode defaultSectionMode)
public boolean isResetPeakOnRecording()
public void setResetPeakOnRecording(boolean resetPeakOnRecording)
public boolean isProgressToNextUnrecorded()
public void setProgressToNextUnrecorded(boolean progressToNextUnrecorded)
public java.util.List<ips.annot.autoannotator.AutoAnnotator> getEnabledAutoAnnotators()
public void setEnabledAutoAnnotators(java.util.List<ips.annot.autoannotator.AutoAnnotator> enabledAutoAnnotators)
public java.util.List<ips.annot.BundleAnnotationPersistor> getBundleAnnotationPersistorList()
public void setBundleAnnotationPersistorList(java.util.List<ips.annot.BundleAnnotationPersistor> bundleAnnotationPersistorList)
public boolean isSpeakerWindowShowing()
public Script getScript()
public java.util.List<ips.annot.autoannotator.AutoAnnotator> getAutoAnnotators()
public boolean isRecManualPlay()
public void setRecManualPlay(boolean recManualPlay)
public boolean isItemPlayable()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic boolean isAutoRecording()
public boolean isAutoProgress()
public void setProgressPaused(boolean progressPaused)
public boolean getProgressPaused()
public boolean isForcePostRecPhase()
public void setForcePostRecPhase(boolean forcePostRecPhase)
public void open()
public void start(int sessionId,
java.lang.String speakerCode)
throws AudioControllerException
AudioControllerExceptionpublic java.lang.Double getBeepVolume()
public void setBeepVolume(java.lang.Double beepVolume)
public void startItem()
public void startBeep()
throws SpeechRecorderException
SpeechRecorderExceptionpublic void startPreRecWaiting()
public void startRecordingPhase()
public void startPostRecordingPhase()
public void startRecording()
throws AudioControllerException,
StorageManagerException
public void stopRecording()
throws AudioControllerException
AudioControllerExceptionpublic void stopNonrecording()
public void startAnnotation()
public void continueSession()
public void init()
public void applyItem()
throws PromptPresenterException
PromptPresenterExceptionpublic void setPromptErrorState()
public void setIdle()
public void update(AudioController2.AudioControllerEvent ace)
update in interface AudioController2.AudioController2Listenerpublic void annotate(java.lang.Object annotatedObject,
java.lang.String annotationName,
java.lang.String propertyName,
java.lang.Object annotation)
annotate in interface AnnotationManagerpublic void setScript(Script script)
script - public void setRecIndex(int skipTo)
public void advanceToNextRecording()
public void decrementIndex()
public void incrementIndex()
public void startPlayback()
throws AudioControllerException,
StorageManagerException
public void startPlayback(long start,
long stop)
throws AudioControllerException,
StorageManagerException
public void stopPlayback()
throws AudioControllerException
AudioControllerExceptionpublic void pausePlayback()
throws AudioControllerException
AudioControllerExceptionpublic void continuePlayback()
public void setSpeakerWindowShowing(boolean v)
v - public void stop()
throws SpeechRecorderException
SpeechRecorderExceptionpublic void close()
throws SpeechRecorderException
SpeechRecorderExceptionpublic void update(RecscriptManagerEvent e)
AudioControllerException - if the controller cannot be closedWorkspaceExceptionSpeechRecorderExceptionpublic void update(PromptViewerEvent promptViewerEvent)
update in interface PromptViewerListenerpublic void update(PlayerEvent playerEvent)
update in interface PlayerListenerupdate in interface UpdateListener<PlayerEvent>public void update(ProgressManagerEvent e)
update in interface ProgressManagerListenerpublic void update(ProgressEvent progressEvent)
update in interface ProgressListenerpublic void update(SpeechFinalSilenceDetectorEvent event)
update in interface SpeechFinalSilenceDetectorListener