JAPI 0.9.0
Yet another Java API
API Documentation

Package net.sf.japi.swing.prefs

This package contains useful Swing extension classes about handling user interfaces to user preferences.

See:
          Description

Interface Summary
Prefs Interface that is to be implemented by classes that provide preferences.
 

Class Summary
AbstractPrefs Abstract preferences implementation.
PreferencesGroup A PreferencesGroup is an ordered set of Prefs, for use with PreferencesPane.
PreferencesPane Panel to display preferences.
 

Package net.sf.japi.swing.prefs Description

This package contains useful Swing extension classes about handling user interfaces to user preferences.

The recommended way in using this package is:

  1. Create instances of Prefs

    For this, you can do either or both:

    The most important methods of Prefs are Prefs.isChanged(), Prefs.defaults(), Prefs.revert() and Prefs.apply(). You implement these methods to get notified about the user's wishes about his / her input.
  2. Create a PreferencesGroup that contains these Prefs objects.
  3. Invoke PreferencesPane.showPreferencesDialog(java.awt.Component,net.sf.japi.swing.prefs.PreferencesGroup,boolean) to let the user change the preferences.


JAPI
Yet another Java API
API Documentation

© 2005-2006 Christian Hujer. All rights reserved. See copyright