Package com.jgoodies.looks.plastic
Class PlasticBorders.InternalFrameBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- com.jgoodies.looks.plastic.PlasticBorders.InternalFrameBorder
-
- All Implemented Interfaces:
java.io.Serializable,javax.swing.border.Border,javax.swing.plaf.UIResource
- Enclosing class:
- PlasticBorders
private static final class PlasticBorders.InternalFrameBorder extends javax.swing.border.AbstractBorder implements javax.swing.plaf.UIResourceA border used forJInternalFrames.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.awt.InsetsMAXIMIZED_INSETSprivate static java.awt.InsetsNORMAL_INSETS
-
Constructor Summary
Constructors Modifier Constructor Description privateInternalFrameBorder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.InsetsgetBorderInsets(java.awt.Component c)voidpaintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)private static voidpaintMaximizedBorder(java.awt.Graphics g, int x, int y, int w, int h)
-
-
-
Method Detail
-
paintBorder
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)- Specified by:
paintBorderin interfacejavax.swing.border.Border- Overrides:
paintBorderin classjavax.swing.border.AbstractBorder
-
paintMaximizedBorder
private static void paintMaximizedBorder(java.awt.Graphics g, int x, int y, int w, int h)
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
- Specified by:
getBorderInsetsin interfacejavax.swing.border.Border- Overrides:
getBorderInsetsin classjavax.swing.border.AbstractBorder
-
-