Class RecordingControls
java.lang.Object
net.emustudio.emulib.ui.components.RecordingControls
Manages the recording button and save dialog for one display window.
-
Constructor Summary
ConstructorsConstructorDescriptionRecordingControls(Dialogs dialogs, AbstractButton button, Icon recordIcon, Icon stopIcon) -
Method Summary
Modifier and TypeMethodDescriptionvoidUpdates the button after capture starts on the Swing event dispatch thread.voidstop(RecordingSession session, boolean saveToFile) Finishes a recording after the caller has detached capture.
-
Constructor Details
-
RecordingControls
-
-
Method Details
-
recordingStarted
public void recordingStarted()Updates the button after capture starts on the Swing event dispatch thread. -
stop
Finishes a recording after the caller has detached capture. When requested, prompts for an MP4 destination. Closing without a prompt or canceling the chooser discards the recording.
-