Class PlasticOptionPaneUI


  • public final class PlasticOptionPaneUI
    extends javax.swing.plaf.basic.BasicOptionPaneUI
    The JGoodies Plastic Look&Feel implementation of OptionPaneUI. Honors the screen resolution and uses a minimum button with that complies better with the Mac and Windows UI style guides.
    Version:
    $Revision: 1.9 $
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicOptionPaneUI

        javax.swing.plaf.basic.BasicOptionPaneUI.ButtonActionListener, javax.swing.plaf.basic.BasicOptionPaneUI.ButtonAreaLayout, javax.swing.plaf.basic.BasicOptionPaneUI.PropertyChangeHandler
    • Field Summary

      • Fields inherited from class javax.swing.plaf.basic.BasicOptionPaneUI

        hasCustomComponents, initialFocusComponent, inputComponent, MinimumHeight, minimumSize, MinimumWidth, optionPane, propertyChangeListener
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.awt.Container createButtonArea()
      Creates and returns a Container containin the buttons.
      static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent b)  
      • Methods inherited from class javax.swing.plaf.basic.BasicOptionPaneUI

        addButtonComponents, addIcon, addMessageComponents, burstStringInto, containsCustomComponents, createButtonActionListener, createLayoutManager, createMessageArea, createPropertyChangeListener, createSeparator, getButtons, getIcon, getIconForType, getInitialValueIndex, getMaxCharactersPerLineCount, getMessage, getMinimumOptionPaneSize, getPreferredSize, getSizeButtonsToSameWidth, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, resetInputValue, selectInitialValue, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
      • Methods inherited from class javax.swing.plaf.ComponentUI

        contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, paint, update
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlasticOptionPaneUI

        public PlasticOptionPaneUI()
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent b)
      • createButtonArea

        protected java.awt.Container createButtonArea()
        Creates and returns a Container containin the buttons. The buttons are created by calling getButtons.
        Overrides:
        createButtonArea in class javax.swing.plaf.basic.BasicOptionPaneUI