oracle.javatools.ui.border
Class SmallSquareButtonBorder
java.lang.Object
  
oracle.javatools.ui.border.SmallSquareButtonBorder
- All Implemented Interfaces: 
 - javax.swing.border.Border
 
public final class SmallSquareButtonBorder
- extends java.lang.Object
- implements javax.swing.border.Border
  
A border with rounded corners. This border supports button rollover. If the
 component is an AbstractButton and the rollover property is true, then it will
 only paint if the button is currently in the rollover state.
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SmallSquareButtonBorder
public SmallSquareButtonBorder()
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
 isBorderOpaque in interface javax.swing.border.Border
 
 
paintBorder
public void paintBorder(java.awt.Component comp,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        int w,
                        int h)
- Specified by:
 paintBorder in interface javax.swing.border.Border
 
 
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
- Specified by:
 getBorderInsets in interface javax.swing.border.Border
 
 
Copyright © 1997, 2009, Oracle. All rights reserved.