01: /* SwingML
02: * Copyright (C) 2002 Robert Morris.
03: *
04: * This library is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU Lesser General Public
06: * License as published by the Free Software Foundation; either
07: * version 2 of the License, or (at your option) any later version.
08: *
09: * This library is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12: * Lesser General Public License for more details.
13: *
14: * You should have received a copy of the GNU Lesser General Public
15: * License along with this library; if not, write to the
16: * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17: * Boston, MA 02111-1307, USA.
18: *
19: * Authors:
20: * Robert Morris <robertj@morris.net>
21: *
22: */
23: package org.swingml;
24:
25: import javax.swing.*;
26:
27: /**
28: * This interface provides a means for extending the default L&F offerings
29: * provided by the renderer (Metal, Motif, and Windows on Windows platforms).
30: *
31: * @author <a href="mailto:robertj@morris.net">Robert J. Morris</a>
32: */
33: public interface ExternalLookAndFeel {
34: /**
35: * This method returns a LookAndFeel instance to be used by the renderer. In
36: * order to use this interface in the renderer, set the LAF attribute of the
37: * <PANEL> tag to "External" then supply the EXT-LAF
38: * attribute to the <PANEL> tag with the fully qualified class
39: * definition of the ExternalLookAndFeel implementer.
40: *
41: * @return LookAndFeel - A reference to a valid instance of LookAndFeel.
42: */
43: public LookAndFeel getLookAndFeel();
44: }
|