- 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.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description EtchedBorderUIResource()Constructs 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.EtchedBordergetBorderInsets, getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaque, paintBorder
 - 
Methods declared in class javax.swing.border.AbstractBordergetBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
 
- 
 
- 
- 
- 
Constructor Detail- 
EtchedBorderUIResourcepublic EtchedBorderUIResource() Constructs anEtchedBorderUIResource.
 - 
EtchedBorderUIResourcepublic EtchedBorderUIResource(int etchType) Constructs anEtchedBorderUIResource.- Parameters:
- etchType- the type of etch to be drawn by the border
 
 - 
EtchedBorderUIResourcepublic EtchedBorderUIResource(Color highlight, Color shadow) Constructs anEtchedBorderUIResource.- Parameters:
- highlight- the color to use for the etched highlight
- shadow- the color to use for the etched shadow
 
 - 
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
 
 
- 
 
-