Class PlasticBorders


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

      • comboBoxEditorBorder

        private static javax.swing.border.Border comboBoxEditorBorder
      • comboBoxArrowButtonBorder

        private static javax.swing.border.Border comboBoxArrowButtonBorder
      • etchedBorder

        private static javax.swing.border.Border etchedBorder
      • flush3DBorder

        private static javax.swing.border.Border flush3DBorder
      • menuBarHeaderBorder

        private static javax.swing.border.Border menuBarHeaderBorder
      • menuBorder

        private static javax.swing.border.Border menuBorder
      • menuItemBorder

        private static javax.swing.border.Border menuItemBorder
      • popupMenuBorder

        private static javax.swing.border.Border popupMenuBorder
      • noMarginPopupMenuBorder

        private static javax.swing.border.Border noMarginPopupMenuBorder
      • rolloverButtonBorder

        private static javax.swing.border.Border rolloverButtonBorder
      • scrollPaneBorder

        private static javax.swing.border.Border scrollPaneBorder
      • separatorBorder

        private static javax.swing.border.Border separatorBorder
      • textFieldBorder

        private static javax.swing.border.Border textFieldBorder
      • thinLoweredBorder

        private static javax.swing.border.Border thinLoweredBorder
      • thinRaisedBorder

        private static javax.swing.border.Border thinRaisedBorder
      • toolBarHeaderBorder

        private static javax.swing.border.Border toolBarHeaderBorder
    • Constructor Detail

      • PlasticBorders

        private PlasticBorders()
    • Method Detail

      • getButtonBorder

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

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

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

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

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

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

        static javax.swing.border.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 javax.swing.border.Border getMenuBorder()
        Returns a border instance for a JMenu.
        Returns:
        the lazily created menu border
      • getMenuItemBorder

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

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

        static javax.swing.border.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 javax.swing.border.Border getPaletteBorder()
        Returns a border for a JInternalFrame's palette.
        Returns:
        a border for an internal frame in palette mode
      • getRolloverButtonBorder

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

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

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

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

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

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

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

        static javax.swing.border.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