APIdia Launch Partner
Top Description Inners Fields Constructors Methods
javax.swing.plaf.metal

public Class MetalBorders

extends Object
Class Inheritance
Imports
java.awt.BasicStroke, .Color, .Component, .Dialog, .Frame, .Graphics, .Graphics2D, .Insets, .Window, javax.swing.AbstractButton, .ButtonModel, .JButton, .JComponent, .JInternalFrame, .JMenu, .JMenuBar, .JMenuItem, .JOptionPane, .JScrollPane, .JToolBar, .SwingConstants, .SwingUtilities, .UIManager, javax.swing.border.AbstractBorder, .Border, .CompoundBorder, .EmptyBorder, .LineBorder, .MatteBorder, javax.swing.plaf.BorderUIResource, .UIResource, javax.swing.plaf.basic.BasicBorders, javax.swing.text.JTextComponent, com.sun.java.swing.SwingUtilities3, sun.swing.StringUIClientPropertyKey, .SwingUtilities2

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
private abstract static class
public static class
MetalBorders.ButtonBorder

The class represents the border of a JButton.

pack-priv static class
MetalBorders.DialogBorder

Border for a Frame.

pack-priv static class
MetalBorders.ErrorDialogBorder

Border for an Error Dialog.

public static class
MetalBorders.Flush3DBorder

The class represents the 3D border.

pack-priv static class
MetalBorders.FrameBorder

Border for a Frame.

public static class
MetalBorders.InternalFrameBorder

The class represents the border of a JInternalFrame.

private static class
public static class
MetalBorders.OptionDialogBorder

The class represents the border of an option dialog.

public static class
MetalBorders.PaletteBorder

Border for a Palette.

public static class
MetalBorders.PopupMenuBorder

The class represents the border of a JPopupMenu.

pack-priv static class
MetalBorders.QuestionDialogBorder

Border for a QuestionDialog.

public static class
MetalBorders.RolloverButtonBorder

The class represents the border of a rollover Button.

pack-priv 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.

public static class
MetalBorders.ScrollPaneBorder

The class represents the border of a JScrollPane.

public static class
MetalBorders.TableHeaderBorder

Border for a Table Header

public static class
MetalBorders.TextFieldBorder

Border for a JTextField.

public static class
MetalBorders.ToggleButtonBorder

Border for a JToggleButton.

public static class
MetalBorders.ToolBarBorder

The class represents the border of a JToolBar.

pack-priv static class
MetalBorders.WarningDialogBorder

Border for a Warning Dialog.

Field Summary

Modifier and TypeField and Description
private static Border
pack-priv static Object
NO_BUTTON_ROLLOVER

Client property indicating the button shouldn't provide a rollover indicator.

private static Border
private static Border
private static Border

Constructor Summary

AccessConstructor and Description
public
MetalBorders()

Constructs a MetalBorders.

Method Summary

Modifier and TypeMethod and Description
public static Border

Returns:

a border instance for a JButton
getButtonBorder
()

Returns a border instance for a JButton.

public static Border

Returns:

a border instance for a Desktop Icon
getDesktopIconBorder
()

Returns a border instance for a Desktop Icon.

public static Border

Returns:

a border instance for a text component
getTextBorder
()

Returns a border instance for a text component.

public static Border

Returns:

a border instance for a JTextField
getTextFieldBorder
()

Returns a border instance for a JTextField.

public static Border

Returns:

a border instance for a JToggleButton
getToggleButtonBorder
()

Returns a border instance for a JToggleButton.

pack-priv static Border
pack-priv static Border
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait