javax.swing.plaf.metal
Class MetalBorders

java.lang.Object
  extended byjavax.swing.plaf.metal.MetalBorders

public class MetalBorders
extends Object

Factory object that can vend Borders appropriate for the metal L & F.

Author:
Steve Wilson

Nested Class Summary
static class MetalBorders.ButtonBorder
           
(package private) static class MetalBorders.DialogBorder
          Border for a Frame.
(package private) static class MetalBorders.ErrorDialogBorder
          Border for an Error Dialog.
static class MetalBorders.Flush3DBorder
           
(package private) static class MetalBorders.FrameBorder
          Border for a Frame.
static class MetalBorders.InternalFrameBorder
           
static class MetalBorders.MenuBarBorder
           
static class MetalBorders.MenuItemBorder
           
static class MetalBorders.OptionDialogBorder
           
static class MetalBorders.PaletteBorder
          Border for a Palette.
static class MetalBorders.PopupMenuBorder
           
(package private) static class MetalBorders.QuestionDialogBorder
          Border for a QuestionDialog.
static class MetalBorders.RolloverButtonBorder
           
(package private) static class MetalBorders.RolloverMarginBorder
          A border which is like a Margin border but it will only honor the margin if the margin has been explicitly set by the developer.
static class MetalBorders.ScrollPaneBorder
           
static class MetalBorders.TableHeaderBorder
          Border for a Table Header
static class MetalBorders.TextFieldBorder
           
static class MetalBorders.ToggleButtonBorder
           
static class MetalBorders.ToolBarBorder
           
(package private) static class MetalBorders.WarningDialogBorder
          Border for a Warning Dialog.
 
Field Summary
private static Border buttonBorder
           
private static Border textBorder
           
private static Border textFieldBorder
           
private static Border toggleButtonBorder
           
 
Constructor Summary
MetalBorders()
           
 
Method Summary
static Border getButtonBorder()
          Returns a border instance for a JButton
static Border getDesktopIconBorder()
          Returns a border instance for a Desktop Icon
static Border getTextBorder()
          Returns a border instance for a text component
static Border getTextFieldBorder()
          Returns a border instance for a JTextField
static Border getToggleButtonBorder()
          Returns a border instance for a JToggleButton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buttonBorder

private static Border buttonBorder

textBorder

private static Border textBorder

textFieldBorder

private static Border textFieldBorder

toggleButtonBorder

private static Border toggleButtonBorder
Constructor Detail

MetalBorders

public MetalBorders()
Method Detail

getButtonBorder

public static Border getButtonBorder()
Returns a border instance for a JButton

Since:
1.3

getTextBorder

public static Border getTextBorder()
Returns a border instance for a text component

Since:
1.3

getTextFieldBorder

public static Border getTextFieldBorder()
Returns a border instance for a JTextField

Since:
1.3

getToggleButtonBorder

public static Border getToggleButtonBorder()
Returns a border instance for a JToggleButton

Since:
1.3

getDesktopIconBorder

public static Border getDesktopIconBorder()
Returns a border instance for a Desktop Icon

Since:
1.3