# Package uk.ac.starlink.util.gui

package uk.ac.starlink.util.gui
Miscellaneous utility classes for graphical-interface-related things.

Related Packages
Package
Description
uk.ac.starlink.util
Miscellaneous utility classes.
uk.ac.starlink.util.bzip2
uk.ac.starlink.util.images
Class
Description
ArrayTableColumn<R,C>
Provides the specification for a table column.
ArrayTableModel<R>
TableModel which contains its data as an array of objects, one per row.
ArrayTableSorter<R>
Handles GUI aspects of allowing the user to sort columns in a table by clicking on the column header.
AWTXMLEncodeDecode
A static utility class for encoding and decoding some AWT primitives to and from XML.
BasicFileChooser
A JFileChooser that attempts to do something useful with windows shortcuts.
BasicFileFilter
A FileFilter for configuring a `JFileChooser` to only show files that have one of a set of file extensions.
BasicFontChooser
BasicFontChooser is a dialog for choosing one of the available fonts.
BeanTableModel
TableModel which displays beans.
ChangingComboBoxModel<E>
ComboBoxModel which can notify `ChangeListener`s and `ActionListener`s of changes in the selection.
ComboBoxBumper
Icon providing arrows to cycle the value of a JComboBox up or down.
ConstrainedViewportLayout
This is a tweaked ViewportLayout implementation to work round an issue with scrollbar positioning.
CustomComboBoxRenderer<T>
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.
Downloader<T>
Manages downloading of data that only needs to be got once.
DragListener
Mouse listener object which watches for a drag gesture, and invokes TransferHandler.exportAsDrag() when it sees one.
ErrorDialog
Utility class for displaying an error dialogue to the user.
ExampleSelectField
Text entry component with some additional features.
ExampleTextField
TextField that presents an initial greyed-out text before use.
FileNameListCellRenderer
FileNameListCellRenderer is a `ListCellRenderer` that displays a `File` or `String` truncated to the left, not right, so that the most meaningful parts of a file name are shown.
GridBagLayouter
Utility class for laying out UI components using a GridBagLayout with fixed schemes of various kinds..
MemoryMonitor
Component which displays JVM memory usage.
ProxySetupFrame
Create a dialog window for displaying and modifying the current proxy server configuration as found in a backing store.
RenderingComboBox<E>
JComboBox with custom renderer.
SelectCharacters
SelectCharacters provides a dialog that displays all the characters in a given font.
SelectCharactersEvent
SelectCharactersEvent defines an event that passes on new text that has been created.
SelectCharactersListener
SelectCharactersListener defines an interface used when listening for a SelectCharacters window to send updated text.
SelectCharactersModel
SelectCharactersModel is an implementation of the TableModel interface for displaying all the characters in a given font.
SelectStringDialog
Create a dialog for obtaining a text string with the option of selecting and including special characters.
SelectTextField
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.
ShrinkWrapper
Provides a container for a component whose maximum size is the same as its preferred size.
SizingScrollPane
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.
SortingHeaderRenderer
Renderer for JTable (header) cells that can indicate sorting status.
StoreConfiguration
This class interacts with a permanent set of configuration states stored in an XML-format disk file.
StoreControlFrame
A top-level window that offers controls for saving, restoring and deleting configuration data stored in XML files.
StoreFileUtils
Class of static members that provide utility functions for locating configuration files.
StoreSource
An interface for component configurations that can be serialised to XML and subsequently stored and restored to a backing store using a `StoreControlFrame`.
StringPaster
Utility class to facilitate actions when a string is pasted into a component.
TallWrapper
Provides a container for a component that extends its maximum vertical size.
ValueButtonGroup<T>
Extends ButtonGroup by associating a value with each button.
WeakItemListener
Item listener which delegates to another one as long as it is reachable, but only retains a weak reference to it.
WeakListDataListener
List data listener which delegates to another one as long as it is reachable, but only retains a weak reference to it.
WeakTableColumnModelListener
Table column model listener which delegates to another one as long as it is reachable, but only retains a weak reference to it.