A B C D E F G H I J K L M N O P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACCEL_GRAV - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Standard acceleration of gravity on Earth m.s^-2
- accept(File) - Method in class uk.ac.starlink.util.gui.BasicFileFilter
-
Return true if this file should be shown in the directory pane, false if it shouldn't.
- accept(File, String) - Method in class uk.ac.starlink.util.gui.BasicFileFilter
- ACCEPT_ENCODING - Static variable in class uk.ac.starlink.util.ContentCoding
-
Name of HTTP request header to request coded response ("Accept-Encoding").
- AcceptAction(String, Icon) - Constructor for class uk.ac.starlink.util.gui.ProxySetupFrame.AcceptAction
- AcceptAction(String, Icon) - Constructor for class uk.ac.starlink.util.gui.SelectCharacters.AcceptAction
- acceptButton - Variable in class uk.ac.starlink.util.gui.ProxySetupFrame
- accepted - Variable in class uk.ac.starlink.util.gui.BasicFontChooser
-
Whether selected font is accepted.
- accepted() - Method in class uk.ac.starlink.util.gui.BasicFontChooser
-
Return the exit status of the dialog.
- acceptValue() - Method in class uk.ac.starlink.util.gui.SelectStringDialog
-
Accept the value.
- actionBar - Variable in class uk.ac.starlink.util.gui.StoreControlFrame
-
Action buttons container.
- actionPerformed(ActionEvent) - Method in class uk.ac.starlink.util.gui.ProxySetupFrame.AcceptAction
- actionPerformed(ActionEvent) - Method in class uk.ac.starlink.util.gui.ProxySetupFrame.CancelAction
- actionPerformed(ActionEvent) - Method in class uk.ac.starlink.util.gui.SelectCharacters.AcceptAction
- actionPerformed(ActionEvent) - Method in class uk.ac.starlink.util.gui.SelectCharacters.CancelAction
- actionPerformed(ActionEvent) - Method in class uk.ac.starlink.util.gui.StoreControlFrame.AddAction
- actionPerformed(ActionEvent) - Method in class uk.ac.starlink.util.gui.StoreControlFrame.CloseAction
- actionPerformed(ActionEvent) - Method in class uk.ac.starlink.util.gui.StoreControlFrame.DeleteAction
- actionPerformed(ActionEvent) - Method in class uk.ac.starlink.util.gui.StoreControlFrame.RestoreAction
- actionPerformed(ActionEvent) - Method in class uk.ac.starlink.util.gui.StoreControlFrame.UpdateAction
- add(byte) - Method in class uk.ac.starlink.util.ByteList
-
Appends a value to the end of this list.
- add(double) - Method in class uk.ac.starlink.util.DoubleList
-
Appends a value to the end of this list.
- add(float) - Method in class uk.ac.starlink.util.FloatList
-
Appends a value to the end of this list.
- add(int) - Method in class uk.ac.starlink.util.IntList
-
Appends a value to the end of this list.
- add(long) - Method in class uk.ac.starlink.util.LongList
-
Appends a value to the end of this list.
- add(short) - Method in class uk.ac.starlink.util.ShortList
-
Appends a value to the end of this list.
- add(Component, boolean) - Method in class uk.ac.starlink.util.gui.GridBagLayouter
-
Add a control using the current scheme.
- add(Component, GridBagConstraints) - Method in class uk.ac.starlink.util.gui.GridBagLayouter
-
Add a control using given GridBagContraints.
- add(String) - Method in class uk.ac.starlink.util.gui.GridBagLayouter
-
Add a JLabel using the current scheme.
- add(String, boolean) - Method in class uk.ac.starlink.util.gui.GridBagLayouter
-
Add a JLabel using the current scheme.
- add(AbstractButton, T) - Method in class uk.ac.starlink.util.gui.ValueButtonGroup
-
Adds a button and associates a value with it.
- AddAction(String, Icon) - Constructor for class uk.ac.starlink.util.gui.StoreControlFrame.AddAction
- addActionListener(ActionListener) - Method in class uk.ac.starlink.util.gui.ChangingComboBoxModel
-
Adds a listener which is notified whenever the selection changes.
- addActionListener(ActionListener) - Method in class uk.ac.starlink.util.gui.Downloader
-
Adds a listener that will be notified if the data acquisition status changes.
- addActionListener(ActionListener) - Method in class uk.ac.starlink.util.gui.ExampleSelectField
-
Adds an action listener.
- addActionListener(ActionListener) - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Registers a listener who wants to be informed about changes to the character string.
- addArgument(String, double) - Method in class uk.ac.starlink.util.CgiQuery
-
Adds a floating point argument to this query.
- addArgument(String, float) - Method in class uk.ac.starlink.util.CgiQuery
-
Adds a single-precision floating point argument to this query.
- addArgument(String, long) - Method in class uk.ac.starlink.util.CgiQuery
-
Adds an integer argument to this query.
- addArgument(String, String) - Method in class uk.ac.starlink.util.CgiQuery
-
Adds a string argument to this query.
- addCDATASection(Element, String) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Create a new CDATA section with the given content and add it as a child of a given element.
- addChangeListener(ChangeListener) - Method in class uk.ac.starlink.util.gui.ChangingComboBoxModel
-
Adds a listener which is notified whenever the selection changes.
- addChangeListener(ChangeListener) - Method in class uk.ac.starlink.util.gui.ValueButtonGroup
-
Adds a listener which will be notified whenever this group's selected value changes.
- addChangeListener(ChangeListener) - Method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Registers a listener who wants to be informed about changes.
- addChildElement(Element, String) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Create a child element with no content and add it to the given element.
- addChildElement(Element, String, boolean) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Add an element with boolean value as a child of another element.
- addChildElement(Element, String, double) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Add an element with double value as a child of another element.
- addChildElement(Element, String, int) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Add an element with integer value as a child of another element.
- addChildElement(Element, String, AlphaComposite) - Static method in class uk.ac.starlink.util.gui.AWTXMLEncodeDecode
-
Add an element with an AlphaComposite value as a child of another element.
- addChildElement(Element, String, Color) - Static method in class uk.ac.starlink.util.gui.AWTXMLEncodeDecode
-
Add an element with a Color value as a child of another element.
- addChildElement(Element, String, Font) - Static method in class uk.ac.starlink.util.gui.AWTXMLEncodeDecode
-
Add an element with a Font value as a child of another element.
- addChildElement(Element, String, String) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Add an element with String value as a child of another element.
- addElement(String, String, String) - Method in class uk.ac.starlink.util.XmlWriter
-
Writes a whole element with given attribute list and content.
- addExtension(String) - Method in class uk.ac.starlink.util.gui.BasicFileFilter
-
Adds a filetype "dot" extension to filter against.
- addFonts() - Method in class uk.ac.starlink.util.gui.BasicFontChooser
-
Add all the available fonts.
- addItem(T) - Method in class uk.ac.starlink.util.CountMap
-
Counts an item.
- addListener(SelectCharactersListener) - Method in class uk.ac.starlink.util.gui.SelectCharacters
-
Registers a listener who wants to be informed about the final character string (when the window exits).
- addMap(Map<K, V>) - Method in class uk.ac.starlink.util.MapGroup
-
Adds a new Map to the end of this group.
- applicationName - Variable in class uk.ac.starlink.util.gui.StoreConfiguration
-
Name of the application (used for name of config directory).
- approveSelection() - Method in class uk.ac.starlink.util.gui.BasicFileChooser
- array() - Method in class uk.ac.starlink.util.GenericNioBuffer
-
Returns the primitive array that backs this buffer (optional operation).
- arrayOffset() - Method in class uk.ac.starlink.util.GenericNioBuffer
-
Returns the offset within this buffer's backing array of the first element of the buffer (optional operation).
- ArrayTableColumn<R,C> - Class in uk.ac.starlink.util.gui
-
Provides the specification for a table column.
- ArrayTableColumn(String, Class<C>) - Constructor for class uk.ac.starlink.util.gui.ArrayTableColumn
-
Constructor.
- ArrayTableModel<R> - Class in uk.ac.starlink.util.gui
-
TableModel which contains its data as an array of objects, one per row.
- ArrayTableModel() - Constructor for class uk.ac.starlink.util.gui.ArrayTableModel
-
Constructs a model with no columns or rows.
- ArrayTableSorter<R> - Class in uk.ac.starlink.util.gui
-
Handles GUI aspects of allowing the user to sort columns in a table by clicking on the column header.
- ArrayTableSorter(ArrayTableModel<R>) - Constructor for class uk.ac.starlink.util.gui.ArrayTableSorter
-
Constructor.
- AsciiFileParser - Class in uk.ac.starlink.util
-
Generalised parser for data stored as a table in a plain text file.
- AsciiFileParser() - Constructor for class uk.ac.starlink.util.AsciiFileParser
-
Create an instance.
- AsciiFileParser(boolean) - Constructor for class uk.ac.starlink.util.AsciiFileParser
-
Create an instance.
- AsciiFileParser(File) - Constructor for class uk.ac.starlink.util.AsciiFileParser
-
Create an instance and parse a given File.
- AsciiFileParser(File, boolean) - Constructor for class uk.ac.starlink.util.AsciiFileParser
-
Create an instance and parse a given File.
- assertArrayEquals(Object, Object) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two arrays have exactly the same contents.
- assertArrayEquals(Object, Object, double) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two numeric arrays have the same contents within a given tolerance.
- assertArrayEquals(String, Object, Object) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two arrays have exactly the same contents.
- assertArrayEquals(String, Object, Object, double) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two numeric arrays have the same contents within a given tolerance.
- assertArrayNotEquals(Object, Object) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two objects are not arrays with the same contents.
- assertArrayNotEquals(Object, Object, double) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two objects are not numeric arrays having the same contents within a given tolerance.
- assertArrayNotEquals(String, Object, Object) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two objects are not arrays with the same contents.
- assertArrayNotEquals(String, Object, Object, double) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two objects are not numeric arrays having the same contents within a given tolerance.
- assertDOMEquals(InputStream, Node, String, int) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that a DOM is equivalent to the DOM read from a given stream.
- assertDOMEquals(String, Node) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that a DOM is equivalent to the DOM implied by the XML in a given string.
- assertDOMEquals(String, Node, String, int) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that a DOM is equivalent to the DOM implied by the XML in a given string.
- assertDOMEquals(URL, Node) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that a DOM is equivalent to the XML in a given URL.
- assertDOMEquals(URL, Node, String, int) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that a DOM is equivalent to the XML in a given URL.
- assertDOMEquals(Node, Node) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two DOMs are equal.
- assertDOMEquals(Node, Node, String, int) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two DOMs are equal.
- assertEquals(double, double) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two doubles are exactly equal.
- assertEquals(float, float) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two floats are exactly equal.
- assertEquals(String, double, double) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two doubles are exactly equal.
- assertEquals(String, float, float) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two floats are exactly equal.
- assertSourceEquals(Source, Source, String, int) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that two XML
Source
objects represent the same XML Infoset. - assertValidXML(String, InputSource) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that the contents of a stream are valid XML.
- assertValidXML(InputSource) - Method in class uk.ac.starlink.util.TestCase
-
Asserts that the contents of a stream are valid XML.
- attemptReadData() - Method in class uk.ac.starlink.util.gui.Downloader
-
Performs the actual download.
- AU - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
1 Astronomical unit - m
- AuxClassLoader - Class in uk.ac.starlink.util
-
This class provides a ClassLoader which looks on a given class path.
- AuxClassLoader(String) - Constructor for class uk.ac.starlink.util.AuxClassLoader
-
Constructs a ClassLoader which will look on a given path.
- available() - Method in class uk.ac.starlink.util.Base64InputStream
- available() - Method in class uk.ac.starlink.util.UncompressInputStream
- AWTXMLEncodeDecode - Class in uk.ac.starlink.util.gui
-
A static utility class for encoding and decoding some AWT primitives to and from XML.
B
- Base64InputStream - Class in uk.ac.starlink.util
-
Reads in base-64 encoded input and spits out the raw binary decoding.
- Base64InputStream(InputStream) - Constructor for class uk.ac.starlink.util.Base64InputStream
- Base64OutputStream - Class in uk.ac.starlink.util
-
An output stream filter that takes arbitrary bytes and outputs their base64 encoding.
- Base64OutputStream(OutputStream) - Constructor for class uk.ac.starlink.util.Base64OutputStream
-
Create a stream that does not insert line breaks.
- Base64OutputStream(OutputStream, int) - Constructor for class uk.ac.starlink.util.Base64OutputStream
- BasicFileChooser - Class in uk.ac.starlink.util.gui
-
A JFileChooser that attempts to do something useful with windows shortcuts.
- BasicFileChooser() - Constructor for class uk.ac.starlink.util.gui.BasicFileChooser
-
Construct a default instance.
- BasicFileChooser(boolean) - Constructor for class uk.ac.starlink.util.gui.BasicFileChooser
-
Construct a instance with a choice of default directory.
- BasicFileChooser(String) - Constructor for class uk.ac.starlink.util.gui.BasicFileChooser
-
Construct a instance with a choice of default directory.
- BasicFileFilter - Class in uk.ac.starlink.util.gui
-
A FileFilter for configuring a
JFileChooser
to only show files that have one of a set of file extensions. - BasicFileFilter() - Constructor for class uk.ac.starlink.util.gui.BasicFileFilter
-
Creates a file filter.
- BasicFileFilter(String) - Constructor for class uk.ac.starlink.util.gui.BasicFileFilter
-
Creates a file filter that accepts files with the given extension.
- BasicFileFilter(String[]) - Constructor for class uk.ac.starlink.util.gui.BasicFileFilter
-
Creates a file filter from the given string array.
- BasicFileFilter(String[], String) - Constructor for class uk.ac.starlink.util.gui.BasicFileFilter
-
Creates a file filter from the given string array and description.
- BasicFileFilter(String, String) - Constructor for class uk.ac.starlink.util.gui.BasicFileFilter
-
Creates a file filter that accepts the given file type.
- BasicFontChooser - Class in uk.ac.starlink.util.gui
-
BasicFontChooser is a dialog for choosing one of the available fonts.
- BasicFontChooser() - Constructor for class uk.ac.starlink.util.gui.BasicFontChooser
-
Construct an instance with default configuration.
- BasicFontChooser(Frame, String, boolean) - Constructor for class uk.ac.starlink.util.gui.BasicFontChooser
-
Construct an instance, setting the parent, window title and whether the dialog is modal.
- BasicFontChooser(String) - Constructor for class uk.ac.starlink.util.gui.BasicFontChooser
-
Construct an instance using the given window title.
- BeanTableModel - Class in uk.ac.starlink.util.gui
-
TableModel which displays beans.
- BeanTableModel(Class) - Constructor for class uk.ac.starlink.util.gui.BeanTableModel
-
Constructs a new table model for displaying beans of a given class.
- BOLTZMANN - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Boltzmann constant - J.K^-1
- booleanFromString(String) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Convert a String back to a boolean.
- booleanToString(boolean) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Convert a boolean to a String.
- ByteArrayDataSource - Class in uk.ac.starlink.util
-
DataSource implementation that uses an internal byte buffer to store the data.
- ByteArrayDataSource(String, byte[]) - Constructor for class uk.ac.starlink.util.ByteArrayDataSource
-
Constructor.
- ByteList - Class in uk.ac.starlink.util
-
Extendable array of bytes.
- ByteList() - Constructor for class uk.ac.starlink.util.ByteList
-
Constructs a new list.
- ByteList(byte[]) - Constructor for class uk.ac.starlink.util.ByteList
-
Constructs a new list initialised to the contents of a given array.
- ByteList(int) - Constructor for class uk.ac.starlink.util.ByteList
-
Constructs a new list with a given initial capacity.
- BZIP2 - Static variable in class uk.ac.starlink.util.Compression
-
A Compression object representing BZip2 compression.
C
- CancelAction(String, Icon) - Constructor for class uk.ac.starlink.util.gui.ProxySetupFrame.CancelAction
- CancelAction(String, Icon) - Constructor for class uk.ac.starlink.util.gui.SelectCharacters.CancelAction
- cancelButton - Variable in class uk.ac.starlink.util.gui.BasicFontChooser
-
Cancel and exit button.
- cancelButton - Variable in class uk.ac.starlink.util.gui.ProxySetupFrame
- cellSelected(ListSelectionEvent) - Method in class uk.ac.starlink.util.gui.SelectCharacters
-
A cell has been selected.
- CgiQuery - Class in uk.ac.starlink.util
-
Utility class for constructing CGI query strings.
- CgiQuery(String) - Constructor for class uk.ac.starlink.util.CgiQuery
-
Constructs a CGI query.
- ChangingComboBoxModel - Class in uk.ac.starlink.util.gui
-
ComboBoxModel which can notify
ChangeListener
s andjavax.swing.event.ActionListener
s of changes in the selection. - ChangingComboBoxModel() - Constructor for class uk.ac.starlink.util.gui.ChangingComboBoxModel
-
Constructs an empty model.
- ChangingComboBoxModel(Object[]) - Constructor for class uk.ac.starlink.util.gui.ChangingComboBoxModel
-
Constructs a model with a given initial list of items.
- charButton - Variable in class uk.ac.starlink.util.gui.SelectTextField
-
Button to initiate selecting special characters.
- charChooser - Variable in class uk.ac.starlink.util.gui.SelectTextField
-
The special character chooser.
- checkEntryStates() - Method in class uk.ac.starlink.util.gui.ProxySetupFrame
-
Check the entry states for the proxy hostname and port.
- checkJ2se() - Static method in class uk.ac.starlink.util.Loader
-
Checks that the JRE contains classes that you'd expect it to.
- checkJ2seVendor() - Static method in class uk.ac.starlink.util.Loader
-
Checks the reported vendor for this J2SE.
- chooseChars() - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Choose a special character phrase to append.
- chooseText(String) - Method in class uk.ac.starlink.util.gui.ExampleSelectField
-
Marks given text as a chosen value for this component.
- clear() - Method in class uk.ac.starlink.util.CountMap
-
Sets all the item counts to zero.
- clearData() - Method in class uk.ac.starlink.util.gui.Downloader
-
Resets the state of this downloader, as if the no download attempt had been made.
- close() - Method in class uk.ac.starlink.util.Base64InputStream
- close() - Method in class uk.ac.starlink.util.Base64OutputStream
-
This invokes
Base64OutputStream.endBase64()
and closes the next stream downstream. - close() - Method in class uk.ac.starlink.util.DataSource
-
Closes any open streams owned and not yet dispatched by this DataSource.
- CloseAction(String, Icon) - Constructor for class uk.ac.starlink.util.gui.StoreControlFrame.CloseAction
- closeFileMenu - Variable in class uk.ac.starlink.util.gui.ProxySetupFrame
- closeWindow() - Method in class uk.ac.starlink.util.gui.SelectStringDialog
-
Close the window.
- closeWindow(boolean) - Method in class uk.ac.starlink.util.gui.BasicFontChooser
-
Close the window.
- closeWindowEvent() - Method in class uk.ac.starlink.util.gui.StoreControlFrame
-
Close the window.
- closeWindowEvent(boolean) - Method in class uk.ac.starlink.util.gui.ProxySetupFrame
-
Close the window by withdrawing it.
- closeWindowEvent(boolean) - Method in class uk.ac.starlink.util.gui.SelectCharacters
-
Close window, either sending the text to any registered listeners, or not.
- colorFromString(String) - Static method in class uk.ac.starlink.util.gui.AWTXMLEncodeDecode
-
Convert a String object back to a Color object.
- colorIcon(Icon, Color) - Static method in class uk.ac.starlink.util.IconUtils
-
Modifies an existing icon by changing its colour.
- colorToString(Color) - Static method in class uk.ac.starlink.util.gui.AWTXMLEncodeDecode
-
Convert a Color object to a string.
- columnAdded(TableColumnModelEvent) - Method in class uk.ac.starlink.util.gui.WeakTableColumnModelListener
- columnMarginChanged(ChangeEvent) - Method in class uk.ac.starlink.util.gui.WeakTableColumnModelListener
- columnMoved(TableColumnModelEvent) - Method in class uk.ac.starlink.util.gui.WeakTableColumnModelListener
- columnRemoved(TableColumnModelEvent) - Method in class uk.ac.starlink.util.gui.WeakTableColumnModelListener
- columnSelectionChanged(ListSelectionEvent) - Method in class uk.ac.starlink.util.gui.WeakTableColumnModelListener
- ComboBoxBumper - Class in uk.ac.starlink.util.gui
-
Icon providing arrows to cycle the value of a JComboBox up or down.
- ComboBoxBumper(JComboBox) - Constructor for class uk.ac.starlink.util.gui.ComboBoxBumper
-
Constructs a new bumper based on a given combo box.
- compositeFromString(String) - Static method in class uk.ac.starlink.util.gui.AWTXMLEncodeDecode
-
Convert a String object back to an AlphaComposite object.
- compositeToString(AlphaComposite) - Static method in class uk.ac.starlink.util.gui.AWTXMLEncodeDecode
-
Convert an AlphaComposite object to a string.
- COMPRESS - Static variable in class uk.ac.starlink.util.Compression
-
A Compression object representing Unix compress-type compression.
- Compression - Class in uk.ac.starlink.util
-
Characterises the compression status of a stream, and provides methods for decompressing it.
- ConstrainedViewportLayout - Class in uk.ac.starlink.util.gui
-
This is a tweaked ViewportLayout implementation to work round an issue with scrollbar positioning.
- ConstrainedViewportLayout() - Constructor for class uk.ac.starlink.util.gui.ConstrainedViewportLayout
- CONTENT_ENCODING - Static variable in class uk.ac.starlink.util.ContentCoding
-
Name of HTTP response header to mark coded response ("Content-Encoding").
- ContentCoding - Class in uk.ac.starlink.util
-
Defines a policy for Content Codings used in HTTP connections.
- ContentCoding() - Constructor for class uk.ac.starlink.util.ContentCoding
-
Constructor.
- contentPane - Variable in class uk.ac.starlink.util.gui.BasicFontChooser
-
The dialog contentpane.
- contentPane - Variable in class uk.ac.starlink.util.gui.StoreControlFrame
-
Content pane of frame.
- contentsChanged(ListDataEvent) - Method in class uk.ac.starlink.util.gui.WeakListDataListener
- ContentType - Class in uk.ac.starlink.util
-
Represents a Content Type (MIME type) string.
- ContentType(String, String) - Constructor for class uk.ac.starlink.util.ContentType
-
Constructs a ContentType from type and subtype strings.
- ContentType(String, String, Map<String, String>) - Constructor for class uk.ac.starlink.util.ContentType
-
Constructs a ContentType from its constituent parts.
- copy(InputStream, OutputStream) - Static method in class uk.ac.starlink.util.IOUtils
-
Copies all the bytes from a given input stream to a given output stream.
- CountInputStream - Class in uk.ac.starlink.util
-
Filter input stream that counts the number of bytes read.
- CountInputStream(InputStream) - Constructor for class uk.ac.starlink.util.CountInputStream
-
Constructor.
- CountMap<T> - Class in uk.ac.starlink.util
-
Keeps track of the number of times an item of type T has been added.
- CountMap() - Constructor for class uk.ac.starlink.util.CountMap
-
Constructor.
- createArrowIcon(boolean, int) - Static method in class uk.ac.starlink.util.gui.SortingHeaderRenderer
-
Returns an icon suitable for marking a column as sorted.
- createAuthentication() - Static method in class uk.ac.starlink.util.PropertyAuthenticator
-
Returns a PasswordAuthentication instance suitable for use with PropertyAuthenticator.
- createCommandLineProcessBuilder(String) - Static method in class uk.ac.starlink.util.ProcessDataSource
-
Utility method to create a process builder given a shell command line that generates output to standard output.
- createEmptyDoc() - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Create an empty document
- createMonitorComponent() - Method in class uk.ac.starlink.util.gui.Downloader
-
Returns a little component that monitors status of this downloader.
- createMultiplexer(Class<T>) - Method in class uk.ac.starlink.util.MultiplexInvocationHandler
-
Returns a new proxy instance which implements the given interface type, and which uses this handler to execute its methods.
- createObject(String) - Method in class uk.ac.starlink.util.ObjectFactory
-
Constructs and returns an object from one of the classes registered with this factory.
- createStream() - Method in interface uk.ac.starlink.util.Destination
-
Returns an output stream which will write to this destination.
- createTextIcon(String, Graphics) - Static method in class uk.ac.starlink.util.IconUtils
-
Returns an icon that paints a line of text.
- createURLStreamHandler(String) - Method in class uk.ac.starlink.util.CustomURLStreamHandlerFactory
- currentFont - Variable in class uk.ac.starlink.util.gui.BasicFontChooser
-
Selected font name
- currentSize - Variable in class uk.ac.starlink.util.gui.BasicFontChooser
-
Selected font size.
- currentStyle - Variable in class uk.ac.starlink.util.gui.BasicFontChooser
-
Selected font style.
- CustomComboBoxRenderer - Class in uk.ac.starlink.util.gui
-
Utility class which does the job of rendering items into a JComboBox when you just want to provide a different stringification of them than the one provided by the toString method.
- CustomComboBoxRenderer() - Constructor for class uk.ac.starlink.util.gui.CustomComboBoxRenderer
- CustomURLStreamHandlerFactory - Class in uk.ac.starlink.util
-
Customisable implementation of
URLStreamHandlerFactory
. - CustomURLStreamHandlerFactory() - Constructor for class uk.ac.starlink.util.CustomURLStreamHandlerFactory
-
Constructs a no-op handler factory.
- CustomURLStreamHandlerFactory(Map<String, String>) - Constructor for class uk.ac.starlink.util.CustomURLStreamHandlerFactory
-
Constructs a handler factory initialised with a given protocol->classname map.
D
- DataSource - Class in uk.ac.starlink.util
-
Represents a stream-like source of data.
- DataSource() - Constructor for class uk.ac.starlink.util.DataSource
-
Constructs a DataSource with a default size of intro buffer.
- DataSource(int) - Constructor for class uk.ac.starlink.util.DataSource
-
Constructs a DataSource with a given size of intro buffer.
- DEC_ICON - Static variable in class uk.ac.starlink.util.gui.ComboBoxBumper
-
Icon for decrement button.
- decode(File) - Method in class uk.ac.starlink.util.AsciiFileParser
-
Open, read and decode the contents of the file.
- decode(Element) - Method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
- decode(Element) - Method in interface uk.ac.starlink.util.XMLEncodeDecode
-
Decode (ie, restore) the internal state of this object from an Element.
- decompress(InputStream) - Method in class uk.ac.starlink.util.Compression
-
Returns a stream which is a decompressed version of the input stream, according to this objects compression type.
- decompressStatic(InputStream) - Static method in class uk.ac.starlink.util.Compression
-
Returns a decompressed version of the given input stream.
- DEFAULT_INTRO_LIMIT - Static variable in class uk.ac.starlink.util.DataSource
- DeleteAction(String, Icon) - Constructor for class uk.ac.starlink.util.gui.StoreControlFrame.DeleteAction
- deleteSelectedConfigurations() - Method in class uk.ac.starlink.util.gui.StoreControlFrame
-
Delete all the selected configurations, or none if none are selected.
- delims - Variable in class uk.ac.starlink.util.AsciiFileParser
-
The permissible delimeters between fields.
- Destination - Interface in uk.ac.starlink.util
-
Defines an object which can return an output stream, and hence represents the potential destination of a stream of data.
- document - Variable in class uk.ac.starlink.util.gui.StoreConfiguration
-
The Document.
- DOMUtils - Class in uk.ac.starlink.util
-
Provides convenience methods for handling DOMs.
- doReading(InputStream) - Method in class uk.ac.starlink.util.PipeReaderThread
-
This method should be implemented to consume all the bytes in the given input stream.
- doubleFromString(String) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Convert a String back to a double.
- DoubleList - Class in uk.ac.starlink.util
-
Extendable array of doubles.
- DoubleList() - Constructor for class uk.ac.starlink.util.DoubleList
-
Constructs a new list.
- DoubleList(double[]) - Constructor for class uk.ac.starlink.util.DoubleList
-
Constructs a new list initialised to the contents of a given array.
- DoubleList(int) - Constructor for class uk.ac.starlink.util.DoubleList
-
Constructs a new list with a given initial capacity.
- doubleToString(double) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Convert a double to a String.
- Downloader<T> - Class in uk.ac.starlink.util.gui
-
Manages downloading of data that only needs to be got once.
- Downloader(Class<T>, String) - Constructor for class uk.ac.starlink.util.gui.Downloader
-
Constructor.
- DragListener - Class in uk.ac.starlink.util.gui
-
Mouse listener object which watches for a drag gesture, and invokes TransferHandler.exportAsDrag() when it sees one.
- DragListener() - Constructor for class uk.ac.starlink.util.gui.DragListener
- duplicate() - Method in class uk.ac.starlink.util.GenericNioBuffer
-
Creates a new buffer that shares this buffer's content.
E
- eatLine() - Method in class uk.ac.starlink.util.gui.GridBagLayouter
-
Eat to end of current line.
- eatSpare() - Method in class uk.ac.starlink.util.gui.GridBagLayouter
-
Finish adding by "eating" all remaining space (makes components move to top of container).
- ELECTRON_MASS - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Electron mass - Kg
- ELECTRON_VOLT - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Electron volt - J
- ELLIPSIS - Static variable in class uk.ac.starlink.util.gui.FileNameListCellRenderer
- emptyIcon(int, int) - Static method in class uk.ac.starlink.util.IconUtils
-
Returns an icon with a given size and no content.
- encode(Element) - Method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
- encode(Element) - Method in interface uk.ac.starlink.util.XMLEncodeDecode
-
Encode the internal state of this object so that it is rooted in the given Element.
- endBase64() - Method in class uk.ac.starlink.util.Base64OutputStream
-
Calling this will put the ending padding on the base64 stream, so don't call it until you have no data left.
- endElement(String) - Method in class uk.ac.starlink.util.XmlWriter
-
Outputs an end element tag.
- equals(Object) - Method in class uk.ac.starlink.util.CgiQuery
- equals(Object) - Method in class uk.ac.starlink.util.ContentType
- ErrorDialog - Class in uk.ac.starlink.util.gui
-
Utility class for displaying an error dialogue to the user.
- ErrorDialog(Frame, Throwable, String, String[]) - Constructor for class uk.ac.starlink.util.gui.ErrorDialog
-
Constructor.
- ExampleSelectField - Class in uk.ac.starlink.util.gui
-
Text entry component with some additional features.
- ExampleSelectField(String) - Constructor for class uk.ac.starlink.util.gui.ExampleSelectField
-
Constructor.
- ExampleTextField - Class in uk.ac.starlink.util.gui
-
TextField that presents an initial greyed-out text before use.
- ExampleTextField(String) - Constructor for class uk.ac.starlink.util.gui.ExampleTextField
-
Constructor.
- exists() - Method in class uk.ac.starlink.util.ResourceDataSource
-
Indicates whether this resource can be located by the class loader or not.
F
- FileDataSource - Class in uk.ac.starlink.util
-
A DataSource implementation based on a
File
. - FileDataSource(File) - Constructor for class uk.ac.starlink.util.FileDataSource
-
Creates a new FileDataSource from a File object.
- FileDataSource(File, String) - Constructor for class uk.ac.starlink.util.FileDataSource
-
Creates a new FileDataSource from a File object and a position string.
- FileDataSource(String) - Constructor for class uk.ac.starlink.util.FileDataSource
-
Creates a new FileDataSource from a filename.
- fileMenu - Variable in class uk.ac.starlink.util.gui.ProxySetupFrame
- fileMenu - Variable in class uk.ac.starlink.util.gui.StoreControlFrame
- FileNameListCellRenderer - Class in uk.ac.starlink.util.gui
-
FileNameListCellRenderer is a
ListCellRenderer
that displays aFile
orString
truncated to the left, not right, so that the most meaningful parts of a file name are shown. - FileNameListCellRenderer() - Constructor for class uk.ac.starlink.util.gui.FileNameListCellRenderer
-
Create an instance with default behaviour.
- FileNameListCellRenderer(JComboBox) - Constructor for class uk.ac.starlink.util.gui.FileNameListCellRenderer
-
Create an instance that matches its width to that of a given
JComboBox
. - fillCycle(Object, int, int) - Method in class uk.ac.starlink.util.TestCase
-
Fills a given array with a regular pattern of integer values.
- fillCycle(Object, Object) - Method in class uk.ac.starlink.util.TestCase
-
Fills a given array with a pattern of values taken from another one.
- fillRandom(Object, double, double) - Method in class uk.ac.starlink.util.TestCase
-
Fills a given array with random numbers between two floating point values.
- fillRandom(Object, int, int) - Method in class uk.ac.starlink.util.TestCase
-
Fills a given array with random numbers between two integer values.
- finalize() - Method in class uk.ac.starlink.util.TemporaryFileDataSource
-
Deletes the temporary data file.
- FINE_STRUCTURE - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Fine structure constant - unitless
- finishReading() - Method in class uk.ac.starlink.util.PipeReaderThread
-
Waits until the doReading method has finished reading the bytes written down the output stream, closes the input stream, and returns.
- fireAction(ActionEvent) - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Send action event to all listeners.
- fireActionPerformed(Object) - Method in class uk.ac.starlink.util.gui.ChangingComboBoxModel
-
Called to notify listeners of a change.
- fireChanged() - Method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Send ChangeEvent event to all listeners.
- fireExiting() - Method in class uk.ac.starlink.util.gui.SelectCharacters
-
Send SelectCharactersEvent event to all listeners.
- fireSelectionChanged(Object) - Method in class uk.ac.starlink.util.gui.ChangingComboBoxModel
-
Called to notify listeners of a change.
- fixed - Variable in class uk.ac.starlink.util.AsciiFileParser
-
Whether the number of fields is fixed.
- fixURL(URL) - Static method in class uk.ac.starlink.util.URLUtils
-
Fixes file: URLs which don't have enough slashes in them.
- FloatList - Class in uk.ac.starlink.util
-
Extendable array of floats.
- FloatList() - Constructor for class uk.ac.starlink.util.FloatList
-
Constructs a new list.
- FloatList(float[]) - Constructor for class uk.ac.starlink.util.FloatList
-
Constructs a new list initialised to the contents of a given array.
- FloatList(int) - Constructor for class uk.ac.starlink.util.FloatList
-
Constructs a new list with a given initial capacity.
- followRedirects(URLConnection, int[]) - Static method in class uk.ac.starlink.util.URLUtils
-
Takes a URLConnection and repeatedly follows 3xx redirects until a non-redirect status is achieved.
- font - Variable in class uk.ac.starlink.util.gui.SelectCharactersModel
-
The font that we're displaying.
- fontBox - Variable in class uk.ac.starlink.util.gui.BasicFontChooser
-
List of all available fonts.
- fontDisplay - Variable in class uk.ac.starlink.util.gui.BasicFontChooser
-
Display of the currently selected font.
- fontFromString(String) - Static method in class uk.ac.starlink.util.gui.AWTXMLEncodeDecode
-
Convert a String back to a Font.
- fontLabel - Variable in class uk.ac.starlink.util.gui.BasicFontChooser
-
Label for font selector.
- fontToString(Font) - Static method in class uk.ac.starlink.util.gui.AWTXMLEncodeDecode
-
Convert a Font to a string.
- forceCompression(Compression) - Method in class uk.ac.starlink.util.DataSource
-
Returns a DataSource representing the same underlying stream, but with a forced compression mode compress.
- formatAttribute(String, String) - Static method in class uk.ac.starlink.util.XmlWriter
-
Turns a name,value pair into an attribute assignment suitable for putting in an XML start tag.
- formatDouble(double) - Static method in class uk.ac.starlink.util.CgiQuery
-
Formats a double precision value.
- formatDouble(double, int, int) - Static method in class uk.ac.starlink.util.CgiQuery
-
Formats a floating point value.
- formatFloat(float) - Static method in class uk.ac.starlink.util.CgiQuery
-
Formats a single precision value.
- formatText(String) - Static method in class uk.ac.starlink.util.XmlWriter
-
Performs necessary special character escaping for text which will be written as XML CDATA.
G
- GenericNioBuffer - Class in uk.ac.starlink.util
-
Convenience class which wraps one of the NIO <Type>Buffer classes to provide generic functionality.
- GenericNioBuffer(Buffer) - Constructor for class uk.ac.starlink.util.GenericNioBuffer
-
Construct a GenericNioBuffer based on an existing
Buffer
. - get(int) - Method in class uk.ac.starlink.util.ByteList
-
Returns the element at a given position.
- get(int) - Method in class uk.ac.starlink.util.DoubleList
-
Returns the element at a given position.
- get(int) - Method in class uk.ac.starlink.util.FloatList
-
Returns the element at a given position.
- get(int) - Method in class uk.ac.starlink.util.IntList
-
Returns the element at a given position.
- get(int) - Method in class uk.ac.starlink.util.LongList
-
Returns the element at a given position.
- get(int) - Method in class uk.ac.starlink.util.ShortList
-
Returns the element at a given position.
- get(Object) - Method in class uk.ac.starlink.util.GenericNioBuffer
-
Generic relative bulk get method.
- get(Object, int, int) - Method in class uk.ac.starlink.util.GenericNioBuffer
-
Generic relative bulk get method.
- getApplicationName() - Method in interface uk.ac.starlink.util.gui.StoreSource
-
Return a name for this application.
- getBase() - Method in interface uk.ac.starlink.util.Wrapper
-
Returns the base object.
- getBaseRenderer() - Method in class uk.ac.starlink.util.gui.SortingHeaderRenderer
-
Returns the renderer on which this one is based.
- getBooleanField(int, int) - Method in class uk.ac.starlink.util.AsciiFileParser
-
Get the boolean value of a field.
- getBuffer() - Method in class uk.ac.starlink.util.GenericNioBuffer
-
Returns the buffer object on which this generic buffer is based.
- getChildElementByName(Node, String) - Static method in class uk.ac.starlink.util.DOMUtils
-
Returns the first child element of a node which has a given name.
- getChildElements(Element) - Static method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Return all the Elements that are children of another Element.
- getChildElements(Element) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Return all the Elements that are children of another Element.
- getChildren(Element) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Return a List of all children.
- getClassInstance(String, Class<T>) - Static method in class uk.ac.starlink.util.Loader
-
Attempts to obtain an instance of a class with a given name which is an instance of a given type.
- getClassInstances(String[], String, Class<T>) - Static method in class uk.ac.starlink.util.Loader
-
Returns a list of class instances got from a combination of a default list of classnames and the name of a property which may contain a colon-separated list of other classnames.
- getClassInstances(String, Class<T>) - Static method in class uk.ac.starlink.util.Loader
-
Attempts to obtain instances of a class from a colon-separated list of classnames in a named system property.
- getClassLoader() - Method in class uk.ac.starlink.util.ResourceDataSource
-
Returns the ClassLoader which is used for resource resolution.
- getColors() - Method in class uk.ac.starlink.util.gui.MemoryMonitor
-
Returns the colour scheme.
- getColumnClass(int) - Method in class uk.ac.starlink.util.gui.ArrayTableModel
- getColumnClass(int) - Method in class uk.ac.starlink.util.gui.BeanTableModel
- getColumnClass(int) - Method in class uk.ac.starlink.util.gui.SelectCharactersModel
-
Return the column classes.
- getColumnCount() - Method in class uk.ac.starlink.util.gui.ArrayTableModel
- getColumnCount() - Method in class uk.ac.starlink.util.gui.BeanTableModel
- getColumnCount() - Method in class uk.ac.starlink.util.gui.SelectCharactersModel
-
Returns the number of columns.
- getColumnCount() - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Get the number of columns.
- getColumnName(int) - Method in class uk.ac.starlink.util.gui.ArrayTableModel
- getColumnName(int) - Method in class uk.ac.starlink.util.gui.BeanTableModel
- getColumnName(int) - Method in class uk.ac.starlink.util.gui.SelectCharactersModel
-
Return the column names.
- getColumnName(int) - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Get the name of a column.
- getColumns() - Method in class uk.ac.starlink.util.gui.ArrayTableModel
-
Returns the column specifiers used by this table.
- getCompression() - Method in class uk.ac.starlink.util.DataSource
-
Returns an object which will handle any required decompression for this stream.
- getCompression(byte[]) - Static method in class uk.ac.starlink.util.Compression
-
Returns a Compression object characterising the compression (if any) represented by a given magic number.
- getConfigDirectory(String) - Static method in class uk.ac.starlink.util.gui.StoreFileUtils
-
The name of the directory used for storing configuration information.
- getConfigFile(String, String) - Static method in class uk.ac.starlink.util.gui.StoreFileUtils
-
Construct the proper name of a file stored in the configuration directory.
- getContainer() - Method in class uk.ac.starlink.util.gui.GridBagLayouter
-
Get the container we're adding to.
- getContentClass() - Method in class uk.ac.starlink.util.gui.ArrayTableColumn
-
Returns the class which all values of this column will belong to.
- getCount() - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Get the number of states that are stored.
- getCount(T) - Method in class uk.ac.starlink.util.CountMap
-
Returns the number of times a given item has been added.
- getData() - Method in class uk.ac.starlink.util.gui.BeanTableModel
-
Returns the array of objects which this model displays, one per row.
- getData() - Method in class uk.ac.starlink.util.gui.Downloader
-
Immediately returns the downloaded data, or null if it has not been downloaded, or if a download has failed.
- getDateStamp(int) - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Get the date stamp of a state by index.
- getDelimeters() - Method in class uk.ac.starlink.util.AsciiFileParser
-
Get the character used as field delimeters.
- getDescription() - Method in class uk.ac.starlink.util.gui.BasicFileFilter
-
Returns the human readable description of this filter.
- getDescription(int) - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Get the description of a state by index.
- getDocument() - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Get the document model used by the JTextField.
- getDOM(Source) - Method in class uk.ac.starlink.util.SourceReader
-
Returns a DOM Node representing the given source.
- getDoubleField(int, int) - Method in class uk.ac.starlink.util.AsciiFileParser
-
Get the double precision value of a field.
- getElement(Source) - Method in class uk.ac.starlink.util.SourceReader
-
Returns a DOM Element representing the given source.
- getElementClass() - Method in class uk.ac.starlink.util.GenericNioBuffer
-
Returns the class object of the primitive type that the buffer holds.
- getElementName(Element) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Get the name of an element.
- getElementValue(Element) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Get the "value" of an element (really the content).
- getErrorStream(URLConnection) - Method in class uk.ac.starlink.util.ContentCoding
-
Returns the error stream response from the given connection, which was prepared using this object's
prepareRequest
method. - getExtension(File) - Static method in class uk.ac.starlink.util.gui.BasicFileFilter
-
Return the extension of a file's name.
- getExtension(String) - Static method in class uk.ac.starlink.util.gui.BasicFileFilter
-
Return the extension of a file's name.
- getFactoryClass() - Method in class uk.ac.starlink.util.ObjectFactory
-
Returns the class of which any object created by this factory is guaranteed to be an instance.
- getFile() - Method in class uk.ac.starlink.util.FileDataSource
-
Returns the File object on which this FileDataSource is based.
- getFirstElementSibling(Node) - Static method in class uk.ac.starlink.util.DOMUtils
-
Returns the first subsequent sibling of a given node which is an Element.
- getHandlerClassMap() - Method in class uk.ac.starlink.util.CustomURLStreamHandlerFactory
-
Returns the protocol->>classname map that describes this factory.
- getHeadBuffer() - Method in class uk.ac.starlink.util.HeadBufferInputStream
-
Returns the actual buffer used for accumulating the first few bytes in the stream.
- getHybridInputStream() - Method in class uk.ac.starlink.util.DataSource
-
Returns an input stream which appears just the same as the one returned by
DataSource.getInputStream()
, but only incurs the expense of obtaining an actual input stream (by callingDataSource.getRawInputStream()
if more bytes are read than the cached magic number. - getIndent(int) - Method in class uk.ac.starlink.util.XmlWriter
-
Returns the indentation string associated with a given level.
- getInlineCommentChar() - Method in class uk.ac.starlink.util.AsciiFileParser
-
Get the character used for in-line comments.
- getInputStream() - Method in class uk.ac.starlink.util.DataSource
-
Returns an InputStream containing the whole of this DataSource.
- getInputStream() - Method in class uk.ac.starlink.util.PipeReaderThread
-
Returns the stream at the input end of the pipe.
- getInputStream(String, boolean) - Static method in class uk.ac.starlink.util.DataSource
-
Returns an input stream based on the given location string.
- getInputStream(URLConnection) - Method in class uk.ac.starlink.util.ContentCoding
-
Returns the input stream response from the given connection, which was prepared using this object's
prepareRequest
method. - getInstance() - Static method in class uk.ac.starlink.util.PhysicalConstants
-
Get instance of class for aliasing.
- getInstance() - Static method in class uk.ac.starlink.util.ProxySetup
-
Get a reference to the only instance of this class.
- getInstance() - Static method in class uk.ac.starlink.util.StarEntityResolver
-
Returns the sole instance of this class.
- getIntegerField(int, int) - Method in class uk.ac.starlink.util.AsciiFileParser
-
Get the integer value of a field.
- getIntro() - Method in class uk.ac.starlink.util.DataSource
-
Returns the intro buffer, first reading it if this hasn't been done before.
- getIntroLimit() - Method in class uk.ac.starlink.util.DataSource
-
Returns the maximum length of the intro buffer.
- getItems() - Method in class uk.ac.starlink.util.gui.ArrayTableModel
-
Returns the row data items used by this model.
- getKeyOrder() - Method in class uk.ac.starlink.util.MapGroup
-
Returns the list which defines ordering for any keys which crop up.
- getKnownKeys() - Method in class uk.ac.starlink.util.MapGroup
-
Returns a list of all the keys which appear in any of the metadata sets.
- getLength() - Method in class uk.ac.starlink.util.DataSource
-
Returns the length of the stream returned by getInputStream in bytes, if known.
- getLevel() - Method in class uk.ac.starlink.util.XmlWriter
-
Returns the current element nesting level.
- getLineSeparatorBytes() - Static method in class uk.ac.starlink.util.IOUtils
-
Returns the platform's line separator as a byte array given the platform's default encoding.
- getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class uk.ac.starlink.util.gui.CustomComboBoxRenderer
- getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class uk.ac.starlink.util.gui.FileNameListCellRenderer
-
Return the requested component that renders the text.
- getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class uk.ac.starlink.util.gui.RenderingComboBox
-
Implements ListCellRenderer.
- getLocalResource(String, String) - Method in class uk.ac.starlink.util.StarEntityResolver
-
Returns a resource name locating the entity referenced by a given public/system ID pair.
- getMaps() - Method in class uk.ac.starlink.util.MapGroup
-
Returns an unmodifiable list of all the maps in this group.
- getMarkWorkaround() - Static method in class uk.ac.starlink.util.DataSource
-
Returns true if we are working around potential bugs in InputStream
InputStream.mark(int)
/InputStream.reset()
methods (common, including in J2SE classes). - getMaximumSize() - Method in class uk.ac.starlink.util.gui.ComboBoxBumper
- getMaximumSize() - Method in class uk.ac.starlink.util.gui.ShrinkWrapper
- getMaximumSize() - Method in class uk.ac.starlink.util.gui.TallWrapper
- getMinimumSize() - Method in class uk.ac.starlink.util.gui.ComboBoxBumper
- getName() - Method in class uk.ac.starlink.util.ByteArrayDataSource
- getName() - Method in class uk.ac.starlink.util.DataSource
-
Returns a name for this source.
- getName() - Method in class uk.ac.starlink.util.gui.ArrayTableColumn
-
Returns the name of this column.
- getNFields() - Method in class uk.ac.starlink.util.AsciiFileParser
-
Get the number of fields located in the file.
- getNFields(int) - Method in class uk.ac.starlink.util.AsciiFileParser
-
Get the number of fields in a row.
- getNickNames() - Method in class uk.ac.starlink.util.ObjectFactory
-
Returns a list of the nicknames which have been registered.
- getNonProxyHosts() - Method in class uk.ac.starlink.util.ProxySetup
-
Get the hosts that should not be proxied.
- getNRows() - Method in class uk.ac.starlink.util.AsciiFileParser
-
Get the number of rows located in the file.
- getNullRepresentation() - Method in class uk.ac.starlink.util.gui.CustomComboBoxRenderer
-
Returns the representation for the null value.
- getOutputStream() - Method in class uk.ac.starlink.util.PipeReaderThread
-
Returns the stream at the output end of the pipe.
- getParameter(String) - Method in class uk.ac.starlink.util.ContentType
-
Returns the value of a parameter of this content type.
- getParameters() - Method in class uk.ac.starlink.util.ContentType
-
Returns the parameter name/value pairs of this content type.
- getPasswordAuthentication() - Method in class uk.ac.starlink.util.PropertyAuthenticator
- getPosition() - Method in class uk.ac.starlink.util.DataSource
-
Returns the position associated with this source.
- getPreferredSize() - Method in class uk.ac.starlink.util.gui.ComboBoxBumper
- getPreferredSize() - Method in class uk.ac.starlink.util.gui.SizingScrollPane
- getPropertiesFile() - Static method in class uk.ac.starlink.util.Loader
-
Returns the name of the file from which properties will be loaded by this class.
- getProxyHost() - Method in class uk.ac.starlink.util.ProxySetup
-
Get the proxy host.
- getProxyPort() - Method in class uk.ac.starlink.util.ProxySetup
-
Get the proxy port.
- getRawInputStream() - Method in class uk.ac.starlink.util.ByteArrayDataSource
- getRawInputStream() - Method in class uk.ac.starlink.util.DataSource
-
Provides a new InputStream for this data source.
- getRawInputStream() - Method in class uk.ac.starlink.util.FileDataSource
- getRawInputStream() - Method in class uk.ac.starlink.util.ProcessDataSource
- getRawInputStream() - Method in class uk.ac.starlink.util.ResourceDataSource
- getRawInputStream() - Method in class uk.ac.starlink.util.URLDataSource
- getRawLength() - Method in class uk.ac.starlink.util.ByteArrayDataSource
- getRawLength() - Method in class uk.ac.starlink.util.DataSource
-
Returns the length in bytes of the stream returned by getRawInputStream, if known.
- getRawLength() - Method in class uk.ac.starlink.util.FileDataSource
-
Returns the length of this file.
- getReadCount() - Method in class uk.ac.starlink.util.CountInputStream
-
Returns the number of bytes successfully read so far from this stream.
- getReadCount() - Method in class uk.ac.starlink.util.HeadBufferInputStream
-
Returns the total number of bytes so far read from the base stream.
- getRendererIcon(Object) - Method in class uk.ac.starlink.util.gui.RenderingComboBox
-
Returns an icon to use to represent a given item.
- getRendererText(Object) - Method in class uk.ac.starlink.util.gui.RenderingComboBox
-
Returns the text label to use to represent a given item.
- getResourceContents(Class, String, Level) - Static method in class uk.ac.starlink.util.IOUtils
-
Reads a static resource and returns the contents as a string.
- getReverse() - Method in class uk.ac.starlink.util.gui.MemoryMonitor
-
Returns whether bar movement is in the opposite sense.
- getRow(int) - Method in class uk.ac.starlink.util.AsciiFileParser
-
Get the parsed Strings in a row.
- getRowCount() - Method in class uk.ac.starlink.util.gui.ArrayTableModel
- getRowCount() - Method in class uk.ac.starlink.util.gui.BeanTableModel
- getRowCount() - Method in class uk.ac.starlink.util.gui.SelectCharactersModel
-
Returns the number of records managed by the data source object.
- getRowCount() - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Return the numbers of states that we're currently storing.
- getSelectedFont() - Method in class uk.ac.starlink.util.gui.BasicFontChooser
-
Get the selected font.
- getShowText() - Method in class uk.ac.starlink.util.gui.MemoryMonitor
-
Returns whether text is being displayed.
- getSingleCommentChar() - Method in class uk.ac.starlink.util.AsciiFileParser
-
Get the character used for single line comments.
- getSkipCount() - Method in class uk.ac.starlink.util.CountInputStream
-
Returns the number of bytes skipped from this stream.
- getSortColumnIndex() - Method in class uk.ac.starlink.util.gui.SortingHeaderRenderer
-
Indicates the index of the table column on which sorting is performed.
- getState(int) - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Get a state from the store.
- getStoreName() - Method in interface uk.ac.starlink.util.gui.StoreSource
-
Return a name for the configuration store (without any directory information).
- getStringField(int, int) - Method in class uk.ac.starlink.util.AsciiFileParser
-
Get the String value of a field.
- getSubtype() - Method in class uk.ac.starlink.util.ContentType
-
Returns the Subtype part of this content type.
- getSystemId() - Method in class uk.ac.starlink.util.DataSource
-
Returns a System ID for this DataSource; this is a string representation of a file name or URL, as used by
Source
and friends. - getTableCellRendererComponent(JTable, Object, boolean, boolean, int, int) - Method in class uk.ac.starlink.util.gui.SortingHeaderRenderer
- getTagName() - Method in interface uk.ac.starlink.util.gui.StoreSource
-
Get a name for the top-level element associated with this configuration.
- getTagName() - Method in interface uk.ac.starlink.util.XMLEncodeDecode
-
Return a name for the Element that will be the parent of any contents that can be encoded and decoded (ie, name of rootElement);
- getTargets() - Method in class uk.ac.starlink.util.MultiplexInvocationHandler
-
Returns the list of delegate implementations.
- getText() - Method in class uk.ac.starlink.util.gui.ExampleSelectField
-
Returns the currently entered text.
- getText() - Method in class uk.ac.starlink.util.gui.MemoryMonitor
-
Returns the text which is painted onto this component.
- getText() - Method in class uk.ac.starlink.util.gui.SelectCharactersEvent
-
Return the event text.
- getText() - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Get the displayed text.
- getTextColour() - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Get the text colour.
- getTextContent(Element) - Static method in class uk.ac.starlink.util.DOMUtils
-
Returns a string representing the plain text content of an element.
- getTextFont() - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Get the text font.
- getTimer() - Method in class uk.ac.starlink.util.gui.MemoryMonitor
-
Returns the timer which performs regular repaints of this component.
- getToolkit() - Method in class uk.ac.starlink.util.gui.StringPaster
-
Returns the Toolkit holding the selection.
- getTransformer() - Method in class uk.ac.starlink.util.SourceReader
-
Returns a reference to the Transformer object used for transformations used by this object.
- getType() - Method in class uk.ac.starlink.util.ContentType
-
Returns the Type part of this content type.
- getUnused() - Method in class uk.ac.starlink.util.ValueWatcher
-
Returns a value in the range
loBound..hiBound
which has never been sumitted toValueWatcher.useValue(long)
. - getURL() - Method in class uk.ac.starlink.util.DataSource
-
Returns a URL which corresponds to this data source, if one exists.
- getURL() - Method in class uk.ac.starlink.util.FileDataSource
- getURL() - Method in class uk.ac.starlink.util.ResourceDataSource
- getURL() - Method in class uk.ac.starlink.util.TemporaryFileDataSource
-
Returns null, since the data is not represented by a persistent object.
- getURL() - Method in class uk.ac.starlink.util.URLDataSource
-
Returns the URL on which this URLDataSource is based.
- getValue() - Method in class uk.ac.starlink.util.gui.SelectStringDialog
-
Get the users value.
- getValue() - Method in class uk.ac.starlink.util.gui.ValueButtonGroup
-
Returns the currently selected value, that is the value associated with the currently selected button.
- getValue(R) - Method in class uk.ac.starlink.util.gui.ArrayTableColumn
-
Returns the value in this column for the row represented by the given row data object.
- getValueAt(int, int) - Method in class uk.ac.starlink.util.gui.ArrayTableModel
- getValueAt(int, int) - Method in class uk.ac.starlink.util.gui.BeanTableModel
- getValueAt(int, int) - Method in class uk.ac.starlink.util.gui.SelectCharactersModel
-
Return the value of a given cell.
- getValueAt(int, int) - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Return either the description or date stamp of a state.
- getVertical() - Method in class uk.ac.starlink.util.gui.MemoryMonitor
-
Returns the orientation of this component.
- getWrapped(Object) - Static method in class uk.ac.starlink.util.WrapUtils
-
Returns the object on which a given object is based.
- getWrapped(Object, Class<?>) - Static method in class uk.ac.starlink.util.WrapUtils
-
Attempts to return an object of a given class on which a given object is based.
- getXMLStream(Source) - Method in class uk.ac.starlink.util.SourceReader
-
Returns an input stream from which the serialised XML text corresponding to a given Source can be read.
- GRAVITATION - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Gravitational constant - N.m^2.Kg^-2
- GridBagLayouter - Class in uk.ac.starlink.util.gui
-
Utility class for laying out UI components using a GridBagLayout with fixed schemes of various kinds..
- GridBagLayouter(Container) - Constructor for class uk.ac.starlink.util.gui.GridBagLayouter
-
Create an instance with the default layout scheme (SCHEME1).
- GridBagLayouter(Container, int) - Constructor for class uk.ac.starlink.util.gui.GridBagLayouter
-
Create an instance with a given layout scheme.
- GZIP - Static variable in class uk.ac.starlink.util.Compression
-
A Compression object representing GZip compression.
- GZIP - Static variable in class uk.ac.starlink.util.ContentCoding
-
Gzip encoding is requested.
H
- hasArray() - Method in class uk.ac.starlink.util.GenericNioBuffer
-
Tells whether or not this buffer is backed by an accessible primitive array.
- hashCode() - Method in class uk.ac.starlink.util.CgiQuery
- hashCode() - Method in class uk.ac.starlink.util.ContentType
- HeadBufferInputStream - Class in uk.ac.starlink.util
-
Filter input stream that records the first few bytes read from its base stream for later examination.
- HeadBufferInputStream(InputStream, int) - Constructor for class uk.ac.starlink.util.HeadBufferInputStream
-
Constructor.
- hostName - Variable in class uk.ac.starlink.util.gui.ProxySetupFrame
I
- IconUtils - Class in uk.ac.starlink.util
-
Utility functions related to Icons.
- IGNORE_ATTRIBUTE_PRESENCE - Static variable in class uk.ac.starlink.util.TestCase
- IGNORE_ATTRIBUTE_VALUE - Static variable in class uk.ac.starlink.util.TestCase
- IGNORE_COMMENTS - Static variable in class uk.ac.starlink.util.TestCase
- IGNORE_WHITESPACE - Static variable in class uk.ac.starlink.util.TestCase
- ImageHolder - Class in uk.ac.starlink.util.images
-
Simple class for placeholding a directory of images.
- ImageHolder() - Constructor for class uk.ac.starlink.util.images.ImageHolder
- INC_ICON - Static variable in class uk.ac.starlink.util.gui.ComboBoxBumper
-
Icon for increment button.
- initFont() - Method in class uk.ac.starlink.util.gui.SelectCharacters
-
Initialise the interface to use the display font.
- initFrame() - Method in class uk.ac.starlink.util.gui.ProxySetupFrame
-
Initialise frame properties (disposal, menus etc.).
- initFrame() - Method in class uk.ac.starlink.util.gui.StoreControlFrame
-
Initialise frame properties (disposal, title, menus etc.).
- initFromBackingStore() - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Initialise the local DOM from the backing store file.
- initFromBackingStore(InputStream) - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Initialise the local DOM from an InputStream.
- initMenus() - Method in class uk.ac.starlink.util.gui.ProxySetupFrame
-
Initialise the menu bar and related actions.
- initMenus() - Method in class uk.ac.starlink.util.gui.StoreControlFrame
-
Initialise the menu bar, action bar and related actions.
- initUI() - Method in class uk.ac.starlink.util.gui.ProxySetupFrame
-
Initialise the main part of the user interface.
- initUI() - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Initialise the user interface.
- initUI() - Method in class uk.ac.starlink.util.gui.StoreControlFrame
-
Initialise the user interface.
- inlineComment - Variable in class uk.ac.starlink.util.AsciiFileParser
-
The character used for inline comments.
- insertText(String) - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Insert new text, either at the end or at the insertion point.
- install(JTableHeader) - Method in class uk.ac.starlink.util.gui.ArrayTableSorter
-
Sets this object up to allow sorting its model by clicking on a given JTable header.
- installCustomHandlers() - Static method in class uk.ac.starlink.util.URLUtils
-
Attempts to install additional URL protocol handlers suitable for astronomy applications.
- installInstance(boolean) - Static method in class uk.ac.starlink.util.PropertyAuthenticator
-
Installs an instance of PropertyAuthenticator so that it is used automatically in response to all 401 Unauthorized HTTP responses.
- intervalAdded(ListDataEvent) - Method in class uk.ac.starlink.util.gui.WeakListDataListener
- intervalRemoved(ListDataEvent) - Method in class uk.ac.starlink.util.gui.WeakListDataListener
- intFromString(String) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Convert a String back to an integer.
- IntList - Class in uk.ac.starlink.util
-
Extendable array of integers.
- IntList() - Constructor for class uk.ac.starlink.util.IntList
-
Constructs a new list.
- IntList(int) - Constructor for class uk.ac.starlink.util.IntList
-
Constructs a new list with a given initial capacity.
- IntList(int[]) - Constructor for class uk.ac.starlink.util.IntList
-
Constructs a new list initialised to the contents of a given array.
- intToString(int) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Convert an integer to a String.
- invoke(Object, Method, Object[]) - Method in class uk.ac.starlink.util.MultiplexInvocationHandler
-
Invokes a method by invoking the same method on each of this handler's target instances.
- IOUtils - Class in uk.ac.starlink.util
-
Provides static methods which do miscellaneous input/output tasks.
- is64Bit() - Static method in class uk.ac.starlink.util.Loader
-
Tests whether the JVM appears to be 64-bit or not.
- isCellEditable(int, int) - Method in class uk.ac.starlink.util.gui.BeanTableModel
- isCellEditable(int, int) - Method in class uk.ac.starlink.util.gui.SelectCharactersModel
-
Nothing is editable.
- isCellEditable(int, int) - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Let the JTable know that the descriptions are edittable.
- isComplete() - Method in class uk.ac.starlink.util.gui.Downloader
-
Indicates whether the data has been downloaded.
- isExtensionListInDescription() - Method in class uk.ac.starlink.util.gui.BasicFileFilter
-
Returns whether the extension list (.jpg, .gif, etc) should show up in the human readable description.
- isFixed() - Method in class uk.ac.starlink.util.AsciiFileParser
-
Get whether the file is expected to have a fixed number of fields.
- isHeadless() - Static method in class uk.ac.starlink.util.TestCase
-
Tests whether or not a display, keyboard and mouse can in fact be supported in this environment.
- isPasteEvent(MouseEvent) - Method in class uk.ac.starlink.util.gui.StringPaster
-
Determines whether a mouse event counts as a paste.
- isProxySet() - Method in class uk.ac.starlink.util.ProxySetup
-
Get if proxy use is enabled.
- isRegistered(String) - Method in class uk.ac.starlink.util.ObjectFactory
-
Indicates whether this factory knows about a given name.
- isSortDescending() - Method in class uk.ac.starlink.util.gui.SortingHeaderRenderer
-
Indicates the sense of the sorting.
- itemStateChanged(ItemEvent) - Method in class uk.ac.starlink.util.gui.WeakItemListener
- iterator() - Method in class uk.ac.starlink.util.NodeDescendants
-
Obtains an iterator which iterates over the nodes in the set of descendants.
J
- JANSKY - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
1 Jansky - W.m^-2.Hz^-1
K
- keySet() - Method in class uk.ac.starlink.util.CountMap
-
Returns a set of all the items with a count of at least one.
L
- LineReader - Class in uk.ac.starlink.util
-
Class containing methods for reading strings from the user (standard input).
- LineReader() - Constructor for class uk.ac.starlink.util.LineReader
- listeners - Variable in class uk.ac.starlink.util.gui.SelectCharacters
- listeners - Variable in class uk.ac.starlink.util.gui.SelectTextField
- listeners - Variable in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
- Loader - Class in uk.ac.starlink.util
-
Provides utilities associated with loading resources.
- Loader() - Constructor for class uk.ac.starlink.util.Loader
- LoadException - Exception in uk.ac.starlink.util
-
Exception thrown if an object creation fails for reasonable reasons.
- loadLibrary(String) - Static method in class uk.ac.starlink.util.Loader
-
Loads a native library given its name.
- loadProperties() - Static method in class uk.ac.starlink.util.Loader
-
Ensures that the user's customised properties have been loaded; these are read once from the file returned by the
Loader.getPropertiesFile()
method and incorporated into the System properties. - longFromString(String) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Convert a String back to a long.
- LongList - Class in uk.ac.starlink.util
-
Extendable array of longs..
- LongList() - Constructor for class uk.ac.starlink.util.LongList
-
Constructs a new list.
- LongList(int) - Constructor for class uk.ac.starlink.util.LongList
-
Constructs a new list with a given initial capacity.
- LongList(long[]) - Constructor for class uk.ac.starlink.util.LongList
-
Constructs a new list initialised to the contents of a given array.
- longToString(long) - Static method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Convert a long to a String.
- LUMINOSITY_OF_SUN - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Solar Luminosity - W
M
- MAGIC_SIZE - Static variable in class uk.ac.starlink.util.Compression
-
Number of bytes needed to determine compression type (magic number).
- main(String[]) - Static method in class uk.ac.starlink.util.ContentType
-
Parses a single content-type string supplied on the command line, and prints a representation of the parsed form on standard output.
- main(String[]) - Static method in class uk.ac.starlink.util.gui.ErrorDialog
- main(String[]) - Static method in class uk.ac.starlink.util.SuperJar
-
Writes a new jar or zip file based on the contents of an existing jar file and the jar files referenced by its manifest.
- main(String[]) - Static method in class uk.ac.starlink.util.UncompressInputStream
- makeDataSource(String) - Static method in class uk.ac.starlink.util.DataSource
-
Attempts to make a source given a string identifying its location as a file, URL or system command output.
- makeDataSource(String, boolean) - Static method in class uk.ac.starlink.util.DataSource
-
Attempts to make a source given a string identifying its location as a file, URL or optionally a system command output.
- makeDataSource(URL) - Static method in class uk.ac.starlink.util.DataSource
-
Makes a source from a URL.
- makeFileURL(File) - Static method in class uk.ac.starlink.util.URLUtils
-
Constructs a legal URL for a given File.
- makeURL(String) - Static method in class uk.ac.starlink.util.URLUtils
-
Obtains a URL from a string.
- makeURL(String, String) - Static method in class uk.ac.starlink.util.URLUtils
-
Obtains a URL from a string in a given context.
- MapGroup<K,V> - Class in uk.ac.starlink.util
-
Represents an ordered list of
Map
s containing related data. - MapGroup() - Constructor for class uk.ac.starlink.util.MapGroup
-
Constructs a new MapGroup.
- mapNodeType(short) - Static method in class uk.ac.starlink.util.DOMUtils
-
Maps a node type, as returned by to a name.
- mapValue(Object) - Method in class uk.ac.starlink.util.gui.CustomComboBoxRenderer
-
Turns an object which might be found in the ComboBox itself into an object that can be rendered by a standard combobox renderer.
- mark(int) - Method in class uk.ac.starlink.util.Base64InputStream
- mark(int) - Method in class uk.ac.starlink.util.HeadBufferInputStream
- MARK_WORKAROUND_PROPERTY - Static variable in class uk.ac.starlink.util.DataSource
- markSupported() - Method in class uk.ac.starlink.util.Base64InputStream
- markSupported() - Method in class uk.ac.starlink.util.HeadBufferInputStream
-
Mark/reset is not supported.
- markSupported() - Method in class uk.ac.starlink.util.UncompressInputStream
-
This stream does not support mark/reset on the stream.
- MASS_OF_EARTH - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Mass of the Earth - Kg
- MASS_OF_JUPITER - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Mass of Jupiter - Kg
- MASS_OF_SUN - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Mass of Sun - Kg
- matches(String, String) - Method in class uk.ac.starlink.util.ContentType
-
Indicates whether the type and subtype match a given pair.
- matchToInterface() - Method in class uk.ac.starlink.util.gui.ProxySetupFrame
-
Match the system properties to the state of interface.
- matchToProperties() - Method in class uk.ac.starlink.util.gui.ProxySetupFrame
-
Match interface to the current state of the system properties.
- MemoryMonitor - Class in uk.ac.starlink.util.gui
-
Component which displays JVM memory usage.
- MemoryMonitor() - Constructor for class uk.ac.starlink.util.gui.MemoryMonitor
-
Constructor.
- menuBar - Variable in class uk.ac.starlink.util.gui.ProxySetupFrame
-
Menubar and various menus and items that it contains.
- menuBar - Variable in class uk.ac.starlink.util.gui.StoreControlFrame
-
Menubar and various menus and items that it contains.
- mouseClicked(MouseEvent) - Method in class uk.ac.starlink.util.gui.StringPaster
-
Invokes
StringPaster.pasted(java.lang.String)
if appropriate. - mouseDragged(MouseEvent) - Method in class uk.ac.starlink.util.gui.DragListener
- mouseEntered(MouseEvent) - Method in class uk.ac.starlink.util.gui.DragListener
- mousePressed(MouseEvent) - Method in class uk.ac.starlink.util.gui.DragListener
- mouseReleased(MouseEvent) - Method in class uk.ac.starlink.util.gui.DragListener
- MultiplexInvocationHandler<T> - Class in uk.ac.starlink.util
-
Used to generate a proxy instance which implements a given interface and delegates its calls to each of a given list of target implementations.
- MultiplexInvocationHandler(T[]) - Constructor for class uk.ac.starlink.util.MultiplexInvocationHandler
-
Constructor.
N
- needProxy - Variable in class uk.ac.starlink.util.gui.ProxySetupFrame
-
Other UI elements
- newCharacters(SelectCharactersEvent) - Method in interface uk.ac.starlink.util.gui.SelectCharactersListener
-
Invoked when new text in available.
- newCharacters(SelectCharactersEvent) - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Accept new characters.
- newDocument() - Static method in class uk.ac.starlink.util.DOMUtils
-
Returns a new Document instance.
- newState(String, String) - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Create a new Element ready for attaching a configuration state to (i.e.
- nextCapacity(int) - Method in class uk.ac.starlink.util.PrimitiveList
-
Determines by how much the storage array will grow if it needs to expand.
- nFields - Variable in class uk.ac.starlink.util.AsciiFileParser
-
The number of fixed fields in the file.
- NodeDescendants - Class in uk.ac.starlink.util
-
Represents the set of Nodes in the tree rooted at a particular DOM Node.
- NodeDescendants(Node) - Constructor for class uk.ac.starlink.util.NodeDescendants
-
Creates a new
NodeDescendant
object. - NodeDescendants(Node, int) - Constructor for class uk.ac.starlink.util.NodeDescendants
-
Creates a new
NodeDescendant
object. - NodeDescendants.Visitor - Interface in uk.ac.starlink.util
-
The
Visitor
processes a single node in a tree. - NONE - Static variable in class uk.ac.starlink.util.Compression
-
A Compression object representing no compression (or perhaps an unknown one).
- NONE - Static variable in class uk.ac.starlink.util.ContentCoding
-
No encoding is requested.
- nonHostNames - Variable in class uk.ac.starlink.util.gui.ProxySetupFrame
- numChars - Variable in class uk.ac.starlink.util.gui.SelectCharactersModel
-
The number of characters in the font.
- numColumns - Variable in class uk.ac.starlink.util.gui.SelectCharactersModel
-
The number of characters displayed in a row.
- numRows - Variable in class uk.ac.starlink.util.gui.SelectCharactersModel
-
Number of rows needed to display the whole font.
O
- ObjectFactory<T> - Class in uk.ac.starlink.util
-
Manages dynamic creation of objects from a known set of classes.
- ObjectFactory(Class<T>) - Constructor for class uk.ac.starlink.util.ObjectFactory
-
Constructor.
- okButton - Variable in class uk.ac.starlink.util.gui.BasicFontChooser
-
Accept and exit button.
- openConnection(URL) - Method in class uk.ac.starlink.util.ContentCoding
-
Convenience method to open a new connection prepared in accordance with this object's encoding policy.
- openStream(URL) - Method in class uk.ac.starlink.util.ContentCoding
-
Convenience method to return a byte stream from a given URL in accordance with this object's encoding policy.
P
- paintComponent(Graphics) - Method in class uk.ac.starlink.util.gui.FileNameListCellRenderer
- paintComponent(Graphics) - Method in class uk.ac.starlink.util.gui.MemoryMonitor
- parent - Variable in class uk.ac.starlink.util.gui.FileNameListCellRenderer
-
The JComboBox hosting these rendering instances, if used.
- parse(File) - Method in class uk.ac.starlink.util.AsciiFileParser
-
Parse a file using the current configuration.
- PARSEC - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
1 Parsec - m
- parseContentType(String) - Static method in class uk.ac.starlink.util.ContentType
-
Parses a Content-Type (MIME type) string in accordance with the syntax rules in RFC2045.
- PASSWORD_PROP - Static variable in class uk.ac.starlink.util.PropertyAuthenticator
-
System property supplying basic authentication password ("star.basicauth.password").
- pasted(String) - Method in class uk.ac.starlink.util.gui.StringPaster
-
Invoked when a paste event occurs.
- PhysicalConstants - Class in uk.ac.starlink.util
-
Class of physical and astronomical constants.
- PipeReaderThread - Class in uk.ac.starlink.util
-
Thread which reads data from a pipe.
- PipeReaderThread() - Constructor for class uk.ac.starlink.util.PipeReaderThread
-
Constructs a new reader thread.
- PLANCK - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Planck constant - J.s
- PLANCK_BAR - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Planck constant/2*PI - J.s
- PLANCK_EVS - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Planck constant - eV.s
- PLANCK_EVS_BAR - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Planck constant/2*PI - eV.s
- PLANCK_LENGTH - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Planck length - m
- PLANCK_MASS - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Planck mass - Kg
- PLANCK_TEMP - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Planck temperature - K
- portNumber - Variable in class uk.ac.starlink.util.gui.ProxySetupFrame
- preferredLayoutSize(Container) - Method in class uk.ac.starlink.util.gui.ConstrainedViewportLayout
- prepareRequest(URLConnection) - Method in class uk.ac.starlink.util.ContentCoding
-
Sets up request headers for the given connection.
- PrimitiveList - Class in uk.ac.starlink.util
-
Provides an extendable list of primitive values.
- PrimitiveList(Object, int) - Constructor for class uk.ac.starlink.util.PrimitiveList
-
Constructs a list from an initial array object, whose component type determines the primitive type which this list will work with, and a size, which indicates number of elements of the array which are initially considered to constitute the contents of this list.
- PrimitiveXMLEncodeDecode - Class in uk.ac.starlink.util
-
An abstract base-class for objects that want to encode and decode themselves from an XML stream.
- PrimitiveXMLEncodeDecode() - Constructor for class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
- print(String) - Method in class uk.ac.starlink.util.XmlWriter
-
Outputs a literal string in the output.
- println(OutputStream, String) - Static method in class uk.ac.starlink.util.IOUtils
-
Writes a string to an output stream followed by a new line.
- println(String) - Method in class uk.ac.starlink.util.XmlWriter
-
Outputs a literal string in the output followed by a newline character.
- ProcessDataSource - Class in uk.ac.starlink.util
-
DataSource that uses the standard output of a System process.
- ProcessDataSource(ProcessBuilder) - Constructor for class uk.ac.starlink.util.ProcessDataSource
-
Constructor.
- PROPERTIES_FILE - Static variable in class uk.ac.starlink.util.Loader
-
Name of the file in the user's home directory from which properties are loaded.
- PropertyAuthenticator - Class in uk.ac.starlink.util
-
Authenticator implementation which uses system properties to set fixed username and passwords for HTTP Basic Authentication.
- PropertyAuthenticator() - Constructor for class uk.ac.starlink.util.PropertyAuthenticator
-
Constructor.
- propertySorter(String) - Method in class uk.ac.starlink.util.gui.BeanTableModel
-
Returns a sorter which can be used to sort rows of this table (data array elements).
- PROTON_MASS - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Proton mass - Kg
- ProxySetup - Class in uk.ac.starlink.util
-
A singleton class for controlling the configuration of the web proxy system properties.
- ProxySetupFrame - Class in uk.ac.starlink.util.gui
-
Create a dialog window for displaying and modifying the current proxy server configuration as found in a backing store.
- ProxySetupFrame() - Constructor for class uk.ac.starlink.util.gui.ProxySetupFrame
-
Create an instance.
- ProxySetupFrame.AcceptAction - Class in uk.ac.starlink.util.gui
-
Inner class defining Action for closing window and keeping changes.
- ProxySetupFrame.CancelAction - Class in uk.ac.starlink.util.gui
-
Inner class defining Action for closing window and discarding changes.
- put(Object) - Method in class uk.ac.starlink.util.GenericNioBuffer
-
Generic relative bulk put method.
- put(Object, int, int) - Method in class uk.ac.starlink.util.GenericNioBuffer
-
Generic relative bulk put method.
R
- RADIUS_OF_SUN - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Radius of Sun - m
- read() - Method in class uk.ac.starlink.util.Base64InputStream
- read() - Method in class uk.ac.starlink.util.CountInputStream
- read() - Method in class uk.ac.starlink.util.HeadBufferInputStream
- read() - Method in class uk.ac.starlink.util.UncompressInputStream
- read(byte[]) - Method in class uk.ac.starlink.util.CountInputStream
- read(byte[]) - Method in class uk.ac.starlink.util.HeadBufferInputStream
- read(byte[], int, int) - Method in class uk.ac.starlink.util.Base64InputStream
- read(byte[], int, int) - Method in class uk.ac.starlink.util.CountInputStream
- read(byte[], int, int) - Method in class uk.ac.starlink.util.HeadBufferInputStream
- read(byte[], int, int) - Method in class uk.ac.starlink.util.UncompressInputStream
- readBytes(InputStream, int) - Static method in class uk.ac.starlink.util.IOUtils
-
Reads a number of bytes from a stream.
- readMaskedString(String, PrintStream) - Static method in class uk.ac.starlink.util.LineReader
-
Reads a line of text from the user without it being visible to onlookers.
- readString(String, PrintStream) - Static method in class uk.ac.starlink.util.LineReader
-
Reads a line of text from the user.
- reGetState(int) - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Re-get a state from the store.
- register(String, String) - Method in class uk.ac.starlink.util.ObjectFactory
-
Registers a class with its nickname.
- relativizeDOM(Node, URI, String) - Static method in class uk.ac.starlink.util.DOMUtils
-
Traverses the given DOM, relativising all the URIs in the
uri
attributes of eachElement
. - remove(AbstractButton) - Method in class uk.ac.starlink.util.gui.ValueButtonGroup
- removeActionListener(ActionListener) - Method in class uk.ac.starlink.util.gui.ChangingComboBoxModel
-
Removes a listener previously added by
ChangingComboBoxModel.addActionListener(java.awt.event.ActionListener)
. - removeActionListener(ActionListener) - Method in class uk.ac.starlink.util.gui.Downloader
-
Removes a previously added listener.
- removeActionListener(ActionListener) - Method in class uk.ac.starlink.util.gui.ExampleSelectField
-
Removes an actino listener.
- removeActionListener(ActionListener) - Method in class uk.ac.starlink.util.gui.SelectTextField
- removeChangeListener(ChangeListener) - Method in class uk.ac.starlink.util.gui.ChangingComboBoxModel
-
Removes a listener previously added by
ChangingComboBoxModel.addChangeListener(javax.swing.event.ChangeListener)
. - removeChangeListener(ChangeListener) - Method in class uk.ac.starlink.util.gui.ValueButtonGroup
-
Removes a listener previously added by
addChangeListener
. - removeChangeListener(ChangeListener) - Method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
De-registers a listener for changes.
- removeKey(K) - Method in class uk.ac.starlink.util.MapGroup
-
Removes all entries with a given key for every map in this group.
- removeKeys(Collection<K>) - Method in class uk.ac.starlink.util.MapGroup
-
Removes all entries which have a key in a given collection for every map in this group.
- removeState(int) - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Permanently remove a state from store.
- RenderingComboBox - Class in uk.ac.starlink.util.gui
-
JComboBox with custom renderer.
- RenderingComboBox() - Constructor for class uk.ac.starlink.util.gui.RenderingComboBox
-
Constructs a new combo box with a default data model.
- RenderingComboBox(Object[]) - Constructor for class uk.ac.starlink.util.gui.RenderingComboBox
-
Constructs a new combo box containing some supplied items.
- RenderingComboBox(ComboBoxModel) - Constructor for class uk.ac.starlink.util.gui.RenderingComboBox
-
Constructs a new combo box with a given model.
- reset() - Method in class uk.ac.starlink.util.Base64InputStream
- reset() - Method in class uk.ac.starlink.util.HeadBufferInputStream
- reset() - Method in class uk.ac.starlink.util.NodeDescendants
-
Sets the object back to its initial state.
- reset(int) - Method in class uk.ac.starlink.util.NodeDescendants
-
Sets the object back to its initial state, but with a (possibly) different constraint on which nodes are included in the set.
- resolveEntity(String, String) - Method in class uk.ac.starlink.util.StarEntityResolver
-
Resolves an entity if it is one of the ones that we keep on hand.
- ResourceDataSource - Class in uk.ac.starlink.util
-
A DataSource which represents a resource available from the class loader's
ClassLoader.getResourceAsStream(java.lang.String)
method. - ResourceDataSource(String) - Constructor for class uk.ac.starlink.util.ResourceDataSource
-
Constructs a new ResourceDataSource from a resource name with a default size of intro buffer.
- ResourceDataSource(String, int) - Constructor for class uk.ac.starlink.util.ResourceDataSource
-
Constructs a new ResourceDataSource from a resource name and given size of intro buffer.
- restore() - Method in class uk.ac.starlink.util.ProxySetup
-
Restore from backing store, updating the system properties.
- restore(ProxySetupFrame) - Static method in class uk.ac.starlink.util.gui.ProxySetupFrame
-
Restore from backing store, updating the system properties.
- RestoreAction(String, Icon) - Constructor for class uk.ac.starlink.util.gui.StoreControlFrame.RestoreAction
- restoreSelectedConfiguration() - Method in class uk.ac.starlink.util.gui.StoreControlFrame
-
Restore the selected configuration, if any.
- restoreState(Element) - Method in interface uk.ac.starlink.util.gui.StoreSource
-
Restore a previously saved configuration created by the
StoreSource.saveState(org.w3c.dom.Element)
method. - retainKeys(Collection<K>) - Method in class uk.ac.starlink.util.MapGroup
-
Removes all entries except those with keys in a given collection for every map in this group.
- rootElement - Variable in class uk.ac.starlink.util.gui.StoreConfiguration
-
Document root Element.
- rowList - Variable in class uk.ac.starlink.util.AsciiFileParser
-
A list that contains arrays of each set of Strings parsed from each row.
- run() - Method in class uk.ac.starlink.util.PipeReaderThread
-
Implements the thread's run method to invoke doReading, catching and saving IOExceptions.
- RYDBERG - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Rydberg constant - m^-1
S
- sameResource(URL, URL) - Static method in class uk.ac.starlink.util.URLUtils
-
Attempts to determine whether two URLs refer to the same resource.
- saveState(Element) - Method in interface uk.ac.starlink.util.gui.StoreSource
-
Save the configuration with the given Element as the root of the document.
- SCHEME1 - Static variable in class uk.ac.starlink.util.gui.GridBagLayouter
-
Simple row by row layout.
- SCHEME2 - Static variable in class uk.ac.starlink.util.gui.GridBagLayouter
-
Simple row by row layout, but this time with three components, weighted 0.15 to 0 to 0.85, so that most space is kept by right component.
- SCHEME3 - Static variable in class uk.ac.starlink.util.gui.GridBagLayouter
-
Simple row by row layout.
- SCHEME4 - Static variable in class uk.ac.starlink.util.gui.GridBagLayouter
-
Simple row by row layout, as in SCHEME3, but with the occasional component that fills vertically too.
- SCHEME5 - Static variable in class uk.ac.starlink.util.gui.GridBagLayouter
-
Simple row by row layout.
- SelectCharacters - Class in uk.ac.starlink.util.gui
-
SelectCharacters provides a dialog that displays all the characters in a given font.
- SelectCharacters(Font) - Constructor for class uk.ac.starlink.util.gui.SelectCharacters
-
Create an instance of this class.
- SelectCharacters(Frame, String, boolean, Font) - Constructor for class uk.ac.starlink.util.gui.SelectCharacters
-
Create an instance of this class.
- SelectCharacters.AcceptAction - Class in uk.ac.starlink.util.gui
-
Inner class defining Action for accepting characters.
- SelectCharacters.CancelAction - Class in uk.ac.starlink.util.gui
-
Inner class defining Action for cancelling acceptance of characters.
- SelectCharactersEvent - Class in uk.ac.starlink.util.gui
-
SelectCharactersEvent defines an event that passes on new text that has been created.
- SelectCharactersEvent(Object, String) - Constructor for class uk.ac.starlink.util.gui.SelectCharactersEvent
-
Constructs a SelectCharactersEvent object.
- SelectCharactersListener - Interface in uk.ac.starlink.util.gui
-
SelectCharactersListener defines an interface used when listening for a SelectCharacters window to send updated text.
- SelectCharactersModel - Class in uk.ac.starlink.util.gui
-
SelectCharactersModel is an implementation of the TableModel interface for displaying all the characters in a given font.
- SelectCharactersModel(Font) - Constructor for class uk.ac.starlink.util.gui.SelectCharactersModel
-
Create an instance of this class.
- SelectStringDialog - Class in uk.ac.starlink.util.gui
-
Create a dialog for obtaining a text string with the option of selecting and including special characters.
- SelectTextField - Class in uk.ac.starlink.util.gui
-
A component for accepting a text string, but with the additional capability of choosing from the complete list of characters available in the current font.
- SelectTextField() - Constructor for class uk.ac.starlink.util.gui.SelectTextField
-
Create an instance.
- SelectTextField(String) - Constructor for class uk.ac.starlink.util.gui.SelectTextField
-
Create an instance with initial text field.
- SelectTextField(String, SelectCharacters) - Constructor for class uk.ac.starlink.util.gui.SelectTextField
-
Create an instance with initial text field and using the pre-configured instance of SelectCharacters.
- set(int, byte) - Method in class uk.ac.starlink.util.ByteList
-
Sets the element at a given position.
- set(int, double) - Method in class uk.ac.starlink.util.DoubleList
-
Sets the element at a given position.
- set(int, float) - Method in class uk.ac.starlink.util.FloatList
-
Sets the element at a given position.
- set(int, int) - Method in class uk.ac.starlink.util.IntList
-
Sets the element at a given position.
- set(int, long) - Method in class uk.ac.starlink.util.LongList
-
Sets the element at a given position.
- set(int, short) - Method in class uk.ac.starlink.util.ShortList
-
Sets the element at a given position.
- setClassLoader(ClassLoader) - Method in class uk.ac.starlink.util.ResourceDataSource
-
Sets the ClassLoader which is used for resource resolution.
- setColors(Color, Color, Color) - Method in class uk.ac.starlink.util.gui.MemoryMonitor
-
Set the colour scheme.
- setColumns(int) - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Set the number of columns displayed by the JTextField.
- setColumns(List<? extends ArrayTableColumn<? extends R, ?>>) - Method in class uk.ac.starlink.util.gui.ArrayTableModel
-
Sets the column specifiers to be used by this table.
- setCompression(Compression) - Method in class uk.ac.starlink.util.DataSource
-
Sets the compression to be associated with this data source.
- setData(Object[]) - Method in class uk.ac.starlink.util.gui.BeanTableModel
-
Populates this model with items.
- setDateStamp(int) - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Set the date stamp of a state by index.
- setDefaultProperty(String, String) - Static method in class uk.ac.starlink.util.Loader
-
Sets a system property to a given value unless it has already been set.
- setDelimeters(String) - Method in class uk.ac.starlink.util.AsciiFileParser
-
Set the characters used as field delimeters.
- setDescription(int, String) - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Set the description of a state by index.
- setDescription(String) - Method in class uk.ac.starlink.util.gui.BasicFileFilter
-
Sets the human readable description of this filter.
- setDisplayFont(Font) - Method in class uk.ac.starlink.util.gui.SelectCharacters
-
Set the font that that is displayed.
- setEnabled(boolean) - Method in class uk.ac.starlink.util.gui.ComboBoxBumper
- setExtensionListInDescription(boolean) - Method in class uk.ac.starlink.util.gui.BasicFileFilter
-
Determines whether the extension list (.jpg, .gif, etc) should show up in the human readable description.
- setFixed(boolean) - Method in class uk.ac.starlink.util.AsciiFileParser
-
Set whether the file is expected to have a fixed number of fields.
- setFont(Font) - Method in class uk.ac.starlink.util.gui.SelectCharactersModel
-
Set the displayed font.
- setFontName() - Method in class uk.ac.starlink.util.gui.BasicFontChooser
-
Set a new default font name from the value in the font name combobox.
- setFromString(String, String) - Method in class uk.ac.starlink.util.PrimitiveXMLEncodeDecode
-
Set the value of a object field using string representation of the field name and its value.
- setHttpAgent(String) - Static method in class uk.ac.starlink.util.Loader
-
Configures the "http.agent" system property.
- setIncludeDeclaration(boolean) - Method in class uk.ac.starlink.util.SourceReader
-
Sets whether the writeSource methods will output an XML declaration at the start of the XML output.
- setIndent(int) - Method in class uk.ac.starlink.util.SourceReader
-
Tries to set the indent level used by the writeSource methods.
- setInlineCommentChar(char) - Method in class uk.ac.starlink.util.AsciiFileParser
-
Set the character used for in-line comments.
- setInsets(Insets) - Method in class uk.ac.starlink.util.gui.GridBagLayouter
-
Set the GridBagLayout Insets.
- setIntroLimit(int) - Method in class uk.ac.starlink.util.DataSource
-
Sets the maximum size of the intro buffer to a new value.
- setItems(R[]) - Method in class uk.ac.starlink.util.gui.ArrayTableModel
-
Sets the row data items to be used by this table.
- setKeyOrder(List<K>) - Method in class uk.ac.starlink.util.MapGroup
-
Mandates an ordering to be imposed on the map keys.
- setKnownKeys(List<K>) - Method in class uk.ac.starlink.util.MapGroup
-
Sets the list of known keys.
- setMarkWorkaround(boolean) - Static method in class uk.ac.starlink.util.DataSource
-
Sets whether we want to work around bugs in InputStream mark/reset methods.
- setName(String) - Method in class uk.ac.starlink.util.DataSource
-
Sets the name of this source.
- setNonProxyHosts(String) - Method in class uk.ac.starlink.util.ProxySetup
-
Set the hosts that shouldn't use the proxy.
- setNullRepresentation(Object) - Method in class uk.ac.starlink.util.gui.CustomComboBoxRenderer
-
Sets the representation for the null value.
- setOut(PrintStream) - Method in class uk.ac.starlink.util.XmlWriter
-
Sets the destination stream for this writer.
- setPosition(String) - Method in class uk.ac.starlink.util.DataSource
-
Sets the position associated with this source.
- setProxyHost(String) - Method in class uk.ac.starlink.util.ProxySetup
-
Set the proxy host.
- setProxyPort(String) - Method in class uk.ac.starlink.util.ProxySetup
-
Set the proxy port.
- setProxySet(boolean) - Method in class uk.ac.starlink.util.ProxySetup
-
Set if proxy use is enabled.
- setReverse(boolean) - Method in class uk.ac.starlink.util.gui.MemoryMonitor
-
Sets bar movement to the opposite sense.
- setSelectedItem(Object) - Method in class uk.ac.starlink.util.gui.ChangingComboBoxModel
- setShowText(boolean) - Method in class uk.ac.starlink.util.gui.MemoryMonitor
-
Sets whether the text should be displayed.
- setSingleCommentChar(char) - Method in class uk.ac.starlink.util.AsciiFileParser
-
Set the character used for single line comments.
- setSize() - Method in class uk.ac.starlink.util.gui.BasicFontChooser
-
Set a new default font size from the value in the size combobox.
- setSorting(int, boolean) - Method in class uk.ac.starlink.util.gui.ArrayTableSorter
-
Performs a sort on a given column.
- setStyle() - Method in class uk.ac.starlink.util.gui.BasicFontChooser
-
Set the font style from the value in the style combobox.
- setTargets(T[]) - Method in class uk.ac.starlink.util.MultiplexInvocationHandler
-
Sets the list of delegate implementations.
- setText(String) - Method in class uk.ac.starlink.util.gui.ExampleSelectField
-
Programmatically sets the currently entered text.
- setText(String) - Method in class uk.ac.starlink.util.gui.ExampleTextField
- setText(String) - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Set the displayed text.
- setTextColour(Color) - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Set the text colour.
- setTextFont(Font) - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Set the text font.
- setToolTipText(String) - Method in class uk.ac.starlink.util.gui.SelectTextField
-
Set the tooltip for the text component.
- setTransformer(Transformer) - Method in class uk.ac.starlink.util.SourceReader
-
Sets the transformer object used for transformations.
- setValue(T) - Method in class uk.ac.starlink.util.gui.ValueButtonGroup
-
Sets the currently selected value.
- setValueAt(Object, int, int) - Method in class uk.ac.starlink.util.gui.BeanTableModel
- setValueAt(Object, int, int) - Method in class uk.ac.starlink.util.gui.SelectCharactersModel
-
Since nothing can be changed.
- setValueAt(Object, int, int) - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Change a description in response to a user edit.
- setVertical(boolean) - Method in class uk.ac.starlink.util.gui.MemoryMonitor
-
Sets the orientation for this component.
- ShortList - Class in uk.ac.starlink.util
-
Extendable array of shorts.
- ShortList() - Constructor for class uk.ac.starlink.util.ShortList
-
Constructs a new list.
- ShortList(int) - Constructor for class uk.ac.starlink.util.ShortList
-
Constructs a new list with a given initial capacity.
- ShortList(short[]) - Constructor for class uk.ac.starlink.util.ShortList
-
Constructs a new list initialised to the contents of a given array.
- SHOW_ALL - Static variable in class uk.ac.starlink.util.NodeDescendants
-
Indicates that all nodes should be included in a traversal of, or iteration through, a tree.
- SHOW_ATTRIBUTE - Static variable in class uk.ac.starlink.util.NodeDescendants
- SHOW_CDATA_SECTION - Static variable in class uk.ac.starlink.util.NodeDescendants
- SHOW_COMMENT - Static variable in class uk.ac.starlink.util.NodeDescendants
- SHOW_DOCUMENT - Static variable in class uk.ac.starlink.util.NodeDescendants
- SHOW_DOCUMENT_FRAGMENT - Static variable in class uk.ac.starlink.util.NodeDescendants
- SHOW_DOCUMENT_TYPE - Static variable in class uk.ac.starlink.util.NodeDescendants
- SHOW_ELEMENT - Static variable in class uk.ac.starlink.util.NodeDescendants
- SHOW_ENTITY - Static variable in class uk.ac.starlink.util.NodeDescendants
- SHOW_ENTITY_REFERENCE - Static variable in class uk.ac.starlink.util.NodeDescendants
- SHOW_NOTATION - Static variable in class uk.ac.starlink.util.NodeDescendants
- SHOW_PROCESSING_INSTRUCTION - Static variable in class uk.ac.starlink.util.NodeDescendants
- SHOW_TEXT - Static variable in class uk.ac.starlink.util.NodeDescendants
- showDialog(Component, String, String, String) - Static method in class uk.ac.starlink.util.gui.SelectStringDialog
-
Show a dialog window.
- showError(Component, String, Throwable) - Static method in class uk.ac.starlink.util.gui.ErrorDialog
-
Pops up a modal dialogue displaying information about an error.
- showError(Component, String, Throwable, String) - Static method in class uk.ac.starlink.util.gui.ErrorDialog
-
Pops up a modal dialogue displaying information about an error with an additional single-line message.
- showError(Component, String, Throwable, String[]) - Static method in class uk.ac.starlink.util.gui.ErrorDialog
-
Pops up a modal dialogue displaying information about an error with an additional multi-line message.
- showError(Component, Throwable) - Static method in class uk.ac.starlink.util.gui.ErrorDialog
-
Pops up a modal dialogue displaying information about an error.
- ShrinkWrapper - Class in uk.ac.starlink.util.gui
-
Provides a container for a component whose maximum size is the same as its preferred size.
- ShrinkWrapper(Component) - Constructor for class uk.ac.starlink.util.gui.ShrinkWrapper
-
Constructs a shrink wrapper.
- singleComment - Variable in class uk.ac.starlink.util.AsciiFileParser
-
The character used for single-line comments.
- size() - Method in class uk.ac.starlink.util.MapGroup
-
Returns the number of maps in this group.
- size() - Method in class uk.ac.starlink.util.PrimitiveList
-
Returns the current size of this list.
- sizeBox - Variable in class uk.ac.starlink.util.gui.BasicFontChooser
-
List of pre-selected sizes.
- sizeLabel - Variable in class uk.ac.starlink.util.gui.BasicFontChooser
-
Label for size selector.
- SizingScrollPane - Class in uk.ac.starlink.util.gui
-
Adds some functionality to the JScrollPane class; a SizingScrollPane will attempt to match the shape of its view component if it is a sensible shape.
- SizingScrollPane() - Constructor for class uk.ac.starlink.util.gui.SizingScrollPane
-
Constructs an empty scroll pane.
- SizingScrollPane(Component) - Constructor for class uk.ac.starlink.util.gui.SizingScrollPane
-
Constructs a scroll pane holding a supplied component.
- skip(long) - Method in class uk.ac.starlink.util.Base64InputStream
- skip(long) - Method in class uk.ac.starlink.util.CountInputStream
- skip(long) - Method in class uk.ac.starlink.util.HeadBufferInputStream
- skip(long) - Method in class uk.ac.starlink.util.UncompressInputStream
- skip(InputStream, long) - Static method in class uk.ac.starlink.util.IOUtils
-
Skips over a number of bytes in an InputStream This is implemented using
InputStream.skip(long)
but differs from it in that it guarantees to skip the bytes as specified, or to throw an exception. - skipBytes(DataInput, long) - Static method in class uk.ac.starlink.util.IOUtils
-
Skips over a number of bytes in a DataInput.
- SOLAR_CONSTANT - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Solar constant - kW.m^-1
- sortByColumn(int, boolean) - Method in class uk.ac.starlink.util.gui.ArrayTableModel
-
Sorts the rows in this table according to the ordering of the data in one of the columns.
- SortingHeaderRenderer - Class in uk.ac.starlink.util.gui
-
Renderer for JTable (header) cells that can indicate sorting status.
- SortingHeaderRenderer(TableCellRenderer) - Constructor for class uk.ac.starlink.util.gui.SortingHeaderRenderer
-
Constructor.
- SourceReader - Class in uk.ac.starlink.util
-
Convenience class to manipulate XML Sources.
- SourceReader() - Constructor for class uk.ac.starlink.util.SourceReader
- SPEED_OF_LIGHT - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Speed of light in a vacuum - m.s^-1
- StarEntityResolver - Class in uk.ac.starlink.util
-
Provides specialised XML entity resolution.
- StarEntityResolver(EntityResolver) - Constructor for class uk.ac.starlink.util.StarEntityResolver
-
Constructs a resolver which will resolve entities this class knows about, and for those it doesn't it will defer resolution to a supplied parent resolver.
- starjavaDirectory() - Static method in class uk.ac.starlink.util.Loader
-
Returns the location of the main Starlink java directory which contains the lib, bin, etc, source directories and others.
- startElement(String) - Method in class uk.ac.starlink.util.XmlWriter
-
Outputs a start element tag with no attributes.
- startElement(String, String) - Method in class uk.ac.starlink.util.XmlWriter
-
Outputs a start element tag with a given list of attributes.
- startup() - Method in class uk.ac.starlink.util.gui.BasicFontChooser
-
Start common initialisation sequence.
- stateCompleted(Element) - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Add a new state root in a given Element.
- statusTable - Variable in class uk.ac.starlink.util.gui.StoreControlFrame
-
The table showing the stored configurations.
- statusView - Variable in class uk.ac.starlink.util.gui.StoreControlFrame
-
Container for view of currently saved states.
- STEFAN_BOLTZMANN - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Stefan-Boltzmann constant - W.m^-2.K^-4
- store - Variable in class uk.ac.starlink.util.gui.StoreControlFrame
-
Object that mediates to the actual store.
- store() - Method in class uk.ac.starlink.util.ProxySetup
-
Save state of system properties to backing store.
- store(ProxySetupFrame) - Static method in class uk.ac.starlink.util.gui.ProxySetupFrame
-
Save state of system properties to backing store.
- StoreConfiguration - Class in uk.ac.starlink.util.gui
-
This class interacts with a permanent set of configuration states stored in an XML-format disk file.
- StoreConfiguration(InputStream) - Constructor for class uk.ac.starlink.util.gui.StoreConfiguration
-
Create an instance.
- StoreConfiguration(String, String) - Constructor for class uk.ac.starlink.util.gui.StoreConfiguration
-
Create an instance.
- StoreControlFrame - Class in uk.ac.starlink.util.gui
-
A top-level window that offers controls for saving, restoring and deleting configuration data stored in XML files.
- StoreControlFrame(StoreSource) - Constructor for class uk.ac.starlink.util.gui.StoreControlFrame
-
Create an instance.
- StoreControlFrame.AddAction - Class in uk.ac.starlink.util.gui
-
Inner class defining action to create a new configuration entry adding the current configuration to it.
- StoreControlFrame.CloseAction - Class in uk.ac.starlink.util.gui
-
Inner class defining Action for closing window and keeping fit.
- StoreControlFrame.DeleteAction - Class in uk.ac.starlink.util.gui
-
Inner class defining action to delete the selected configuration entries.
- StoreControlFrame.RestoreAction - Class in uk.ac.starlink.util.gui
-
Inner class defining Action for closing window and keeping fit.
- StoreControlFrame.UpdateAction - Class in uk.ac.starlink.util.gui
-
Inner class defining action to update a configuration entry.
- storeCurrentConfiguration() - Method in class uk.ac.starlink.util.gui.StoreControlFrame
-
Create a new configuration entry and store the current configuration in it.
- StoreFileUtils - Class in uk.ac.starlink.util.gui
-
Class of static members that provide utility functions for locating configuration files.
- storeName - Variable in class uk.ac.starlink.util.gui.StoreConfiguration
-
Name of the file used for storage.
- storeSource - Variable in class uk.ac.starlink.util.gui.StoreControlFrame
-
The StoreSource object, this understands the configuration data and how to encode and decode it from XML.
- StoreSource - Interface in uk.ac.starlink.util.gui
-
An interface for component configurations that can be serialised to XML and subsequently stored and restored to a backing store using a
StoreControlFrame
. - StringPaster - Class in uk.ac.starlink.util.gui
-
Utility class to facilitate actions when a string is pasted into a component.
- StringPaster() - Constructor for class uk.ac.starlink.util.gui.StringPaster
- styleBox - Variable in class uk.ac.starlink.util.gui.BasicFontChooser
-
List of possible styles.
- styleLabel - Variable in class uk.ac.starlink.util.gui.BasicFontChooser
-
Label for style selector.
- SuperJar - Class in uk.ac.starlink.util
-
Utility to generate a single jar file containing all the resources referenced by a given jar file.
- SuperJar(File[], File[], String[], String[]) - Constructor for class uk.ac.starlink.util.SuperJar
-
Constructor.
- SYSTEM_OUT - Static variable in interface uk.ac.starlink.util.Destination
-
Destination which directs output to
System.out
.
T
- TallWrapper - Class in uk.ac.starlink.util.gui
-
Provides a container for a component that extends its maximum vertical size.
- TallWrapper(Component) - Constructor for class uk.ac.starlink.util.gui.TallWrapper
-
Constructor.
- TemporaryFileDataSource - Class in uk.ac.starlink.util
-
A DataSource which stores its data in a temporary file.
- TemporaryFileDataSource(InputStream, String) - Constructor for class uk.ac.starlink.util.TemporaryFileDataSource
-
Constructs a new DataSource by reading the contents of an input stream.
- TemporaryFileDataSource(InputStream, String, String, String, File) - Constructor for class uk.ac.starlink.util.TemporaryFileDataSource
-
Constructs a new DataSource by reading the contents of an input stream.
- TestCase - Class in uk.ac.starlink.util
-
This class extends
TestCase
, providing some additional assertions and methods for providing test data for convenience. - TestCase() - Constructor for class uk.ac.starlink.util.TestCase
-
No-arg constructor.
- TestCase(String) - Constructor for class uk.ac.starlink.util.TestCase
-
Constructs a test case with the given name.
- text - Variable in class uk.ac.starlink.util.gui.SelectCharactersEvent
-
The text.
- textField - Variable in class uk.ac.starlink.util.gui.SelectStringDialog
-
The SelectText component
- textField - Variable in class uk.ac.starlink.util.gui.SelectTextField
-
The text entry field.
- toArray() - Method in class uk.ac.starlink.util.PrimitiveList
-
Creates and returns a copy of the contents of this list, in the form of a primitive array of the right length to hold all the elements it currently contains.
- toByteArray() - Method in class uk.ac.starlink.util.ByteList
-
Returns the contents of this list as an array.
- toDoubleArray() - Method in class uk.ac.starlink.util.DoubleList
-
Returns the contents of this list as an array.
- toFloatArray() - Method in class uk.ac.starlink.util.FloatList
-
Returns the contents of this list as an array.
- toImageIcon(Icon) - Static method in class uk.ac.starlink.util.IconUtils
-
Returns an ImageIcon based on a given Icon object.
- toIntArray() - Method in class uk.ac.starlink.util.IntList
-
Returns the contents of this list as an array.
- toLongArray() - Method in class uk.ac.starlink.util.LongList
-
Returns the contents of this list as an array.
- toShortArray() - Method in class uk.ac.starlink.util.ShortList
-
Returns the contents of this list as an array.
- toString() - Method in class uk.ac.starlink.util.CgiQuery
-
Returns this query as a string.
- toString() - Method in class uk.ac.starlink.util.Compression
-
Returns the name of this compression type.
- toString() - Method in class uk.ac.starlink.util.ContentType
- toString() - Method in class uk.ac.starlink.util.DataSource
-
Returns a short description of this source (name plus compression type).
- toURL() - Method in class uk.ac.starlink.util.CgiQuery
-
Returns this query as a URL.
- tweakGuiForMac() - Static method in class uk.ac.starlink.util.Loader
-
Unless it's been set already, sets the value of the apple.laf.useScreenMenuBar system property to true.
U
- uk.ac.starlink.util - package uk.ac.starlink.util
-
Miscellaneous utility classes.
- uk.ac.starlink.util.gui - package uk.ac.starlink.util.gui
-
Miscellaneous utility classes for graphical-interface-related things.
- uk.ac.starlink.util.images - package uk.ac.starlink.util.images
- UncompressInputStream - Class in uk.ac.starlink.util
-
This class decompresses an input stream containing data compressed with the unix "compress" utility (LZC, a LZW variant).
- UncompressInputStream(InputStream) - Constructor for class uk.ac.starlink.util.UncompressInputStream
- uninstall(JTableHeader) - Method in class uk.ac.starlink.util.gui.ArrayTableSorter
-
Reverses the action of a previous
ArrayTableSorter.install(javax.swing.table.JTableHeader)
action. - UpdateAction(String, Icon) - Constructor for class uk.ac.starlink.util.gui.StoreControlFrame.UpdateAction
- updateCurrentConfiguration() - Method in class uk.ac.starlink.util.gui.StoreControlFrame
-
Update the current configuration.
- updateDisplay() - Method in class uk.ac.starlink.util.gui.BasicFontChooser
-
Update the display to reflect the new font, size or style.
- URLDataSource - Class in uk.ac.starlink.util
-
A DataSource implementation based on a
URL
. - URLDataSource(URL) - Constructor for class uk.ac.starlink.util.URLDataSource
-
Constructs a DataSource from a URL with default content coding.
- URLDataSource(URL, ContentCoding) - Constructor for class uk.ac.starlink.util.URLDataSource
-
Constructs a DataSource from a URL with given content coding policy.
- urlToFile(String) - Static method in class uk.ac.starlink.util.URLUtils
-
Locates the local file, if any, represented by a URL.
- urlToUri(URL) - Static method in class uk.ac.starlink.util.URLUtils
-
Turns a URL into a URI.
- URLUtils - Class in uk.ac.starlink.util
-
Provides convenience methods for resolving URLs.
- USER_PROP - Static variable in class uk.ac.starlink.util.PropertyAuthenticator
-
System property supplying basic authentication username ("star.basicauth.user").
- useValue(long) - Method in class uk.ac.starlink.util.ValueWatcher
-
Takes note of a value.
V
- value - Variable in class uk.ac.starlink.util.gui.SelectStringDialog
-
The accepted value, null if not accepted
- ValueButtonGroup<T> - Class in uk.ac.starlink.util.gui
-
Extends ButtonGroup by associating a value with each button.
- ValueButtonGroup() - Constructor for class uk.ac.starlink.util.gui.ValueButtonGroup
-
Constructor.
- ValueWatcher - Class in uk.ac.starlink.util
-
Looks out for an unused value in a sequence of submitted numbers.
- ValueWatcher(long, long) - Constructor for class uk.ac.starlink.util.ValueWatcher
-
Constructs a ValueWatcher which will look out for values in the range covered by
loBound
andhiBound
inclusive. - visitNode(Node) - Method in interface uk.ac.starlink.util.NodeDescendants.Visitor
-
Visit a node in a tree.
- visitTree(NodeDescendants.Visitor) - Method in class uk.ac.starlink.util.NodeDescendants
-
Visits each of the nodes in the tree.
W
- waitForData() - Method in class uk.ac.starlink.util.gui.Downloader
-
Downloads the data if necessary, and returns its content.
- WAVE_HALPHA - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Wavelength of H-alpha - Angstroms
- WeakItemListener - Class in uk.ac.starlink.util.gui
-
Item listener which delegates to another one as long as it is reachable, but only retains a weak reference to it.
- WeakItemListener(ItemListener) - Constructor for class uk.ac.starlink.util.gui.WeakItemListener
-
Constructs a new listener based on an existing one.
- WeakListDataListener - Class in uk.ac.starlink.util.gui
-
List data listener which delegates to another one as long as it is reachable, but only retains a weak reference to it.
- WeakListDataListener(ListDataListener) - Constructor for class uk.ac.starlink.util.gui.WeakListDataListener
-
Constructs a new listener based on an existing one.
- WeakTableColumnModelListener - Class in uk.ac.starlink.util.gui
-
Table column model listener which delegates to another one as long as it is reachable, but only retains a weak reference to it.
- WeakTableColumnModelListener(TableColumnModelListener) - Constructor for class uk.ac.starlink.util.gui.WeakTableColumnModelListener
-
Constructs a new listener based on an existing one.
- WIEN_DISPLACEMENT - Static variable in class uk.ac.starlink.util.PhysicalConstants
-
Wien displacement law constant - m.K
- Wrapper - Interface in uk.ac.starlink.util
-
Mixin interface which indicates an object built on top of a base object.
- WrapUtils - Class in uk.ac.starlink.util
-
Utilities relating to the
Wrapper
class. - write(byte[]) - Method in class uk.ac.starlink.util.Base64OutputStream
- write(byte[], int, int) - Method in class uk.ac.starlink.util.Base64OutputStream
- write(int) - Method in class uk.ac.starlink.util.Base64OutputStream
- writeDeclaration() - Method in class uk.ac.starlink.util.XmlWriter
-
Writes an XML declaration.
- writeSingleJar(OutputStream) - Method in class uk.ac.starlink.util.SuperJar
-
Writes the data from this object to a single jar file combining the contents of all the dependencies.
- writeSource(Source, OutputStream) - Method in class uk.ac.starlink.util.SourceReader
-
Writes the contents of a given Source into a given OutputStream.
- writeSource(Source, Writer) - Method in class uk.ac.starlink.util.SourceReader
-
Writes the contents of a given Source into a given Writer.
- writeToBackingStore() - Method in class uk.ac.starlink.util.gui.StoreConfiguration
-
Save the Document to backing store.
- writeZipOfJars(OutputStream) - Method in class uk.ac.starlink.util.SuperJar
-
Writes the data from this object to a zip file containing all the top-level and dependency jars as individual jar files in the same directory.
X
- XMLEncodeDecode - Interface in uk.ac.starlink.util
-
Interface for objects that can encode and decode their internal configuration within the content of an
Element
. - XmlWriter - Class in uk.ac.starlink.util
-
Provides methods for writing XML output to a stream.
- XmlWriter() - Constructor for class uk.ac.starlink.util.XmlWriter
-
Constructs a new writer which outputs to
System.out
. - XmlWriter(PrintStream) - Constructor for class uk.ac.starlink.util.XmlWriter
-
Constructs a new writer which writes to a given print stream.
All Classes All Packages