Class SimpleButton.PanelFlushBorder
java.lang.Object
xal.extension.widgets.swing.wheelswitch.comp.SimpleButton.PanelFlushBorder
- All Implemented Interfaces:
Border
- Enclosing class:
- SimpleButton
A clean border that visually raises the component above its surroundings.
Should be used in combination with ContainerFlushBorder.
- Version:
- Author:
- Miha Kadunc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidpaintBorder(Component c, Graphics g, int x, int y, int width, int height) static voidpaintBorder(Graphics g, int x, int y, int width, int height)
-
Constructor Details
-
PanelFlushBorder
public PanelFlushBorder() -
PanelFlushBorder
public PanelFlushBorder(boolean isRaised)
-
-
Method Details
-
paintBorder
- Specified by:
paintBorderin interfaceBorder- See Also:
-
paintBorder
-
getBorderInsets
- Specified by:
getBorderInsetsin interfaceBorder- See Also:
-
isBorderOpaque
public boolean isBorderOpaque()- Specified by:
isBorderOpaquein interfaceBorder- See Also:
-