Serialized Form
myOutput
OutputText myOutput
- An OutputText object that the current class can use to create output.
altered
boolean altered
- A flag to signal that the capture sizes have changed.
xVal
int xVal
- The x coordinate of the upper left corner of the capture area.
yVal
int yVal
- The y coordinate of the upper left corner of the capture area.
widthVal
int widthVal
- The width of the capture area.
heightVal
int heightVal
- The height of the capture area.
gridBagConstraints
java.awt.GridBagConstraints gridBagConstraints
xText
javax.swing.JTextField xText
yText
javax.swing.JTextField yText
widthText
javax.swing.JTextField widthText
heightText
javax.swing.JTextField heightText
xLabel
javax.swing.JLabel xLabel
yLabel
javax.swing.JLabel yLabel
widthLabel
javax.swing.JLabel widthLabel
heightLabel
javax.swing.JLabel heightLabel
emptyLabel
javax.swing.JLabel emptyLabel
doneButton
javax.swing.JButton doneButton
myDataList
DataList myDataList
- This is the DataList used to cancel the
encoding of the movies. This is set
from the ScreenGrabber in the EncodeThread
constructor.
myOutput
OutputText myOutput
- The output window for this EncodingProgressBar.
cancelled
boolean cancelled
- The cancelled flag. This can be used to monitor
if the encoding or merging have been requested to
cancel.
currentStatus
int currentStatus
- The current status of this EncodingProgressBar
jButton1
javax.swing.JButton jButton1
jProgressBar1
javax.swing.JProgressBar jProgressBar1
fps
int fps
- The fps that the next film we be recorded at.
plb
int plb
- The fps that the next film we be played back at .
myOutput
OutputText myOutput
- The output text window for this class.
altered
boolean altered
- Used to signal that the fps has been altered. This
flag should be changed back to false by the user after
the user has dealt with the change.
gridBagConstraints
java.awt.GridBagConstraints gridBagConstraints
trunc
char[] trunc
playbackText
javax.swing.JTextField playbackText
fpsText
javax.swing.JTextField fpsText
msLabel
javax.swing.JLabel msLabel
messageLabel
javax.swing.JLabel messageLabel
emptyLabel
javax.swing.JLabel emptyLabel
emptyLabel2
javax.swing.JLabel emptyLabel2
topLeftLabel
javax.swing.JLabel topLeftLabel
topRightLabel
javax.swing.JLabel topRightLabel
fpsButton
javax.swing.JButton fpsButton
playbackButton
javax.swing.JButton playbackButton
FPS
java.lang.String FPS
PLB
java.lang.String PLB
vCBMItem
javax.swing.JCheckBoxMenuItem vCBMItem
- If the present KrutSettings window is properly initiated,
vCMBItem holds the Record Video checkbox from the main
Krut window Menu. This parameter is used for easy access
in case the Record Video checkbox from the present
KrutSetting window is changed.
aCBMItem
javax.swing.JCheckBoxMenuItem aCBMItem
- If the present KrutSettings window is properly initiated,
aCMBItem holds the Record Audio checkbox from the main
Krut window Menu. This parameter is used for easy access
in case the Record Audio checkbox from the present
KrutSetting window is changed.
mCBMItem
javax.swing.JCheckBoxMenuItem mCBMItem
- If the present KrutSettings window is properly initiated,
mCMBItem holds the Record Mouse Pointer checkbox from the main
Krut window Menu. This parameter is used for easy access
in case the Record Mouse Pointer checkbox from the present
KrutSetting window is changed.
mouseSampleDelay
int mouseSampleDelay
- How often we sample for the mouse position in ms.
The sampling is done in startMouseTimer.
isInited
boolean isInited
- True if the setting window is initiated, false if not
mouseStartPos
java.awt.Point mouseStartPos
- Mouse postition in stored here when CTRL is pressed
mousePos
java.awt.Point mousePos
- This is used to store the current mouse position
in startMouseTimer.
ctrlDown
boolean ctrlDown
- This is a flag to keep track of whether the capture size
is being changed.
capButtonPressed
boolean capButtonPressed
- This is a flag to keep track of whether the capture size
is being changed.
mouseTimer
javax.swing.Timer mouseTimer
- Times used to track the mouse position for both
the mouse position window, and the capture size
window
audioFile
javax.swing.JTextField audioFile
audioPanel
javax.swing.JPanel audioPanel
capQueryPanel
javax.swing.JPanel capQueryPanel
capSizePanel
javax.swing.JPanel capSizePanel
capSizeQuery1
CapSizeQuery capSizeQuery1
currentFilesPanel
javax.swing.JPanel currentFilesPanel
fPSQuery1
FPSQuery fPSQuery1
fpsQueryPanel
javax.swing.JPanel fpsQueryPanel
jButton1
javax.swing.JButton jButton1
jButton2
javax.swing.JButton jButton2
jFormattedTextField3
javax.swing.JFormattedTextField jFormattedTextField3
jLabel1
javax.swing.JLabel jLabel1
jPanel1
javax.swing.JPanel jPanel1
jPanel2
javax.swing.JPanel jPanel2
jPanel4
javax.swing.JPanel jPanel4
jScrollPane1
javax.swing.JScrollPane jScrollPane1
jSeparator1
javax.swing.JSeparator jSeparator1
jSeparator2
javax.swing.JSeparator jSeparator2
jTextArea1
javax.swing.JTextArea jTextArea1
jToolBar1
javax.swing.JToolBar jToolBar1
jToolBar2
javax.swing.JToolBar jToolBar2
jToolBar3
javax.swing.JToolBar jToolBar3
jToolBar4
javax.swing.JToolBar jToolBar4
logoPanel
javax.swing.JPanel logoPanel
mainSavePanel
javax.swing.JPanel mainSavePanel
miscAudio
javax.swing.JPanel miscAudio
miscPanel
javax.swing.JPanel miscPanel
mouseCheckbox
javax.swing.JCheckBox mouseCheckbox
mousePosText
javax.swing.JTextField mousePosText
mousePosText2
javax.swing.JTextField mousePosText2
movieFile
javax.swing.JTextField movieFile
qSliderPanel
javax.swing.JPanel qSliderPanel
qualitySlider1
QualitySlider qualitySlider1
recAudioCheckbox
javax.swing.JCheckBox recAudioCheckbox
sQueryPanel
javax.swing.JPanel sQueryPanel
saveEnumCheckbox
javax.swing.JCheckBox saveEnumCheckbox
saveFileChooser1
SaveFileChooser saveFileChooser1
savePanel
javax.swing.JPanel savePanel
saveToolbar
javax.swing.JToolBar saveToolbar
screenFile
javax.swing.JTextField screenFile
soundQuery1
SoundQuery soundQuery1
soundQueryToolBar
javax.swing.JToolBar soundQueryToolBar
syncCheckbox
javax.swing.JCheckBox syncCheckbox
videoOutCheckbox
javax.swing.JCheckBox videoOutCheckbox
videoPanel
javax.swing.JPanel videoPanel
xText
javax.swing.JTextField xText
xValText
javax.swing.JTextField xValText
yText
javax.swing.JTextField yText
yValText
javax.swing.JTextField yValText
myContainer
javax.swing.JFrame myContainer
- This should contain the JFrame in which the KrutTimer is drawn.
The JButton1ActionPerformed method will call that object and tell
it to re-pack. This parameter is set in the setMainGUI method or the
constructor.
myOutput
OutputText myOutput
- The output window of this KrutTimer. Should be set through
the setOutput method.
timer
javax.swing.Timer timer
- Timer used to count down to recording start/stop.
startRecSeconds
int startRecSeconds
- When the timer is activated, startRecSeconds
contains the programmed starting time for
recording, counted in seconds from last
midnight. startRecSeconds is set in the
startTimer method. In the tickTimer method,
the current calendar time is compared to
startRecSeconds to see if recording should
start.
stopRecSeconds
int stopRecSeconds
- When the timer is activated, stopRecSeconds
contains the programmed stopping time for
recording, counted in seconds from last
midnight. stopRecSeconds is set in the
startTimer method. In the tickTimer method,
the current calendar time is compared to
stopRecSeconds to see if recording should
stop.
recHMemory
int recHMemory
- When the user changes the type of time to use in
the KrutTimer from actual time to relative time,
the old start-time fields are switched
with those in recHMemory, recMMemory, and
recSMemory. The switch is done in the
restoreTime method.
recMMemory
int recMMemory
- When the user changes the type of time to use in
the KrutTimer from actual time to relative time,
the old start-time fields are switched
with those in recHMemory, recMMemory, and
recSMemory. The switch is done in the
restoreTime method.
recSMemory
int recSMemory
- When the user changes the type of time to use in
the KrutTimer from actual time to relative time,
the old start-time fields are switched
with those in recHMemory, recMMemory, and
recSMemory. The switch is done in the
restoreTime method.
stopHMemory
int stopHMemory
- When the user changes the type of time to use in
the KrutTimer from actual time to relative time,
the old stop-time fields are switched
with those in stopHMemory, stopMMemory, and
stopSMemory. The switch is done in the
restoreTime method.
stopMMemory
int stopMMemory
- When the user changes the type of time to use in
the KrutTimer from actual time to relative time,
the old stop-time fields are switched
with those in stopHMemory, stopMMemory, and
stopSMemory. The switch is done in the
restoreTime method.
stopSMemory
int stopSMemory
- When the user changes the type of time to use in
the KrutTimer from actual time to relative time,
the old stop-time fields are switched
with those in stopHMemory, stopMMemory, and
stopSMemory. The switch is done in the
restoreTime method.
mode
int mode
- The mode of the KrutTimer. This can be either COUNTDOWN or COUNTUP.
In the countdown mode, the KrutTimer counts down from a given time,
and in the countup mode, the KrutTimer counts up towards a given
calendar time.
The mode can be read through getMode().
state
int state
- The state of the KrutTimer. This can be NOT_ACTIVE, WAITING, or
RECORDING. When the KrutTimer is not active, it waits for the
user to activate it through the "Activate Timer" JToggleButton.
When the KrutTimer is waiting, it waits for the time to reach
the given start time for recording. When the KrutTimer is
recording, it waits for the KrutTimer to reach the given stop
timer for recording, if there is one.
The state can be read through getState().
recHModel
javax.swing.SpinnerNumberModel recHModel
- The SpinnerNumberModel used for the recH spinner.
stopHModel
javax.swing.SpinnerNumberModel stopHModel
- The SpinnerNumberModel used for the stopH spinner.
recMModel
krut.KRUT_GUI.KrutTimer.TimeModel recMModel
- The TimeModel used for the recM spinner.
stopMModel
krut.KRUT_GUI.KrutTimer.TimeModel stopMModel
- The TimeModel used for the stopM spinner.
recSModel
krut.KRUT_GUI.KrutTimer.TimeModel recSModel
- The TimeModel used for the recS spinner.
stopSModel
krut.KRUT_GUI.KrutTimer.TimeModel stopSModel
- The TimeModel used for the stopS spinner.
buttonGroup1
javax.swing.ButtonGroup buttonGroup1
jButton1
javax.swing.JButton jButton1
jCheckBox1
javax.swing.JCheckBox jCheckBox1
jPanel1
javax.swing.JPanel jPanel1
jPanel2
javax.swing.JPanel jPanel2
jPanel3
javax.swing.JPanel jPanel3
jRadioButton1
javax.swing.JRadioButton jRadioButton1
jRadioButton2
javax.swing.JRadioButton jRadioButton2
jScrollPane1
javax.swing.JScrollPane jScrollPane1
jSeparator1
javax.swing.JSeparator jSeparator1
jTextField1
javax.swing.JTextField jTextField1
jToggleButton1
javax.swing.JToggleButton jToggleButton1
recH
javax.swing.JSpinner recH
recM
javax.swing.JSpinner recM
recS
javax.swing.JSpinner recS
stopH
javax.swing.JSpinner stopH
stopM
javax.swing.JSpinner stopM
stopS
javax.swing.JSpinner stopS
quality
int quality
- Video encoding quality, between 0 (lowest) and 100 (highest).
Video is encoded as JPG images, so the present parameter is a
measure of JPG compression.
myOutput
OutputText myOutput
- An OutputText object that the current class can use to create output.
altered
boolean altered
- Set to true if the slider has been changed by the user.
gridBagConstraints
java.awt.GridBagConstraints gridBagConstraints
sliderLabel
javax.swing.JLabel sliderLabel
- A text label above the slider.
encQuality
javax.swing.JSlider encQuality
- The JSlider used to display/change the video encoding quality.
labelTable
java.util.Dictionary<K,V> labelTable
- Used to display the right scale of values below the JSlider.
imageFile
java.io.File imageFile
- The file for the screenshot (jpg).
audioFile
java.io.File audioFile
- The file for the audio (wav).
videoFile
java.io.File videoFile
- The file for the movie (mov).
myOutput
OutputText myOutput
- An OutputText object that the current class can use to create output.
gridBagConstraints
java.awt.GridBagConstraints gridBagConstraints
myKrutSettings
KrutSettings myKrutSettings
- This is used to change the textfields for the save files
in the KrutSettings object. In the original program there
were no such textfields. They were added in the KrutSettings
window to avoid large changes to the SaveFileChooser window.
movieButton
javax.swing.JButton movieButton
- The button to change the movie save file.
audioButton
javax.swing.JButton audioButton
- The button to change the audio save file.
imageButton
javax.swing.JButton imageButton
- The button to change the screenshot save file.
fc
javax.swing.JFileChooser fc
- The JFileChooser used to change save files.
myExtension
java.lang.String myExtension
- A string containing the file type extensions. This parameter
is used by the "old" part of the code, which handles user interaction.
If the accepted file types are to be changed, the actionPerformed
method below should be modified to make the new file formats
appear in the SaveFileChooser.
drawingPane
javax.swing.JPanel drawingPane
image
java.awt.image.BufferedImage image
graph
java.awt.Graphics graph
imSizeX
int imSizeX
imSizeY
int imSizeY
frequency
int frequency
- The sound sampling frequency in Hz.
myOutput
OutputText myOutput
- An OutputText object that the current class can use to create output.
stereo
boolean stereo
- true = sound is stereo, false = sound is mono.
sixteenBit
boolean sixteenBit
- true = sound is 16-bit, false = sound is 8-bit.
altered
boolean altered
- A flag used to signal that the SoundQuery has been changed.
gridBagConstraints
java.awt.GridBagConstraints gridBagConstraints
doneButton
javax.swing.JButton doneButton
- The done button.
frequencyText
javax.swing.JTextField frequencyText
- Contains the word "Frequency:".
myLine
ScreenMarkerLine myLine