public static final class Borders.EmptyBorder
extends javax.swing.border.AbstractBorder
ConstantSize
to define the top, left, bottom and right gap.Modifier and Type | Method | Description |
---|---|---|
ConstantSize |
bottom() |
Returns this border's bottom size.
|
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
Returns the insets of the border.
|
java.awt.Insets |
getBorderInsets(java.awt.Component c,
java.awt.Insets insets) |
Returns the insets of the border.
|
ConstantSize |
left() |
Returns this border's left size.
|
ConstantSize |
right() |
Returns this border's right size.
|
ConstantSize |
top() |
Returns this border's top size.
|
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
getBorderInsets
in class javax.swing.border.AbstractBorder
c
- the component for which this border insets value appliesinsets
- the insets to be reinitializedinsets
objectpublic java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets
in class javax.swing.border.AbstractBorder
c
- the component for which this border insets value appliespublic ConstantSize top()
public ConstantSize left()
public ConstantSize bottom()
public ConstantSize right()
Copyright © 2002-2009 JGoodies Karsten Lentzsch. All Rights Reserved.