001 package net.sourceforge.mp3dings.preferences;
002
003 /* Mp3dings - manage mp3 meta-information
004 * Copyright (C) 2003 Moritz Ringler
005 * $Id: PrefModule.java,v 1.18 2006/11/23 17:38:42 ringler Exp $
006 *
007 * This program is free software; you can redistribute it and/or
008 * modify it under the terms of the GNU General Public License
009 * as published by the Free Software Foundation; either version 2
010 * of the License, or (at your option) any later version.
011 *
012 * This program is distributed in the hope that it will be useful,
013 * but WITHOUT ANY WARRANTY; without even the implied warranty of
014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
015 * GNU General Public License for more details.
016 *
017 * You should have received a copy of the GNU General Public License
018 * along with this program; if not, write to the Free Software
019 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
020 */
021
022 import java.awt.Component;
023 import java.util.prefs.BackingStoreException;
024 import javax.swing.tree.MutableTreeNode;
025
026 /**
027 * A Preference Module, a container for similar PrefPanels.
028 * @author Moritz Ringler
029 * @version $Revision: 1.18 $ ($Date: 2006/11/23 17:38:42 $)
030 */
031 public interface PrefModule{
032 public String toString();
033 public void save() throws BackingStoreException;
034 public boolean isSavable();
035 public void showInvalidPanel();
036 public MutableTreeNode getTreeNode();
037 public Component getComponent();
038
039 }