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 SummaryConstructorsConstructorDescriptionConstructs anEtchedBorderUIResource.EtchedBorderUIResource(int etchType) Constructs anEtchedBorderUIResource.EtchedBorderUIResource(int etchType, Color highlight, Color shadow) Constructs anEtchedBorderUIResource.EtchedBorderUIResource(Color highlight, Color shadow) Constructs anEtchedBorderUIResource.
- 
Method SummaryMethods declared in class javax.swing.border.EtchedBordergetBorderInsets, getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaque, paintBorderMethods declared in class javax.swing.border.AbstractBordergetBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
- 
Constructor Details- 
EtchedBorderUIResourcepublic EtchedBorderUIResource()Constructs anEtchedBorderUIResource.
- 
EtchedBorderUIResourcepublic 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 border
- highlight- the color to use for the etched highlight
- shadow- the color to use for the etched shadow
 
 
-