|
|||||||||
| Home >> All >> javax >> swing >> [ plaf overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.swing.plaf
Class BorderUIResource.EmptyBorderUIResource

java.lang.Objectjavax.swing.border.AbstractBorder
javax.swing.border.EmptyBorder
javax.swing.plaf.BorderUIResource.EmptyBorderUIResource
- All Implemented Interfaces:
- javax.swing.border.Border, java.io.Serializable, UIResource
- Enclosing class:
- BorderUIResource
- public static class BorderUIResource.EmptyBorderUIResource
- extends javax.swing.border.EmptyBorder
- implements UIResource, java.io.Serializable
- extends javax.swing.border.EmptyBorder
An javax.swing.border.EmptyBorder that also implements the
UIResource marker interface. This is useful for
implementing pluggable look-and-feels: When switching the current
LookAndFeel, only those borders are replaced that are marked as
UIResource. For this reason, a look-and-feel should
always install borders that implement UIResource,
such as the borders provided by this class.
![[An illustration of EmptyBorder]](../border/doc-files/EmptyBorder-1.png)
| Field Summary | |
private static long |
serialVersionUID
|
| Fields inherited from class javax.swing.border.EmptyBorder |
bottom, left, right, top |
| Constructor Summary | |
BorderUIResource.EmptyBorderUIResource(java.awt.Insets insets)
Constructs an empty border given the number of pixels required on each side, passed in an Insets object. |
|
BorderUIResource.EmptyBorderUIResource(int top,
int left,
int bottom,
int right)
Constructs an empty border given the number of pixels required on each side. |
|
| Methods inherited from class javax.swing.border.EmptyBorder |
getBorderInsets, getBorderInsets, getBorderInsets, isBorderOpaque, paintBorder |
| Methods inherited from class javax.swing.border.AbstractBorder |
getInteriorRectangle, getInteriorRectangle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
| Constructor Detail |
BorderUIResource.EmptyBorderUIResource
public BorderUIResource.EmptyBorderUIResource(int top,
int left,
int bottom,
int right)
- Constructs an empty border given the number of pixels required
on each side.
BorderUIResource.EmptyBorderUIResource
public BorderUIResource.EmptyBorderUIResource(java.awt.Insets insets)
- Constructs an empty border given the number of pixels required
on each side, passed in an Insets object.
|
|||||||||
| Home >> All >> javax >> swing >> [ plaf overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC