01: /*
02: * Copyright (C) 2004 NNL Technology AB
03: * Visit www.infonode.net for information about InfoNode(R)
04: * products and how to contact NNL Technology AB.
05: *
06: * This program is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU General Public License
08: * as published by the Free Software Foundation; either version 2
09: * of the License, or (at your option) any later version.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with this program; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
19: * MA 02111-1307, USA.
20: */
21:
22: // $Id: TabbedPanelDefaultButtonFactories.java,v 1.2 2005/02/16 11:28:15 jesper Exp $
23: package net.infonode.tabbedpanel;
24:
25: import net.infonode.gui.button.ButtonFactory;
26: import net.infonode.gui.button.FlatButtonFactory;
27:
28: /**
29: * Contains the default tabbed panel button factories.
30: *
31: * @author $Author: jesper $
32: * @version $Revision: 1.2 $
33: * @since ITP 1.3.0
34: */
35: public class TabbedPanelDefaultButtonFactories {
36: private static final FlatButtonFactory BUTTON_FACTORY = new FlatButtonFactory();
37:
38: /**
39: * Returns the default scroll up button factory.
40: *
41: * @return the default scroll up button factory
42: */
43: public static ButtonFactory getScrollUpButtonFactory() {
44: return BUTTON_FACTORY;
45: }
46:
47: /**
48: * Returns the default scroll down button factory.
49: *
50: * @return the default scroll down button factory
51: */
52: public static ButtonFactory getScrollDownButtonFactory() {
53: return BUTTON_FACTORY;
54: }
55:
56: /**
57: * Returns the default scroll left button factory.
58: *
59: * @return the default scroll left button factory
60: */
61: public static ButtonFactory getScrollLeftButtonFactory() {
62: return BUTTON_FACTORY;
63: }
64:
65: /**
66: * Returns the default scroll right button factory.
67: *
68: * @return the default scroll right button factory
69: */
70: public static ButtonFactory getScrollRightButtonFactory() {
71: return BUTTON_FACTORY;
72: }
73:
74: /**
75: * Returns the default tab drop down list button factory.
76: *
77: * @return the default tab drop down list button factory
78: */
79: public static ButtonFactory getTabDropDownListButtonFactory() {
80: return BUTTON_FACTORY;
81: }
82: }
|