01: /*
02: * Copyright 2005-2008 Kirill Grouchnikov, based on work by
03: * Sun Microsystems, Inc. All rights reserved.
04: *
05: * This library is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU Lesser General Public
07: * License as published by the Free Software Foundation; either
08: * version 2.1 of the License, or (at your option) any later version.
09: *
10: * This library is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13: * Lesser General Public License for more details.
14: *
15: * You should have received a copy of the GNU Lesser General Public
16: * License along with this library; if not, write to the Free Software
17: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18: */
19: package org.jvnet.substance.swingx;
20:
21: import javax.swing.JComponent;
22: import javax.swing.plaf.ComponentUI;
23:
24: import org.jdesktop.swingx.JXHyperlink;
25: import org.jdesktop.swingx.plaf.basic.BasicHyperlinkUI;
26:
27: /**
28: * Substance-consistent UI delegate for {@link JXHyperlink}.
29: *
30: * @author Kirill Grouchnikov
31: */
32: public class SubstanceHyperlinkUI extends BasicHyperlinkUI {
33: public static ComponentUI createUI(JComponent c) {
34: return new SubstanceHyperlinkUI();
35: }
36: }
|