protected class ComponentBorderedPanel.OffsetEtchedBorder
extends javax.swing.border.EtchedBorder
| Modifier | Constructor and Description |
|---|---|
protected |
OffsetEtchedBorder() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c)
Returns the insets of the border.
|
java.awt.Insets |
getBorderInsets(java.awt.Component c,
java.awt.Insets insets)
Reinitialize the insets parameter with this Border's current Insets.
|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaquepublic java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets in interface javax.swing.border.BordergetBorderInsets in class javax.swing.border.AbstractBorderc - the component for which this border insets value appliespublic java.awt.Insets getBorderInsets(java.awt.Component c,
java.awt.Insets insets)
getBorderInsets in class javax.swing.border.EtchedBorderc - the component for which this border insets value appliesinsets - the object to be reinitializedpublic void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
paintBorder in interface javax.swing.border.BorderpaintBorder in class javax.swing.border.EtchedBorderBorder.paintBorder(java.awt.Component, java.awt.Graphics, int, int, int, int)