smooth.metal
Class SmoothBorders.FrameBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by smooth.metal.SmoothBorders.FrameBorder
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border, javax.swing.plaf.UIResource
Enclosing class:
SmoothBorders

public static class SmoothBorders.FrameBorder
extends javax.swing.border.AbstractBorder
implements javax.swing.plaf.UIResource

See Also:
Serialized Form

Constructor Summary
SmoothBorders.FrameBorder()
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
           
 java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
           
 java.awt.Rectangle getInteriorRectangle(java.awt.Component c, int x, int y, int width, int height)
           
 boolean isBorderOpaque()
           
 void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)
           
 
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmoothBorders.FrameBorder

public SmoothBorders.FrameBorder()
Method Detail

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c)
Specified by:
getBorderInsets in interface javax.swing.border.Border
Overrides:
getBorderInsets in class javax.swing.border.AbstractBorder

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c,
                                       java.awt.Insets insets)
Overrides:
getBorderInsets in class javax.swing.border.AbstractBorder

getInteriorRectangle

public java.awt.Rectangle getInteriorRectangle(java.awt.Component c,
                                               int x,
                                               int y,
                                               int width,
                                               int height)
Overrides:
getInteriorRectangle in class javax.swing.border.AbstractBorder

isBorderOpaque

public boolean isBorderOpaque()
Specified by:
isBorderOpaque in interface javax.swing.border.Border
Overrides:
isBorderOpaque in class javax.swing.border.AbstractBorder

paintBorder

public void paintBorder(java.awt.Component c,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        int w,
                        int h)
Specified by:
paintBorder in interface javax.swing.border.Border
Overrides:
paintBorder in class javax.swing.border.AbstractBorder


Licensed under the MIT license.