ice.ri.common.dialog
Interface SettingsDialogInterface

All Known Implementing Classes:
AbstractJSettingsDialog, AbstractJSettingsDialogPanel, AbstractSettingsDialog, AbstractSettingsDialogPanel

public interface SettingsDialogInterface

The SettingsDialogInterface provides common methods that are are called when the state of the dialog needs to be recorded. This is applied to the dialog button model of "Ok", "Apply" and "Cancel".

Since:
6.0
Version:
%I%, %G%
Author:
Patrick Corless

Method Summary
 boolean cancel()
          The cancel method should not save the data represented by the dialog GUI.
 boolean save()
          The save method should save the data represented by the dialog GUI.
 

Method Detail

save

public boolean save()
The save method should save the data represented by the dialog GUI. This would normally be called by either the "OK" or "Apply" action commands

Returns:
true if the save was successful, false otherwise

cancel

public boolean cancel()
The cancel method should not save the data represented by the dialog GUI. This method is normally called by the "Cancel" action command.

Returns:
true if the cancel was successful, false otherwise