View Javadoc

1   /*
2      Copyright 2002-2006 Martin van den Bemt
3   
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
7   
8          http://www.apache.org/licenses/LICENSE-2.0
9   
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15  */
16  package org.xulux.guilayer.swing.extensions;
17  
18  import java.awt.Color;
19  import java.awt.Font;
20  
21  import javax.swing.border.Border;
22  import javax.swing.border.TitledBorder;
23  
24  /**
25   *
26   * @author Martin van den Bemt
27   * @version $Id: NyxTitledBorder.java,v 1.1 2005/12/18 12:58:18 mvdb Exp $
28   */
29  public class NyxTitledBorder extends TitledBorder {
30  
31      /**
32       * @param title
33       */
34      public NyxTitledBorder(String title) {
35          super(title);
36      }
37  
38      /**
39       * @param border
40       */
41      public NyxTitledBorder(Border border) {
42          super(border);
43      }
44  
45      /**
46       * @param border
47       * @param title
48       */
49      public NyxTitledBorder(Border border, String title) {
50          super(border, title);
51      }
52  
53      /**
54       * @param border
55       * @param title
56       * @param titleJustification
57       * @param titlePosition
58       */
59      public NyxTitledBorder(
60          Border border,
61          String title,
62          int titleJustification,
63          int titlePosition) {
64          super(border, title, titleJustification, titlePosition);
65      }
66  
67      /**
68       * @param border
69       * @param title
70       * @param titleJustification
71       * @param titlePosition
72       * @param titleFont
73       */
74      public NyxTitledBorder(
75          Border border,
76          String title,
77          int titleJustification,
78          int titlePosition,
79          Font titleFont) {
80          super(border, title, titleJustification, titlePosition, titleFont);
81      }
82  
83      /**
84       * @param border
85       * @param title
86       * @param titleJustification
87       * @param titlePosition
88       * @param titleFont
89       * @param titleColor
90       */
91      public NyxTitledBorder(
92          Border border,
93          String title,
94          int titleJustification,
95          int titlePosition,
96          Font titleFont,
97          Color titleColor) {
98          super(
99              border,
100             title,
101             titleJustification,
102             titlePosition,
103             titleFont,
104             titleColor);
105     }
106 
107 }