Module java.desktop

Class MetalBorders

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.
  • Constructor Details

    • MetalBorders

      public MetalBorders()
  • Method Details

    • getButtonBorder

      public static Border getButtonBorder()
      Returns a border instance for a JButton.
      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 a JTextField.
      Returns:
      a border instance for a JTextField
      Since:
      1.3
    • getToggleButtonBorder

      public static Border getToggleButtonBorder()
      Returns a border instance for a JToggleButton.
      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