- java.lang.Object
-
- javax.swing.plaf.metal.MetalBorders
-
public class MetalBorders extends Object
Factory object that can vend Borders appropriate for the metal L & F.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMetalBorders.ButtonBorderThe class represents the border of aJButton.static classMetalBorders.Flush3DBorderThe class represents the 3D border.static classMetalBorders.InternalFrameBorderThe class represents the border of aJInternalFrame.static classMetalBorders.MenuBarBorderThe class represents the border of aJMenuBar.static classMetalBorders.MenuItemBorderThe class represents the border of aJMenuItem.static classMetalBorders.OptionDialogBorderThe class represents the border of an option dialog.static classMetalBorders.PaletteBorderBorder for a Palette.static classMetalBorders.PopupMenuBorderThe class represents the border of aJPopupMenu.static classMetalBorders.RolloverButtonBorderThe class represents the border of a rolloverButton.static classMetalBorders.ScrollPaneBorderThe class represents the border of aJScrollPane.static classMetalBorders.TableHeaderBorderBorder for a Table Headerstatic classMetalBorders.TextFieldBorderThe class represents the border of aJTestField.static classMetalBorders.ToggleButtonBorderstatic classMetalBorders.ToolBarBorderThe class represents the border of aJToolBar.
-
Constructor Summary
Constructors Constructor Description MetalBorders()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BordergetButtonBorder()Returns a border instance for aJButton.static BordergetDesktopIconBorder()Returns a border instance for a Desktop Icon.static BordergetTextBorder()Returns a border instance for a text component.static BordergetTextFieldBorder()Returns a border instance for aJTextField.static BordergetToggleButtonBorder()Returns a border instance for aJToggleButton.
-
-
-
Method Detail
-
getButtonBorder
public static Border getButtonBorder()
Returns a border instance for aJButton.- Returns:
- a border instance for a
JButton - Since:
- 1.3
-
getTextBorder
public static Border getTextBorder()
Returns a border instance for a text component.- Returns:
- a border instance for a text component
- Since:
- 1.3
-
getTextFieldBorder
public static Border getTextFieldBorder()
Returns a border instance for aJTextField.- Returns:
- a border instance for a
JTextField - Since:
- 1.3
-
getToggleButtonBorder
public static Border getToggleButtonBorder()
Returns a border instance for aJToggleButton.- Returns:
- a border instance for a
JToggleButton - Since:
- 1.3
-
getDesktopIconBorder
public static Border getDesktopIconBorder()
Returns a border instance for a Desktop Icon.- Returns:
- a border instance for a Desktop Icon
- Since:
- 1.3
-
-