ca.sqlpower.wabit.swingui
Class WabitApplicationPreferencesPanel

java.lang.Object
  extended by ca.sqlpower.wabit.swingui.WabitApplicationPreferencesPanel
All Implemented Interfaces:
ca.sqlpower.swingui.DataEntryPanel

public class WabitApplicationPreferencesPanel
extends java.lang.Object
implements ca.sqlpower.swingui.DataEntryPanel

A JPanel with a bunch of controls to allow the user to change global application settings for the Wabit


Constructor Summary
WabitApplicationPreferencesPanel(java.util.prefs.Preferences prefs)
          Create a global preferences panel using the preferences stored in the given prefs argument.
 
Method Summary
 boolean applyChanges()
           
 void discardChanges()
           
 javax.swing.JComponent getPanel()
           
 boolean hasUnsavedChanges()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WabitApplicationPreferencesPanel

public WabitApplicationPreferencesPanel(java.util.prefs.Preferences prefs)
Create a global preferences panel using the preferences stored in the given prefs argument.

Parameters:
prefs - The Preferences object that contains the Wabit's global application preferences
Method Detail

applyChanges

public boolean applyChanges()
Specified by:
applyChanges in interface ca.sqlpower.swingui.DataEntryPanel

discardChanges

public void discardChanges()
Specified by:
discardChanges in interface ca.sqlpower.swingui.DataEntryPanel

getPanel

public javax.swing.JComponent getPanel()
Specified by:
getPanel in interface ca.sqlpower.swingui.DataEntryPanel

hasUnsavedChanges

public boolean hasUnsavedChanges()
Specified by:
hasUnsavedChanges in interface ca.sqlpower.swingui.DataEntryPanel


Copyright © 2009. All Rights Reserved.