Component overview

Revision as of 4 August 2014 14:46 by sannanordgren (Comments | Contribs)

Take a peek at the jAlbum API (Javadoc format) to discover all the goodies that are provided freely to application developers. Here's an overview of some classes that can be reused:

Name Description
se.datadosen.util.BeanBinder A utility class that takes care of synchronizing a GUI with a JavaBean. BeanBinder also transports parameters between property files and a JavaBean. gui.png
se.datadosen.util.PropertyBinder Similar to BeanBinder, but synchronizes a user interface with a property list.
se.datadosen.util.Replacer Multiple string search and replace utility. This class accepts any number of search+replace string pairs to be added. It can then operate on either an input String or stream and replace all occurances of any search pattern with its corresponding replace string.
se.datadosen.util.StringCodec Convert Strings to and from byte array representation with auto detecting and marking of UTF-8 and UTF-16 encodings.
se.datadosen.util.SmartResourceBundle Similar to java.util.ResourceBundle, but handles property files containing UTF-8 encoded characters (auto-senses).
se.datadosen.util.IO A utility class that contain various IO related methods (read text file, copy file etc). It can be used to simplify advanced scripting in jAlbum skins.
se.datadosen.component.RiverLayout Flexible, yet very easy to use layout manager that the jAlbum application makes heavy use of. RiverLayout is inspired by the way HTML formats text. RiverLayout is similar to FlowLayout in the sense that the UI components flow, usually from left to right, as they are added to a container, but control strings like "br", "tab" and "p" can be used to better adjust the location. The "tab" string for instance greatly simplifies the construction of forms.

For more info see the RiverLayout project page.

se.datadosen.component.JLinkLabel Swing component that produces a graphical link to an URL. Will launch the default browser when clicked.
se.datadosen.component.JColorSelector Component that allows color selection by clicking on it.
se.datadosen.tags package Parser for XML/JSP type documents.