ch.randelshofer.quaqua
Class QuaquaNativeToolBarBorder
java.lang.Object
javax.swing.border.AbstractBorder
ch.randelshofer.quaqua.QuaquaNativeToolBarBorder
- All Implemented Interfaces:
- BackgroundBorder, VisualMargin, java.io.Serializable, javax.swing.border.Border, javax.swing.SwingConstants
- Direct Known Subclasses:
- QuaquaNativeToolBarBorder.UIResource
public class QuaquaNativeToolBarBorder
- extends javax.swing.border.AbstractBorder
- implements javax.swing.SwingConstants, BackgroundBorder, VisualMargin
QuaquaNativeToolBarBorder.
- Version:
- $Id: QuaquaNativeToolBarBorder.java 426 2011-08-06 09:35:43Z wrandelshofer $
- Author:
- Werner Randelshofer
- See Also:
- Serialized Form
Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Method Summary |
javax.swing.border.Border |
getBackgroundBorder()
Returns the border that needs to be drawn onto the background. |
java.awt.Insets |
getBorderInsets(java.awt.Component c)
|
java.awt.Insets |
getBorderInsets(java.awt.Component component,
java.awt.Insets newInsets)
|
java.awt.Insets |
getVisualMargin(java.awt.Component c)
|
void |
paintBorder(java.awt.Component component,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
|
Methods inherited from class javax.swing.border.AbstractBorder |
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaque |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.border.Border |
isBorderOpaque |
QuaquaNativeToolBarBorder
public QuaquaNativeToolBarBorder()
paintBorder
public void paintBorder(java.awt.Component component,
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
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 component,
java.awt.Insets newInsets)
- Overrides:
getBorderInsets
in class javax.swing.border.AbstractBorder
getBackgroundBorder
public javax.swing.border.Border getBackgroundBorder()
- Description copied from interface:
BackgroundBorder
- Returns the border that needs to be drawn onto the background.
- Specified by:
getBackgroundBorder
in interface BackgroundBorder
getVisualMargin
public java.awt.Insets getVisualMargin(java.awt.Component c)
- Specified by:
getVisualMargin
in interface VisualMargin