Class BorderUIResource.EtchedBorderUIResource
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.EtchedBorder
javax.swing.plaf.BorderUIResource.EtchedBorderUIResource
- All Implemented Interfaces:
Serializable,Border,UIResource
- Enclosing class:
BorderUIResource
public static class BorderUIResource.EtchedBorderUIResource
extends EtchedBorder
implements UIResource
An etched border UI resource.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs anEtchedBorderUIResource.EtchedBorderUIResource(int etchType) Constructs anEtchedBorderUIResource.EtchedBorderUIResource(int etchType, Color highlight, Color shadow) Constructs anEtchedBorderUIResource.EtchedBorderUIResource(Color highlight, Color shadow) Constructs anEtchedBorderUIResource. -
Method Summary
Methods declared in class javax.swing.border.EtchedBorder
getBorderInsets, getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaque, paintBorderMethods declared in class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Constructor Details
-
EtchedBorderUIResource
public EtchedBorderUIResource()Constructs anEtchedBorderUIResource. -
EtchedBorderUIResource
public EtchedBorderUIResource(int etchType) Constructs anEtchedBorderUIResource.- Parameters:
etchType- the type of etch to be drawn by the border
-
EtchedBorderUIResource
-
EtchedBorderUIResource
@ConstructorProperties({"etchType","highlightColor","shadowColor"}) public EtchedBorderUIResource(int etchType, Color highlight, Color shadow) Constructs anEtchedBorderUIResource.- Parameters:
etchType- the type of etch to be drawn by the borderhighlight- the color to use for the etched highlightshadow- the color to use for the etched shadow
-