com.mucommander.ui.dialog.pref.component
Interface PrefComponent

All Known Implementing Classes:
PrefCheckBox, PrefComboBox, PrefFilePathField, PrefRadioButton, PrefSaneComboBox, PrefTextField

public interface PrefComponent

Interface for components in preferences panels in which changes can be trackered.

Author:
Arik Hadas

Method Summary
 void addDialogListener(PreferencesDialog dialog)
           
 boolean hasChanged()
          This function checks if the component's value was changed from the value that is saved in MuConfiguration.
 

Method Detail

addDialogListener

void addDialogListener(PreferencesDialog dialog)
Parameters:
dialog - - parent dialog of the component parent panel.

hasChanged

boolean hasChanged()
This function checks if the component's value was changed from the value that is saved in MuConfiguration.

Returns:
true if component's value differ from the value at MuConfiguration, else otherwise.


This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard