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

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

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

revision 1.4 by brawer, Mon Jun 16 09:55:41 2003 UTC revision 1.5 by mkoch, Sun Oct 12 16:44:39 2003 UTC
# Line 44  import java.awt.Insets; Line 44  import java.awt.Insets;
44    
45    
46  /**  /**
47   * An interface for decorative or spacing borders around a Component.   * An public interface for decorative or spacing borders around a Component.
48   *   *
49   * <p>To reduce memory consumption, several Components may share a   * <p>To reduce memory consumption, several Components may share a
50   * single Border instance. {@link javax.swing.BorderFactory} is a   * single Border instance. {@link javax.swing.BorderFactory} is a
# Line 77  public interface Border Line 77  public interface Border
77     * @param width the width of the available area for painting the border.     * @param width the width of the available area for painting the border.
78     * @param height the height of the available area for painting the border.     * @param height the height of the available area for painting the border.
79     */     */
80    public void paintBorder(Component c, Graphics g,    void paintBorder(Component c, Graphics g,
81                            int x, int y, int width, int height);                            int x, int y, int width, int height);
82        
83        
# Line 90  public interface Border Line 90  public interface Border
90     *         <code>top</code> and <code>bottom</code> fields indicate the     *         <code>top</code> and <code>bottom</code> fields indicate the
91     *         width of the border at the respective edge.     *         width of the border at the respective edge.
92     */     */
93    public Insets getBorderInsets(Component c);    Insets getBorderInsets(Component c);
94        
95        
96    /**    /**
# Line 101  public interface Border Line 101  public interface Border
101     *         <code>false</code> if some pixels of the background     *         <code>false</code> if some pixels of the background
102     *         can shine through the border.     *         can shine through the border.
103     */     */
104    public boolean isBorderOpaque();    boolean isBorderOpaque();
105  }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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