alma::acs::gui::standards::GuiStandards Class Reference

List of all members.

Classes

class  SortedProperties

Static Public Member Functions

static void enforce ()
static String comment ()
static Properties current ()
static void redefine (Properties p)

Detailed Description

This class activates the Alma Standard Settings.

Also this class helps in saving and loading gui standard settings, see Example.


Member Function Documentation

static String alma::acs::gui::standards::GuiStandards::comment (  )  [inline, static]

Returns a comment with some explanation, useful when saving settings to a file.

static Properties alma::acs::gui::standards::GuiStandards::current (  )  [inline, static]

Returns the current settings, ready for storage to an external location.

static void alma::acs::gui::standards::GuiStandards::enforce (  )  [inline, static]

A call to this method is recommended for applications wanting to use the Alma GUI Standards. It applies the currently defined properties by means of passing them to the Swing UI Manager. Swing widgets created hereafter will automatically have the proper UI settings without the need for programmatic intervention like explicitly setting their background color.

static void alma::acs::gui::standards::GuiStandards::redefine ( Properties  p  )  [inline, static]

Redefines the current settings according to the specified properties object. The object may contain a subset of all possible properties, leaving the rest untouched. This method effects a call to enforce(), thus the redefined settings will affect widgets created hereafter.


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2