Package com.jgoodies.looks.plastic
Class PlasticBorders.RolloverMarginBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.EmptyBorder
-
- com.jgoodies.looks.plastic.PlasticBorders.RolloverMarginBorder
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.border.Border
- Enclosing class:
- PlasticBorders
static final class PlasticBorders.RolloverMarginBorder extends javax.swing.border.EmptyBorder
A border which is like a Margin border but it will only honor the margin if the margin has been explicitly set by the developer.
-
-
Constructor Summary
Constructors Constructor Description RolloverMarginBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Insets
getBorderInsets(java.awt.Component c)
java.awt.Insets
getBorderInsets(java.awt.Component c, java.awt.Insets insets)
-
Methods inherited from class javax.swing.border.EmptyBorder
getBorderInsets, isBorderOpaque, paintBorder
-
-
-
-
Method Detail
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
- Specified by:
getBorderInsets
in interfacejavax.swing.border.Border
- Overrides:
getBorderInsets
in classjavax.swing.border.AbstractBorder
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
- Overrides:
getBorderInsets
in classjavax.swing.border.EmptyBorder
-
-