All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.swing.basic.BasicFieldBorder

java.lang.Object
   |
   +----com.sun.java.swing.border.AbstractBorder
           |
           +----com.sun.java.swing.basic.BasicFieldBorder

public class BasicFieldBorder
extends AbstractBorder
A border class to be used for rendering Windows-style borders for field-type components.


Constructor Index

 o BasicFieldBorder()

Method Index

 o getBorderInsets(Component)
This default implementation returns the value of getBorderMargins.
 o getFieldBorder()
 o paintBorder(Component, Graphics, int, int, int, int)
This default implementation does no painting.

Constructors

 o BasicFieldBorder
 public BasicFieldBorder()

Methods

 o getFieldBorder
 public static Border getFieldBorder()
 o paintBorder
 public void paintBorder(Component c,
                         Graphics g,
                         int x,
                         int y,
                         int width,
                         int height)
This default implementation does no painting.

Overrides:
paintBorder in class AbstractBorder
 o getBorderInsets
 public Insets getBorderInsets(Component c)
This default implementation returns the value of getBorderMargins.

Overrides:
getBorderInsets in class AbstractBorder

All Packages  Class Hierarchy  This Package  Previous  Next  Index