All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.swing.basic.BasicMarginBorder

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

public class BasicMarginBorder
extends AbstractBorder
A border class to be used for defining margin space for component classes which define "Margin" as a property. (currently this class is rigged to work with subclasses of AbstractButton and JToolBar).


Constructor Index

 o BasicMarginBorder()

Method Index

 o getBorderInsets(Component)
This default implementation returns the value of getBorderMargins.
 o getMarginBorder()

Constructors

 o BasicMarginBorder
 public BasicMarginBorder()

Methods

 o getMarginBorder
 public static Border getMarginBorder()
 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