Holger's
Java API

Package com.antelmann.util.gui

This package contains utility classes for GUI related implementations.

See:
          Description

Interface Summary
EditableComponent a component that supports user edits that can be disabled.
FontSelectionListener The listener that's notified when a font selection changes
Form a Form represents a way to edit objects through a specialized GUI that provides all save/cancel and optionally apply functionality.
FormListener  
FormValidator<T> used for Form dialogs or frames that edit data.
MouseBoundsListener.Snapper  
 

Class Summary
AlarmClockFrame A little GUI app with a JWatchLabel that can be run, halted and set.
AncestorAdapter an abstract adapter for an AncestorListener as a convenience
BackgroundImageBorder a border that draws the given image centered as a background.
CategoryNode<T> provides a model for organizing categories in a tree.
CloseButton A simple JButton that will call parent.dispose() when the button is pressed.
CustomTheme allows to easily modify color themes.
DesktopAdapter adding this as a ComponentListener and InternalFrameListener to a JInternalFrame within a desktop will properly adjust the size of the desktop on relevant events.
DialogFilter<T> a special filter that will accept a given entry via dialog response
DocumentAdapter a convenience implementation that makes it easier to implement a DocumentListener if you want to perform a certain task in all cases.
DocumentSizeFilter limits documents to a given fixed size.
DocumentTextFilter allows to use a common Filter to be used as a DocumentFilter.
FontSelectionEvent An event that characterizes a change in the current font selection.
FontViewer A nice little Font Viewer GUI application.
FormDialog<T> allows easy display and handling of forms in a dialog.
FormFrame a Frame that takes some form along with a FormValidator to edit some data.
FormHelper provides convenience to handle common problems when dealing with forms and has generally useful utility methods for handling form fields
FormInternalFrame a JInternalFrame that takes some form along with a FormValidator to edit some data.
FormListener.Adapter  
FormPanel uses a plain JPanel as a Form, where the given component is placed in the center while the control buttons are placed at one edge.
JCategoryField fires a PropertyChangeEvent with key 'value' upon changes
JCipher a little sample gui to ease the task of using CipherKey
JComboButton a component that allows multiple buttons to share the same spot through a JComboBox, where the button's actions can directly be accessed
JCustomThemeEditor work in progress on a metallic theme editor
JDateRangeChooser This class allows to easily select a range of dates.
JDateTimeChooser A component that supports setting date and time via different components
JDiskUsage shows disk usage based on the given root directory.
JEnumField<T extends Enum<?>> a special component that allows to select an enum constant via JRadioButton in a ButtonGroup.
JFileField A text component that denotes a file path; supports mouse drops from file system and provides a convenient JFileChooser.
JFileFieldBeanInfo  
JFontChooser provides a nice GUI mechanism to choose a System Font (with preview and compare option and several other features).
JFontControl provides a Font control component that can be used in a menu or toolbar.
JFontFileChooser provides a nice GUI mechanism to choose a Font from the file system.
JHourSpinner A simple specialized JSpinner using Long for a value representing milliseconds and displays the time using hours/minutes/seconds.
JHourSpinner.HourEditor  
JHourSpinner.HourModel  
JKeyButton a special button that sends KeyEvents to a component upon being pressed
JListSelection a specialized component that allows to select elements from a pool in a defined order
JMainFrame a convenient JFrame providing some basic nice stuff
JMemoryGauge a component that displays current memory consumption
JMethodTableModelComponent<T> implements a general component for editing an object based on the meta-data provided by a MethodTableModel.
JMultipleSelectionComboBox a specialized JComboBox allowing to deal with multiple selection.
JPreviewPane<T> provides a component that displays a preview of a component that itself allows to select values.
JPrinterSelect a gui component to support printing
JPropertyEditor a convenient graphical editor for Properties based on one-line String values.
JPropertyEntryComponent implements a general component for editing PropertyEntry objects.
JPropertyEntryForm<T extends PropertyEntry> provides a generic form to edit instances of class T based on its properties.
JSearchList provides a selection list that can be case-insensitively filtered by its toString() representation through a text field.
JSearchTable<T> provides a selection table that uses a JFilteredTableComponent for easy filtering/sorting.
JSearchTree a wrapper around a JTree that makes it easier to find a node.
JTagEditor a special editor that allows to select items from a list as well as add items to the list.
JTagsField<G extends Keyword> a special component to edit the groups for a Taggable object; fires a PropertyChangeEvent with key Form.EDIT_PROPERTY_KEY upon change.
JTimeChooser A simple specialized JSpinner using java.util.Date for a value.
JTouchNumPad represents a 4x4 NumPad for touch screen apps
JURLField a component that uses a JTextField to edit a URL and provides a button to view the URL
JWatchLabel JWatchLabel is a JComponent that displays either the current time or a given Stopwatch updated every second
JYouTubeField provides a field to edit video entries while allowing to preview relevant information.
Language English language resources for the com.antelmann.util.gui package
Language_de Deutsche Uebersetzung fuer die com.antelmann.util.gui Package
Language_en English language resources for the com.antelmann.util.gui package
Language_lv resources for Latvia
Language_ru resources for Russia
ListFocusTraversalPolicy allows to customize the focus traversal based on a list
Menus this class provides some convenient menus, dialogs and other functions (additions to SwingUtilities) that are potentially useful for any Java Swing Application.
MoneyFormatFactory to be used with JFormattedTextField; this maps between a String and a Number, but is displayed as a money value.
MouseBoundsListener a listener class for moving/resizing a component via mouse movements.
MyAbstractAction a base class for actions that provides some convenience for implementing actions
MyJCalendar deals with an unfortunate bug in the JCalendar implementation which occurs when the month is changed to one with fewer days than currently displayed in the JDayChooser component.
PercentFormat allows to edit percentages in a commonly used way, so that the number 10 actually represents 10 percent.
PercentFormatFactory displays a normal percentage, let's you edit the percentage as a number with 100 corresponding to 100 percent and stores the value as a proper percentage value where 1 corresponds to 100 percent.
Plot2DFunction Plot2DFunction provides a specialized JPanel that plots any given two-dimensional function.
PropertiesEditorFrame a convenient graphical editor for Properties as a stand-alone application
SchedulerFrame a convenient GUI to schedule predefined tasks
SelectAllOnFocusGain a general focus listener that will select all text on focus gain if the source of the focus event is a JTextComponent
SplashScreen for use as a splash screen.
SubTreeModel represents a specific branch of a given wrapped tree model.
TextViewerFrame a very simple text viewer w/ copy/print/save capabilities.
ToolTipListRenderer allows to customize the tool tip based on the selected item and optionally some Format or PatternExtractor; even wrapping existing renderer is supported
TreeUtils provides utility methods for handling trees.
WaitMessageDialog a little wait dialog
 

Enum Summary
JDateRangeChooser.Interval  
LayoutOption specifies the way a component should be laid out to best fit into an enclosing container
 

Exception Summary
FormValidationWarning indicates a problem during a form validation
 

Package com.antelmann.util.gui Description

This package contains utility classes for GUI related implementations.

An interesting highlight includes a class for plotting two-dimensional functions in a highly customizable and yet simple way.

Another feature highlight is a look&feel menu that can be applied for any GUI application.



(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads