Class PlasticBorders

java.lang.Object
com.jgoodies.looks.plastic.PlasticBorders

final class PlasticBorders extends Object
This class consists of a set of Borders used by the JGoodies Plastic Look and Feel UI delegates.
Version:
$Revision: 1.15 $
  • Field Details

    • comboBoxEditorBorder

      private static Border comboBoxEditorBorder
    • comboBoxArrowButtonBorder

      private static Border comboBoxArrowButtonBorder
    • etchedBorder

      private static Border etchedBorder
    • flush3DBorder

      private static Border flush3DBorder
    • popupMenuBorder

      private static Border popupMenuBorder
    • noMarginPopupMenuBorder

      private static Border noMarginPopupMenuBorder
    • rolloverButtonBorder

      private static Border rolloverButtonBorder
    • scrollPaneBorder

      private static Border scrollPaneBorder
    • separatorBorder

      private static Border separatorBorder
    • textFieldBorder

      private static Border textFieldBorder
    • thinLoweredBorder

      private static Border thinLoweredBorder
    • thinRaisedBorder

      private static Border thinRaisedBorder
    • toolBarHeaderBorder

      private static Border toolBarHeaderBorder
  • Constructor Details

    • PlasticBorders

      private PlasticBorders()
  • Method Details

    • getButtonBorder

      static Border getButtonBorder(Insets buttonMargin)
      Returns a border instance for a JButton.
      Returns:
      the lazily created button border
    • getComboBoxArrowButtonBorder

      static Border getComboBoxArrowButtonBorder()
      Returns a border for a JComboBox's button.
      Returns:
      the lazily created combo box arrow button border
    • getComboBoxEditorBorder

      static Border getComboBoxEditorBorder()
      Returns a border for a JComboBox's editor.
      Returns:
      the lazily created combo box editor border
    • getEtchedBorder

      static Border getEtchedBorder()
      Returns an etched border instance for JMenuBar or JToolBar.
      Returns:
      the lazily created etched border
    • getFlush3DBorder

      static Border getFlush3DBorder()
      Returns a flushed 3D border.
      Returns:
      the lazily created flushed 3D border
    • getInternalFrameBorder

      static Border getInternalFrameBorder()
      Returns a border for a JInternalFrame.
      Returns:
      an internal frame border
    • getMenuBarHeaderBorder

      static Border getMenuBarHeaderBorder()
      Returns a special border for a JMenuBar that is used in a header just above a JToolBar.
      Returns:
      the lazily created menu bar header border
    • getMenuBorder

      static Border getMenuBorder()
      Returns a border instance for a JMenu.
      Returns:
      the lazily created menu border
    • getMenuItemBorder

      static Border getMenuItemBorder()
      Returns a border instance for a JMenuItem.
      Returns:
      the lazily created menu item border
    • getPopupMenuBorder

      static Border getPopupMenuBorder()
      Returns a border instance for a JPopupMenu.
      Returns:
      the lazily created popup menu border
    • getNoMarginPopupMenuBorder

      static Border getNoMarginPopupMenuBorder()
      Returns a border instance for a JPopupMenu that has no (extra) margin.
      Returns:
      the lazily created no-margin popup menu border
    • getPaletteBorder

      static Border getPaletteBorder()
      Returns a border for a JInternalFrame's palette.
      Returns:
      a border for an internal frame in palette mode
    • getRolloverButtonBorder

      static Border getRolloverButtonBorder()
      Returns a rollover border for buttons in a JToolBar.
      Returns:
      the lazily created rollover button border
    • getScrollPaneBorder

      static Border getScrollPaneBorder()
      Returns a separator border instance for JScrollPane.
      Returns:
      the lazily created scroll pane border
    • getSeparatorBorder

      static Border getSeparatorBorder()
      Returns a separator border instance for JMenuBar or JToolBar.
      Returns:
      the lazily created separator border
    • getTextFieldBorder

      static Border getTextFieldBorder()
      Returns a border instance for a JTextField.
      Returns:
      the lazily created text field border
    • getThinLoweredBorder

      static Border getThinLoweredBorder()
      Returns a thin lowered border.
      Returns:
      the lazily created thin lowered border
    • getThinRaisedBorder

      static Border getThinRaisedBorder()
      Returns a thin raised border.
      Returns:
      the lazily created thin raised border
    • getToggleButtonBorder

      static Border getToggleButtonBorder(Insets buttonMargin)
      Returns a border instance for a JToggleButton.
      Returns:
      the lazily created toggle button border
    • getToolBarHeaderBorder

      static Border getToolBarHeaderBorder()
      Returns a special border for a JToolBar that is used in a header just below a JMenuBar.
      Returns:
      the lazily created toolbar header border