Class SubstancePaneBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- org.pushingpixels.substance.internal.utils.border.SubstancePaneBorder
-
- All Implemented Interfaces:
Serializable
,Border
,UIResource
public class SubstancePaneBorder extends AbstractBorder implements UIResource
Root pane and internal frame border in Substance look and feel. This class is for internal use only.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubstancePaneBorder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Insets
getBorderInsets(Component c)
Insets
getBorderInsets(Component c, Insets newInsets)
static DecorationAreaType
getRootPaneType(JRootPane rootPane)
boolean
isBorderOpaque()
void
paintBorder(Component c, Graphics g, int x, int y, int w, int h)
void
paintRoundedBorder(Component c, Graphics g, int x, int y, int w, int h)
void
paintSquareBorder(Component c, Graphics g, int x, int y, int w, int h)
-
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle
-
-
-
-
Method Detail
-
getRootPaneType
public static DecorationAreaType getRootPaneType(JRootPane rootPane)
-
paintBorder
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
- Specified by:
paintBorder
in interfaceBorder
- Overrides:
paintBorder
in classAbstractBorder
-
paintSquareBorder
public void paintSquareBorder(Component c, Graphics g, int x, int y, int w, int h)
-
getBorderInsets
public Insets getBorderInsets(Component c)
- Specified by:
getBorderInsets
in interfaceBorder
- Overrides:
getBorderInsets
in classAbstractBorder
-
getBorderInsets
public Insets getBorderInsets(Component c, Insets newInsets)
- Overrides:
getBorderInsets
in classAbstractBorder
-
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque
in interfaceBorder
- Overrides:
isBorderOpaque
in classAbstractBorder
-
-