Package | Description |
---|---|
net.sf.cuf.ui |
This package contains various classes that make Swing coding easier.
|
net.sf.cuf.ui.builder |
This package contains the non-graphical interface builder
and its
various helper classes. |
Class and Description |
---|
DispatcherAction
This class offers the
Action benefits and also acts as a dispatcher. |
SwingMapping
SwingMapping generates a string mapping for a tree of JComponent's.
|
Class and Description |
---|
SwingDecoratorFunctionality
This classes helps a lot for I18N management, and acts as a decorator for
Swing components.
Instead of hard-coding a lot of resources (Tooltip, shortcut, name, ..) in Java code, use one or more resource files and SwingDecorator! The keys in a resource file are called I18nID's, and various aspects of a component are addressed with various suffixes (.title, .text, .mnemonic, .accelerator, .tooltip, .iconname). Example: A resource file contains the following lines:
myButton.text=Hello
The code to initialize the button would be something like:
JButton b= new JButton(); |
TitledSeparator
The TitledSeparator generates a JSeparator with a text (title) at a
specified position (pos).
|
Copyright © 2017 Jürgen Zeller (privat). All rights reserved.