MetaDone
metadone.client.MetadoneClientUtil Class Reference
Collaboration diagram for metadone.client.MetadoneClientUtil:

List of all members.

Static Public Member Functions

static void testLogging (boolean info)
static void loadProperties (Properties properties)
static void printFontsAvailable ()
static void printSystemProperties ()
static void printAvailableLookAndFeels ()
static void setLookAndFeel (String lookAndFeel)

Private Member Functions

 MetadoneClientUtil ()

Static Private Member Functions

static boolean testassert ()

Static Private Attributes

static final Logger logger = Logger.getLogger(MetadoneClientUtil.class)
static final String METADONE_PROPERTIES = "metadone.properties"

Detailed Description

Utility functions for starting and configuring the metadone client.


Constructor & Destructor Documentation

metadone.client.MetadoneClientUtil.MetadoneClientUtil ( ) [private]

Member Function Documentation

static void metadone.client.MetadoneClientUtil.loadProperties ( Properties  properties) [static]

Loads the global default metadone.properties.

Parameters:
propertiesThe property to load to

References metadone.client.MetadoneClientUtil.logger, and metadone.client.MetadoneClientUtil.METADONE_PROPERTIES.

Referenced by metadone.metadone_standalone.MetadoneStandalone.main(), and metadone_bundle_client.MetadoneActivator.start().

static void metadone.client.MetadoneClientUtil.printAvailableLookAndFeels ( ) [static]

Logs the available Swing look&feels.

See also:
UIManager.getInstalledLookAndFeels()

References metadone.client.MetadoneClientUtil.logger.

Referenced by metadone.client.MetadoneClientUtil.testLogging().

static void metadone.client.MetadoneClientUtil.printFontsAvailable ( ) [static]

Logs the available fonts.

See also:
GraphicsEnvironment.getAvailableFontFamilyNames()

References metadone.client.MetadoneClientUtil.logger.

Referenced by metadone.client.MetadoneClientUtil.testLogging().

static void metadone.client.MetadoneClientUtil.printSystemProperties ( ) [static]

Logs the system properties.

See also:
System.getProperties()

References metadone.client.MetadoneClientUtil.logger.

Referenced by metadone.client.MetadoneClientUtil.testLogging().

static void metadone.client.MetadoneClientUtil.setLookAndFeel ( String  lookAndFeel) [static]

Sets a look&feel.

Parameters:
lookAndFeelThe name of the look&feel
See also:
LookAndFeelInfo.getName()

References metadone.client.MetadoneClientUtil.logger.

Referenced by metadone.metadone_standalone.MetadoneStandalone.main(), and metadone_bundle_client.MetadoneActivator.start().

static boolean metadone.client.MetadoneClientUtil.testassert ( ) [static, private]

Member Data Documentation

final String metadone.client.MetadoneClientUtil.METADONE_PROPERTIES = "metadone.properties" [static, private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations