Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
javax.swing.border

Class EmptyBorder

java.lang.Object
|
+--javax.swing.border.AbstractBorder
   |
   +--javax.swing.border.EmptyBorder


public class EmptyBorder

extends AbstractBorder

Field Summary

intl,r,b,t

Constructor Summary

EmptyBorder()

EmptyBorder(int left, int right, int top, int bottom)

Method Summary

java.awt.InsetsgetBorderInsets(java.awt.Component c, java.awt.Insets s)

booleanisBorderOpaque()

voidpaintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)

Field Details

l,r,b,t

protected int l,r,b,t


Constructor Details

EmptyBorder

public EmptyBorder()


EmptyBorder

public EmptyBorder(int left, int right, int top, int bottom)

Parameters:


Method Details

getBorderInsets

public Insets getBorderInsets(java.awt.Component c, java.awt.Insets s)

Parameters:


isBorderOpaque

public boolean isBorderOpaque()


paintBorder

public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)

Parameters: