/[classpath]/classpath/javax/swing/border/BevelBorder.java
ViewVC logotype

Diff of /classpath/javax/swing/border/BevelBorder.java

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

revision 1.2 by mark, Tue Apr 30 21:37:27 2002 UTC revision 1.3 by mkoch, Sat Jun 7 18:38:20 2003 UTC
# Line 37  exception statement from your version. * Line 37  exception statement from your version. *
37    
38  package javax.swing.border;  package javax.swing.border;
39    
40  import java.awt.*;  import java.awt.Color;
41    import java.awt.Component;
42    import java.awt.Graphics;
43    
44  public class BevelBorder extends EmptyBorder  public class BevelBorder extends AbstractBorder
45  {  {
46      Color c;    public static final int LOWERED = 1;
47      public static final int RAISED = 0;
     public BevelBorder()  
     {  
     }  
   
48            
49      public BevelBorder(int top,    protected int bevelType;
50                  int left,    protected Color highlightOuter;
51                  int bottom,    protected Color highlightInner;
52                  int right,    protected Color shadowOuter;
53                  Color color)    protected Color shadowInner;
54      {  
55          super(top, left, bottom, right);    public BevelBorder (int bevelType)
56          this.c = color;    {
57      }      this (bevelType, null, null, null, null);
58      }
59    
60      public BevelBorder(int bevelType, Color highlight, Color shadow)
61      {
62        this (bevelType, highlight, highlight, shadow, shadow);
63      }
64    
65      public BevelBorder (int bevelType, Color highlightOuter,
66                          Color highlightInner, Color shadowOuter,
67                          Color shadowInner)
68      {
69        this.bevelType = bevelType;
70        this.highlightOuter = highlightOuter;
71        this.highlightInner = highlightInner;
72        this.shadowOuter = shadowOuter;
73        this.shadowInner = shadowInner;
74      }
75    
76      public boolean isBorderOpaque()      public boolean isBorderOpaque()
77      {      {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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