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 TypeMethodDescriptionboolean
void
paintBorder
(Component c, Graphics g, int x, int y, int width, int height) static void
paintBorder
(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:
paintBorder
in interfaceBorder
- See Also:
-
paintBorder
-
getBorderInsets
- Specified by:
getBorderInsets
in interfaceBorder
- See Also:
-
isBorderOpaque
public boolean isBorderOpaque()- Specified by:
isBorderOpaque
in interfaceBorder
- See Also:
-