A B C D E F G H I K L M N O P Q R S T U V W Y

S

samples - Variable in class mckay.utilities.sound.sampled.AudioSamples
Audio samles, with a minimum value of -1 and a maximum value of +1.
saveAudio(File, boolean, AudioFileFormat.Type, boolean) - Method in class mckay.utilities.sound.sampled.AudioSamples
Saves the currently stored samples to the specified file.
saveByteArrayOutputStream(ByteArrayOutputStream, AudioFormat, File, AudioFileFormat.Type) - Static method in class mckay.utilities.sound.sampled.AudioMethodsGeneral
Stores the samples on the ByteArrayOutputStream to the given file.
saveContents(String, String, File) - Method in class mckay.utilities.general.FileSaver
Save the given text to the given location in the given format.
saveToFile(AudioInputStream, File, AudioFileFormat.Type) - Static method in class mckay.utilities.sound.sampled.AudioMethodsGeneral
Stores the samples coming in on the given AudioInputStream to the given file.
setAudioFormat(AudioFormat) - Method in class mckay.utilities.sound.sampled.AudioFormatJFrame
Sets GUI settings to those of a pre-defined AudioFormat.
setBackground(Color) - Method in class mckay.utilities.gui.tables.MultiLineCellRenderer
 
setColumnWidths(JTable, TableColumn[], int) - Static method in class mckay.utilities.gui.tables.TableSortModel
Resets the column widths of the given JTable so that each of the given columns has enough space to fit its header and all of its contents in the column, and no more.
setCountryResultsMustBeIn(String) - Method in class mckay.utilities.webservices.NetworkSearch
Set a specific country that sites must be in in order to be included in search results.
setDoubleProgressBarTaskCoordinator(DoubleProgressBarTaskCoordinator) - Method in interface mckay.utilities.gui.progressbars.ProcessCoordinator
Set the coordinator for the progress bar itself.
setEnabled(boolean) - Method in class mckay.utilities.gui.templates.ListInputPanel
As per the JPanle superclass setEnabled method.
setFileTypeResultsMustBelongTo(String) - Method in class mckay.utilities.webservices.NetworkSearch
Sets the file extension a document must have in order to be returned as a hit in search results.
setFont(Font) - Method in class mckay.utilities.gui.tables.MultiLineCellRenderer
 
setForeground(Color) - Method in class mckay.utilities.gui.tables.MultiLineCellRenderer
 
