01: package net.sourceforge.squirrel_sql.plugins.laf;
02:
03: /*
04: * Copyright (C) 2002-2006 Colin Bell
05: * colbell@users.sourceforge.net
06: *
07: * This program is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU General Public License
09: * as published by the Free Software Foundation; either version 2
10: * of the License, or any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: * GNU General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public License
18: * along with this program; if not, write to the Free Software
19: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20: */
21: import javax.swing.LookAndFeel;
22:
23: /**
24: * Behaviour of a look and feel.
25: *
26: * @author <A HREF="mailto:colbell@users.sourceforge.net">Colin Bell</A>
27: */
28: public interface ILookAndFeelController {
29: /**
30: * Initialization.
31: */
32: void initialize();
33:
34: /**
35: * This Look and Feel is about to be installed.
36: */
37: void aboutToBeInstalled(LAFRegister lafRegister, LookAndFeel laf);
38:
39: /**
40: * This Look and Feel has just been installed.
41: */
42: void hasBeenInstalled(LAFRegister lafRegister, LookAndFeel laf);
43:
44: /**
45: * Return the component to display in the Look and Feel Preferences
46: * panel to configure this Look and Feel. Return <TT>null</TT> if no
47: * extra configuration required.
48: *
49: * @return The configuration component or <TT>null</TT>.
50: */
51: BaseLAFPreferencesPanelComponent getPreferencesComponent();
52: }
|