qflib 0.98.1

Package de.qfs.lib.gui

This is a collection of classes and interfaces related to GUI management.

See:
          Description

Interface Summary
MultiPaneListener A listener for MultiPaneEvents.
SwingUtil.UnsafeRunnable This interface is similar to Runnable, except that the run method may return a value and throw any kind of Exception.
TableModelFilter Interface for filters used by FilteredAndSortedTableModel.
TableModelFilterListener The TableModelFilterListener interface must be implemented by classes interested in a change in a TableModelFilter.
TableModelSorter Interface for sorters used by FilteredAndSortedTableModel.
TableModelSorterListener The TableModelSorterListener interface must be implemented by classes interested in a change in the sort order of a TableModelSorter.
 

Class Summary
AdapterTreeModel A generalized tree model that implements the Swing TreeModel interface with the help of a TreeAdapter and has a number of extra features.
AWTTreeAdapter This is a TreeAdapter for the AWT Component hierarchy.
Borders A Collection of useful borders.
DefaultTableModelSorter A default implementation of the TableModelSorter interface.
DelayedListSelectionListener This class implements a delayed version of the ListSelectionListener interface with the help of a DelayedAction.
DelayedTreeSelectionListener This class implements a delayed version of the TreeSelectionListener interface with the help of a DelayedAction.
EventNames This class provides a mapping from the ids of some AwtEvents to their names and vice versa.
EventQueue This EventQueue enables exception handling for exceptions raised in the AWT event loop thread.
EventQueueMark This little tool is useful to distinguish between artificial and user-generated events.
EventSink This class implements the MouseListener and KeyListener interfaces by simply consuming all events it gets.
FilteredAndSortedTableModel A TableModelAdapter that enables filtering and sorting.
FocusFixer This class fixes an annoying bug that only occurs in JDK 1.1 with the motif Toolkit.
Grid A Grid extends JPanel to provide convenient layout of its children through the use of (possibly nested) GridBagLayout(s).
LevelTreeSelectionModel This class enables the selection of multiple nodes of a JTree, as long as the nodes are siblings.
LimitedDocument An extension of PlainDocument that limits the number of characters the Document may hold.
LimitedPasswordField LimitedPasswordField extends JPasswordField to restrict the number of characters that may be entered.
LimitedTextArea LimitedTextArea extends JTextArea to restrict the number of characters that may be entered.
LimitedTextField LimitedTextField extends JTextField to restrict the number of characters that may be entered.
Message A collection of convenience methods to bring up localized versions of standard dialogs.
ModalDialog This is a very useful base class for modal dialogs that display one large component - or several components grouped into a large one - above a row of buttons.
ModalDialog.ButtonData A structure that encapsulates the values for a button.
MultiPane A MultiPane is very similar to a JSplitPane and is implemented with the help of one.
MultiPaneEvent This event contains the details about a change in a MultiPane's showing state.
SortedTableHeaderCellRenderer This CellRenderer draws a little arrow on the column determining the sort order of a table.
SortedTableHelper This little helper class is very useful in creating a sorted JTable.
SplashWindow The SplashWindow is a special window intended to be displayed while an application initializes itself, to inform the user about what is going on.
StatusLine The StatusLine is a component that is typically placed at the bottom of a Frame and used to display status and other messages.
SwingUtil A collection of utilities and Swing problem workarounds that go beyond SwingUtilities.
SwingUtil.ConstrainedViewport This class extends JViewport to restrict the arguments passed to setViewPosition to nonnegative coordinates.
TableModelAdapter Built after the Adapter pattern, this class acts as the base for manipulators of TableModels which leave the original model undisturbed.
TableModelFilterEvent This event is used to signal a change in the state of a TableModelFilter that requires the table model rows to be recalculated.
TableModelSorterEvent This event contains the details about a change in the sort order of a TableModelSorter.
TreeNotification A TreeNotification supports a mechanism similar to TreeEvents, but with a different philosophy.
WholeRowFocusRenderer This TableCellRenderer draws a focus border around a whole table row, ignoring the focused column.
WindowsTableCellRenderer TableCellRenderer that draws a Windows like focus border.
WindowsTreeCellRenderer TreeCellRenderer that draws a Windows like focus border.
 

Package de.qfs.lib.gui Description

This is a collection of classes and interfaces related to GUI management.

One of the major shortcomings of Swing is the rudimentary table support. While JTable is a poverful class, many commonly used features are missing and far from easy to implement. The SortedTableHelper class together with its supporting classes provides

Another useful class is SwingUtil that has lots of useful little features and Swing problem workarounds missing from SwingUtilities.

The Message class offers a convenient way to display localized message dialogs. It is integrated with the de.qfs.lib.command mechanism for straightforward error handling.

MultiPane is an extension of JSplitPane that can display either one of its components or both.


qflib 0.98.1