Package uk.ac.starlink.util.gui
package uk.ac.starlink.util.gui
Miscellaneous utility classes for graphical-interface-related things.
-
ClassDescriptionArrayTableColumn<R,
C> Provides the specification for a table column.TableModel which contains its data as an array of objects, one per row.Handles GUI aspects of allowing the user to sort columns in a table by clicking on the column header.A static utility class for encoding and decoding some AWT primitives to and from XML.A JFileChooser that attempts to do something useful with windows shortcuts.A FileFilter for configuring aJFileChooser
to only show files that have one of a set of file extensions.BasicFontChooser is a dialog for choosing one of the available fonts.TableModel which displays beans.ComboBoxModel which can notifyChangeListener
s andActionListener
s of changes in the selection.Icon providing arrows to cycle the value of a JComboBox up or down.This is a tweaked ViewportLayout implementation to work round an issue with scrollbar positioning.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.Mouse listener object which watches for a drag gesture, and invokes TransferHandler.exportAsDrag() when it sees one.Utility class for displaying an error dialogue to the user.Text entry component with some additional features.TextField that presents an initial greyed-out text before use.FileNameListCellRenderer is aListCellRenderer
that displays aFile
orString
truncated to the left, not right, so that the most meaningful parts of a file name are shown.Utility class for laying out UI components using a GridBagLayout with fixed schemes of various kinds..Component which displays JVM memory usage.Create a dialog window for displaying and modifying the current proxy server configuration as found in a backing store.JComboBox with custom renderer.SelectCharacters provides a dialog that displays all the characters in a given font.SelectCharactersEvent defines an event that passes on new text that has been created.SelectCharactersListener defines an interface used when listening for a SelectCharacters window to send updated text.SelectCharactersModel is an implementation of the TableModel interface for displaying all the characters in a given font.Create a dialog for obtaining a text string with the option of selecting and including special characters.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.Provides a container for a component whose maximum size is the same as its preferred size.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.Renderer for JTable (header) cells that can indicate sorting status.This class interacts with a permanent set of configuration states stored in an XML-format disk file.A top-level window that offers controls for saving, restoring and deleting configuration data stored in XML files.Class of static members that provide utility functions for locating configuration files.An interface for component configurations that can be serialised to XML and subsequently stored and restored to a backing store using aStoreControlFrame
.Utility class to facilitate actions when a string is pasted into a component.Provides a container for a component that extends its maximum vertical size.Extends ButtonGroup by associating a value with each button.Item listener which delegates to another one as long as it is reachable, but only retains a weak reference to it.List data listener which delegates to another one as long as it is reachable, but only retains a weak reference to it.Table column model listener which delegates to another one as long as it is reachable, but only retains a weak reference to it.