ch.randelshofer.quaqua
Class QuaquaNativeScrollPaneBorder
java.lang.Object
javax.swing.border.AbstractBorder
ch.randelshofer.quaqua.border.VisualMarginBorder
ch.randelshofer.quaqua.QuaquaNativeScrollPaneBorder
- All Implemented Interfaces:
- PressedCueBorder, VisualMargin, java.io.Serializable, javax.swing.border.Border, javax.swing.plaf.UIResource
public class QuaquaNativeScrollPaneBorder
- extends VisualMarginBorder
- implements javax.swing.plaf.UIResource
QuaquaNativeScrollPaneBorder
.
- Version:
- $Id: QuaquaNativeScrollPaneBorder.java 439 2011-08-28 10:05:15Z wrandelshofer $
- Author:
- Werner Randelshofer
- See Also:
- Serialized Form
Method Summary |
java.awt.Insets |
getBorderInsets(java.awt.Component c,
java.awt.Insets insets)
Reinitializes the insets parameter with this Border's current Insets. |
boolean |
isBorderOpaque()
|
void |
paintBorder(java.awt.Component cc,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
Methods inherited from class javax.swing.border.AbstractBorder |
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuaquaNativeScrollPaneBorder
public QuaquaNativeScrollPaneBorder()
paintBorder
public void paintBorder(java.awt.Component cc,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
- 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,
java.awt.Insets insets)
- Description copied from class:
VisualMarginBorder
- Reinitializes the insets parameter with this Border's current Insets.
- Overrides:
getBorderInsets
in class VisualMarginBorder
- Parameters:
c
- the component for which this border insets value appliesinsets
- the object to be reinitialized
- Returns:
- the
insets
object
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque
in interface javax.swing.border.Border
- Overrides:
isBorderOpaque
in class javax.swing.border.AbstractBorder