javax.swing.plaf

Class BorderUIResource.EmptyBorderUIResource

Enclosing Class:
BorderUIResource
Implemented Interfaces:
Border, Serializable, UIResource

public static class BorderUIResource.EmptyBorderUIResource
extends EmptyBorder
implements UIResource

See Also:
Serialized Form

Field Summary

Fields inherited from class javax.swing.border.EmptyBorder

bottom, left, right, top

Constructor Summary

EmptyBorderUIResource(int top, int left, int bottom, int right)
Creates an empty border with the specified insets.
EmptyBorderUIResource(Insets insets)
Creates an empty border with the specified insets.

Method Summary

Methods inherited from class javax.swing.border.EmptyBorder

getBorderInsets, getBorderInsets, getBorderInsets, isBorderOpaque, paintBorder

Methods inherited from class javax.swing.border.AbstractBorder

getBorderInsets, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque, paintBorder

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

EmptyBorderUIResource

public EmptyBorderUIResource(int top,
                             int left,
                             int bottom,
                             int right)
Creates an empty border with the specified insets.
Parameters:
top - the top inset of the border
left - the left inset of the border
bottom - the bottom inset of the border
right - the right inset of the border
Usages and Demos :

View More Examples of EmptyBorderUIResource(int top,int left,int bottom,int right)
   1:         final BorderUIResource.EmptyBorderUIResource emptyBorderUI
   2:             = new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0);
   3:         defaults.put("SplitPane.border", emptyBorderUI);
   4:         defaults.put("Table.scrollPaneBorder", emptyBorderUI);
   5:         defaults.put("ComboBox.border", compBorder);

View Full Code Here
   1:       "OptionPane.background", new ColorUIResource(Color.lightGray),
   2:       "OptionPane.border", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0),
   3:         ...
   4:       "OptionPane.buttonAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0),
   5:       "OptionPane.cancelButtonText", "Cancel",
   6:         ...
   7:       "OptionPane.informationIcon", new IconUIResource(new ImageIcon("icons/Inform.gif")),
   8:       "OptionPane.messageAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0),
   9:       "OptionPane.messageForeground", new ColorUIResource(Color.black),

View Full Code Here

EmptyBorderUIResource

public EmptyBorderUIResource(Insets insets)
Creates an empty border with the specified insets.
Parameters: