Package megameklab.ui.util
Class LocationBorder
java.lang.Object
javax.swing.border.AbstractBorder
megameklab.ui.util.LocationBorder
- All Implemented Interfaces:
Serializable,Border
A Java Swing Border with slightly curved top and bottom lines. Used as a frame for the Large Aerospace crit
locations.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBorderInsets(Component c, Insets insets) voidpaintBorder(Component c, Graphics g, int x, int y, int width, int height) Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
-
Field Details
-
thickness
protected float thicknessThickness of the border. -
lineColor
Color of the border.
-
-
Constructor Details
-
LocationBorder
-
-
Method Details
-
paintBorder
- Specified by:
paintBorderin interfaceBorder- Overrides:
paintBorderin classAbstractBorder
-
getBorderInsets
- Overrides:
getBorderInsetsin classAbstractBorder
-