org.hfbk.vis.PrefsDialog Class Reference

Collaboration diagram for org.hfbk.vis.PrefsDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PrefsDialog ()
 PrefsDialog (final String filter)

Static Public Member Functions

static Checkbox getPrefsCheckbox (final Field f) throws IllegalAccessException
static TextField getPrefsStringInput (final Field f, int cols) throws IllegalAccessException
static Panel getPrefsIntInput (final Field f) throws IllegalAccessException

Package Functions

Panel getFieldsPanel (String filter)
SimpleButton createFontChooserButton (final TextField textField)
SimpleButton createFileChooserButton (final String label, final TextField textField)

Static Package Functions

static void setTT (Field f, Component owner)

Package Attributes

Panel prefsPanel
Prefs lastPrefs

Private Attributes

Frame frame

Classes

class  SimpleButton

Detailed Description

a preferences dialog.

fields of class Prefs are automagically gathered in an UI.

provides four buttons: "ok" just closes the window as all settings are applied at instant. closing the window thus commits too. "default" resets to factory settings. "reset" back to state at opening the dialog "cancel" reset and then close.

Author:
paul

Definition at line 46 of file PrefsDialog.java.


Constructor & Destructor Documentation

org.hfbk.vis.PrefsDialog.PrefsDialog (  ) 

show a preferences dialog.

Definition at line 216 of file PrefsDialog.java.

org.hfbk.vis.PrefsDialog.PrefsDialog ( final String  filter  ) 

show a dialog with a selection of preferences fields

Parameters:
filter regexp to match a fields name

Definition at line 226 of file PrefsDialog.java.

References org.hfbk.vis.Prefs.clone(), org.hfbk.vis.Prefs.current, org.hfbk.vis.PrefsDialog.frame, org.hfbk.vis.PrefsDialog.getFieldsPanel(), org.hfbk.vis.PrefsDialog.lastPrefs, and org.hfbk.vis.PrefsDialog.prefsPanel.

Here is the call graph for this function:


Member Function Documentation

static void org.hfbk.vis.PrefsDialog.setTT ( Field  f,
Component  owner 
) [static, package]

Definition at line 54 of file PrefsDialog.java.

Referenced by org.hfbk.vis.PrefsDialog.getPrefsCheckbox(), org.hfbk.vis.PrefsDialog.getPrefsIntInput(), and org.hfbk.vis.PrefsDialog.getPrefsStringInput().

Here is the caller graph for this function:

static Checkbox org.hfbk.vis.PrefsDialog.getPrefsCheckbox ( final Field  f  )  throws IllegalAccessException [static]

Definition at line 59 of file PrefsDialog.java.

References org.hfbk.vis.PrefsDialog.setTT().

Referenced by org.hfbk.vis.PrefsDialog.getFieldsPanel().

Here is the call graph for this function:

Here is the caller graph for this function:

static TextField org.hfbk.vis.PrefsDialog.getPrefsStringInput ( final Field  f,
int  cols 
) throws IllegalAccessException [static]

Definition at line 75 of file PrefsDialog.java.

References org.hfbk.vis.PrefsDialog.setTT().

Referenced by org.hfbk.vis.PrefsDialog.getFieldsPanel().

Here is the call graph for this function:

Here is the caller graph for this function:

static Panel org.hfbk.vis.PrefsDialog.getPrefsIntInput ( final Field  f  )  throws IllegalAccessException [static]

Definition at line 93 of file PrefsDialog.java.

References org.hfbk.vis.PrefsDialog.setTT().

Referenced by org.hfbk.vis.PrefsDialog.getFieldsPanel().

Here is the call graph for this function:

Here is the caller graph for this function:

Panel org.hfbk.vis.PrefsDialog.getFieldsPanel ( String  filter  )  [package]

provides the filled-in ready to use Prefs panel, allowing for edit all public Prefs fields.

dirty: to update values, just rebuild the panel.

Returns:
filled-in UI panel

Definition at line 124 of file PrefsDialog.java.

References org.hfbk.vis.PrefsDialog.createFileChooserButton(), org.hfbk.vis.PrefsDialog.createFontChooserButton(), org.hfbk.vis.PrefsDialog.getPrefsCheckbox(), org.hfbk.vis.PrefsDialog.getPrefsIntInput(), and org.hfbk.vis.PrefsDialog.getPrefsStringInput().

Referenced by org.hfbk.vis.PrefsDialog.PrefsDialog().

Here is the call graph for this function:

Here is the caller graph for this function:

SimpleButton org.hfbk.vis.PrefsDialog.createFontChooserButton ( final TextField  textField  )  [package]

Definition at line 181 of file PrefsDialog.java.

References org.hfbk.util.FontDialog.chooseFont(), and org.hfbk.vis.PrefsDialog.frame.

Referenced by org.hfbk.vis.PrefsDialog.getFieldsPanel().

Here is the call graph for this function:

Here is the caller graph for this function:

SimpleButton org.hfbk.vis.PrefsDialog.createFileChooserButton ( final String  label,
final TextField  textField 
) [package]

Definition at line 206 of file PrefsDialog.java.

References org.hfbk.util.DirectoryChooser.chooseDir().

Referenced by org.hfbk.vis.PrefsDialog.getFieldsPanel().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Panel org.hfbk.vis.PrefsDialog.prefsPanel [package]

Definition at line 48 of file PrefsDialog.java.

Referenced by org.hfbk.vis.PrefsDialog.PrefsDialog().

Prefs org.hfbk.vis.PrefsDialog.lastPrefs [package]

Definition at line 50 of file PrefsDialog.java.

Referenced by org.hfbk.vis.PrefsDialog.PrefsDialog().

Frame org.hfbk.vis.PrefsDialog.frame [private]

Definition at line 52 of file PrefsDialog.java.

Referenced by org.hfbk.vis.PrefsDialog.createFontChooserButton(), and org.hfbk.vis.PrefsDialog.PrefsDialog().


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 17:58:15 2009 for visclient by  doxygen 1.5.1