setIncludeSimilarButNonMatchingStrings(boolean) - Method in class mckay.utilities.webservices.NetworkSearch
Sets whether results returned by search queries performed by this object may include hits that do not contain one or more of the specified search string(s) but do contain terms very similar to them (e.g.
setLanguageResultsMustBeIn(String) - Method in class mckay.utilities.webservices.NetworkSearch
Set a specific language that hits must be in in order to be included in search results.
setLeftFrame(String) - Method in class mckay.utilities.gui.templates.HTMLFramesPanel
Cause the left frame to display the contents of the file at the given path.
setLiteralSearch(boolean) - Method in class mckay.utilities.webservices.NetworkSearch
Sets whether all search queries performed by this object should be literal searches (e.g.
setOrBasedSearch(boolean) - Method in class mckay.utilities.webservices.NetworkSearch
Sets whether search queries performed by this object need only contain one of the specified query words in order to result in a hit.
setProgressBar(SimpleProgressBarDialog) - Method in interface mckay.utilities.gui.templates.ListInputParser
Stores a progress bar that can be manipulated to display parsing progress.
setProgressBar(SimpleProgressBarDialog) - Method in class mckay.utilities.gui.templates.ListInputTextParser
Does not do anything for this class, as the progress bar is not manipulated directly.
setProgressBarDialog(DoubleProgressBarDialog) - Method in class mckay.utilities.gui.progressbars.DoubleProgressBarTaskCoordinator
Store the progress bar whose data this object will monitor.
setRegionToSearchFrom(String) - Method in class mckay.utilities.webservices.NetworkSearch
Set the name of a country where the search will be performed (i.e.
setRightFrame(String) - Method in class mckay.utilities.gui.templates.HTMLFramesPanel
Cause the right frame to display the contents of the file at the given path.
setSamples(double[][]) - Method in class mckay.utilities.sound.sampled.AudioSamples
Updates the samples stored in an object of this class.
setSearchStringsToExclude(String[]) - Method in class mckay.utilities.webservices.NetworkSearch
Sets strings to exclude in all search queries performed by this object.
setSpecificSiteToSearch(String) - Method in class mckay.utilities.webservices.NetworkSearch
Set a specific network site that should be exclusively searched in all search queries performed by this object.
setStrings(String[]) - Method in class mckay.utilities.gui.templates.ListInputPanel
Clears the text area and adds each string in the new_strings parameter as a new line in the text area.
setSubTaskProgressValue(int) - Method in class mckay.utilities.gui.progressbars.DoubleProgressBarTaskMonitor
Update the progress of the bottom progress bar.
setSuppressAdultContent(boolean) - Method in class mckay.utilities.webservices.NetworkSearch
Sets whether to suppress hits that are classified as containing adult content by the search service in question.
setSuppressSimilarHits(boolean) - Method in class mckay.utilities.webservices.NetworkSearch
Sets whether to suppress similar hits when reporting results.
setText(String) - Method in class mckay.utilities.gui.templates.ListInputPanel
Erases any text already in the text area and replaces it by the contents of new_text.
setText(String) - Method in class mckay.utilities.gui.templates.ResultsDisplayPanel
Erases any text already in the display_pane and replaces it by the contents of new_text.
setValue(JLabel, Object, int, Color) - Method in class mckay.utilities.gui.tables.MultiLineCellRenderer
Configures a label for one line of the cell.
setValueAt(Object, int, int) - Method in class mckay.utilities.gui.tables.TableSortModel
Sets the corresponding contents of the real TableModel.
setVisible(boolean) - Method in class mckay.utilities.sound.sampled.AudioFormatJFrame
Makes this JFrame visible or hidden, exactly as the inherited setVisible method does.
SimpleProgressBarDialog - Class in mckay.utilities.gui.progressbars
A dialog box containing only a progress bar.
SimpleProgressBarDialog(int, Component) - Constructor for class mckay.utilities.gui.progressbars.SimpleProgressBarDialog
Creates a new instance of SimpleProgressBarDialog.
SmartComparator - Class in mckay.utilities.general
A Comparator that can be used for making comparisons in tasks such as sorting.
SmartComparator() - Constructor for class mckay.utilities.general.SmartComparator
Basic constructor that stores the settings for the default locale.
sort() - Method in class mckay.utilities.vectorsorter.SortableVector
Iniates sorting of this Vector using the Quicksort algorithm.
SortableVector<E> - Class in mckay.utilities.vectorsorter
A Vector that includes a generalized implementation of the Quicksort algorithm.
SortableVector(QuicksortComparator) - Constructor for class mckay.utilities.vectorsorter.SortableVector
Stores the given QuicksortComparator object that will compare the elements during ordering.
sortArray(String[]) - Static method in class mckay.utilities.staticlibraries.SortingMethods
Takes a String array and returns an alphabetically sorted copy of it.
sortDoubleArray(double[]) - Static method in class mckay.utilities.staticlibraries.SortingMethods
Takes in an array of doubles and returns a copy of the array sorted from lowest to highest.
SortingMethods - Class in mckay.utilities.staticlibraries
A holder class for static methods relating to sorting.
SortingMethods() - Constructor for class mckay.utilities.staticlibraries.SortingMethods
 
sortIntArray(int[]) - Static method in class mckay.utilities.staticlibraries.SortingMethods
Takes in an array of ints and returns a copy of the array sorted from lowest to highest.
sortTable(String[][], int, int[]) - Static method in class mckay.utilities.staticlibraries.SortingMethods
Takes a two dimensional String array representing a table (column indice first, then row indice) and returns a copy of the table sorted by the data in the given column indice.
sortTree(DefaultMutableTreeNode) - Static method in class mckay.utilities.staticlibraries.SortingMethods
Takes the tree with the given root and reorders it so that all siblings are sorted alphebetically.
specific_site - Variable in class mckay.utilities.webservices.NetworkSearch
Network site that will be exclusively searched in all search queries performed by this object.
start() - Method in class mckay.utilities.gui.progressbars.SwingWorker
Start the worker thread.
startNewBottomProgress() - Method in class mckay.utilities.gui.progressbars.DoubleProgressBarTaskMonitor
Sets the new_bottom_task_started field to false and returns its previous value.
startNewFramesPage(String, String, int, String, File[]) - Static method in class mckay.utilities.general.HTMLWriter
Prepares the creation of a frame-based interface consisting of one frame on the left and one on the right (named, respectively, "left" and "right").
startNewHTMLFile(String, String, String, boolean, String, boolean) - Static method in class mckay.utilities.general.HTMLWriter
Creates a new HTML file at the given path and gives it a header that includes the given document title and a body tag that sets the text and background to the specified colours.
startNewHTMLFile(String, String, String, boolean) - Static method in class mckay.utilities.general.HTMLWriter
Creates the beginning of the contents for a new HTML file.
startNewSubTask(int, String) - Method in class mckay.utilities.gui.progressbars.DoubleProgressBarTaskMonitor
Called when a new sub-task is being started (i.e.
startNewTopProgress() - Method in class mckay.utilities.gui.progressbars.DoubleProgressBarTaskMonitor
Sets the new_top_task_started field to false and returns its previous value.
stop() - Method in class mckay.utilities.gui.progressbars.DoubleProgressBarTaskMonitor
Called if the overall task is cancelled.
stopPlaying() - Method in class mckay.utilities.sound.sampled.AudioMethodsPlayback.PlayThread
Causes any playback currently in progress to end.
stopRecording() - Method in class mckay.utilities.sound.sampled.AudioMethodsRecording.RecordThread
Causes any recording currently in progress to end.
stopRecording() - Method in class mckay.utilities.sound.sampled.AudioMethodsRecording.RecordToFileThread
Causes the recording currently in progress to end and saves the recorded data to disk.
StringMethods - Class in mckay.utilities.staticlibraries
A holder class for static methods relating to strings.
StringMethods() - Constructor for class mckay.utilities.staticlibraries.StringMethods
 
strings_to_exclude - Variable in class mckay.utilities.webservices.NetworkSearch
Strings to exclude in all search queries performed by this object (i.e filter strings).
StringSortableVector - Class in mckay.utilities.vectorsorter
A simplistic example of how the SortableVector class might be used in practice.
StringSortableVector() - Constructor for class mckay.utilities.vectorsorter.StringSortableVector
Initializes the object.
StripedTableCellRenderer - Class in mckay.utilities.gui.tables
Used to stripe alternate rows of a JTable.
StripedTableCellRenderer(TableCellRenderer, Color, Color, Color, Color) - Constructor for class mckay.utilities.gui.tables.StripedTableCellRenderer
Instantiates the StripedTableCellRenderer and stores the given parameters.
sub_task_durations - Variable in class mckay.utilities.gui.progressbars.DoubleProgressBarTaskMonitor
An array keeping track of how long each sub-task took.
sub_task_index - Variable in class mckay.utilities.gui.progressbars.DoubleProgressBarTaskMonitor
The index of the sub task currently being processed.
sub_task_names - Variable in class mckay.utilities.gui.progressbars.DoubleProgressBarTaskMonitor
An array keeping track of the name of each sub-task.
suppress_adult_content - Variable in class mckay.utilities.webservices.NetworkSearch
Whether to suppress hits that are classified as containing adult content by the search service in question.
suppress_similar_hits - Variable in class mckay.utilities.webservices.NetworkSearch
Whether to suppress similar hits when reporting results.
SwingWorker - Class in mckay.utilities.gui.progressbars
NOTE: this class is based on a class from the Sun Java Tutorial available at: http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/SwingWorker.java
SwingWorker() - Constructor for class mckay.utilities.gui.progressbars.SwingWorker
Start a thread that will call the construct method and then exit.
synthesizeAndWriteToBuffer(byte[], double, AudioFormat, int, double, double, double, double, double) - Static method in class mckay.utilities.sound.sampled.AudioMethodsSynthesis
Populates the given buffer with synthesized sound samples using the given AudioFormat.

A B C D E F G H I K L M N O P Q R S T U V W Y