API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf. BorderUIResource.EtchedBorderUIResource View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      AbstractBorder
          EtchedBorder
              BorderUIResource.EtchedBorderUIResource
Implements
 UIResource
Subclasses
Description
publicstatic class BorderUIResource.EtchedBorderUIResource
See also:   
Constructors
public BorderUIResource.EtchedBorderUIResource ()
public BorderUIResource.EtchedBorderUIResource (Color highlight, Color shadow)
public BorderUIResource.EtchedBorderUIResource (int etchType)
public BorderUIResource.EtchedBorderUIResource (int etchType, Color highlight, Color shadow)
Methods
Hide/Show inherited methods
public int getBaseline (Component c, int width, int height) [Inherited From AbstractBorder]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (Component c) [Inherited From AbstractBorder]
  Returns an enum indicating how the baseline of a component changes as the size changes.
public Insets getBorderInsets (Component c) [Inherited From EtchedBorder]
  Returns the insets of the border.
public Insets getBorderInsets (Component c, Insets insets) [Inherited From EtchedBorder]
  Reinitialize the insets parameter with this Border's current Insets.
public int getEtchType () [Inherited From EtchedBorder]
Returns which etch-type is set on the etched border.
public Color getHighlightColor () [Inherited From EtchedBorder]
  Returns the highlight color of the etched border.
public Color getHighlightColor (Component c) [Inherited From EtchedBorder]
  Returns the highlight color of the etched border when rendered on the specified component.
publicstatic Rectangle getInteriorRectangle (Component c, Border b, int x, int y, int width, int height) [Inherited From AbstractBorder]
  Returns a rectangle using the arguments minus the insets of the border.
public Rectangle getInteriorRectangle (Component c, int x, int y, int width, int height) [Inherited From AbstractBorder]
  This convenience method calls the static method.
public Color getShadowColor () [Inherited From EtchedBorder]
  Returns the shadow color of the etched border.
public Color getShadowColor (Component c) [Inherited From EtchedBorder]
  Returns the shadow color of the etched border when rendered on the specified component.
public boolean isBorderOpaque () [Inherited From EtchedBorder]
Returns whether or not the border is opaque.
public void paintBorder (Component c, Graphics g, int x, int y, int width, int height) [Inherited From EtchedBorder]
  Paints the border for the specified component with the specified position and size.
Fields
Hide/Show inherited fields
protected int etchType [Inherited From EtchedBorder]
protected Color highlight [Inherited From EtchedBorder]
publicfinalstatic int LOWERED = "1" [Inherited From EtchedBorder]
Lowered etched type.
publicfinalstatic int RAISED = "0" [Inherited From EtchedBorder]
Raised etched type.
protected Color shadow [Inherited From EtchedBorder]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar