/[classpath]/classpath/javax/swing/plaf/BorderUIResource.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/BorderUIResource.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by mkoch, Sat Jun 7 18:38:20 2003 UTC revision 1.7 by mkoch, Mon Jun 9 15:48:11 2003 UTC
# Line 67  public class BorderUIResource Line 67  public class BorderUIResource
67       */       */
68      public BorderUIResource(Border delegate)      public BorderUIResource(Border delegate)
69      {      {
         super ();  
70          this.delegate = delegate;          this.delegate = delegate;
71      }      }
72    
# Line 128  public class BorderUIResource Line 127  public class BorderUIResource
127                                       Color highlight,                                       Color highlight,
128                                       Color shadow)                                       Color shadow)
129          {          {
130              super (bevelType);            super (bevelType, highlight, shadow);
131          }          }
132          public BevelBorderUIResource(int bevelType,          public BevelBorderUIResource(int bevelType,
133                                       Color highlightOuter,                                       Color highlightOuter,
# Line 136  public class BorderUIResource Line 135  public class BorderUIResource
135                                       Color shadowOuter,                                       Color shadowOuter,
136                                       Color shadowInner)                                       Color shadowInner)
137          {          {
138              super (bevelType);            super (bevelType, highlightOuter, highlightInner, shadowOuter,
139                     shadowInner);
140          }          }
141      }      }
142    
# Line 191  public class BorderUIResource Line 191  public class BorderUIResource
191          public EtchedBorderUIResource(int etchType, Color highlight,          public EtchedBorderUIResource(int etchType, Color highlight,
192                                        Color shadow)                                        Color shadow)
193          {          {
194            super (etchType);            super (etchType, highlight, shadow);
195          }          }
196    
197      }      }
# Line 210  public class BorderUIResource Line 210  public class BorderUIResource
210          public LineBorderUIResource(Color color,          public LineBorderUIResource(Color color,
211                                      int thickness)                                      int thickness)
212          {          {
213             super (color);             super (color, thickness);
214          }          }
215      }      }
216    
# Line 224  public class BorderUIResource Line 224  public class BorderUIResource
224          public MatteBorderUIResource(int top, int left, int bottom,          public MatteBorderUIResource(int top, int left, int bottom,
225                                       int right, Color color)                                       int right, Color color)
226          {          {
227            super (top, left, bottom, right, color);            super (new Insets (top, left, bottom, right), color);
228          }          }
229          public MatteBorderUIResource(int top, int left, int bottom,          public MatteBorderUIResource(int top, int left, int bottom,
230                                       int right, Icon tileIcon)                                       int right, Icon tileIcon)
231          {          {
232            super (top, left, bottom, right, tileIcon);            super (new Insets (top, left, bottom, right), tileIcon);
233    
234          }          }
235          public MatteBorderUIResource(Icon tileIcon)          public MatteBorderUIResource(Icon tileIcon)
236          {          {
# Line 254  public class BorderUIResource Line 255  public class BorderUIResource
255          }          }
256          TitledBorderUIResource(Border border, String title)          TitledBorderUIResource(Border border, String title)
257          {          {
258            super (border);            super (border, title);
259          }          }
260          TitledBorderUIResource(Border border, String title,          TitledBorderUIResource(Border border, String title,
261                                 int titleJustification, int titlePosition)                                 int titleJustification, int titlePosition)
262          {          {
263            super (border);            super (border, title, titleJustification, titlePosition);
264          }          }
265          TitledBorderUIResource(Border border, String title,          TitledBorderUIResource(Border border, String title,
266                                 int titleJustification, int titlePosition,                                 int titleJustification, int titlePosition,
267                                 Font titleFont)                                 Font titleFont)
268          {          {
269            super (border);            super (border, title, titleJustification, titlePosition, titleFont);
270          }          }
271          TitledBorderUIResource(Border border, String title,          TitledBorderUIResource(Border border, String title,
272                                 int titleJustification, int titlePosition,                                 int titleJustification, int titlePosition,
273                                 Font titleFont, Color titleColor)                                 Font titleFont, Color titleColor)
274          {          {
275            super (border);            super (border, title, titleJustification, titlePosition, titleFont, titleColor);
276          }          }
277      }      }
278  }  }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26