com.jgoodies.looks.plastic
Class PlasticOptionPaneUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.OptionPaneUI
          extended byjavax.swing.plaf.basic.BasicOptionPaneUI
              extended bycom.jgoodies.looks.plastic.PlasticOptionPaneUI

public final class PlasticOptionPaneUI
extends 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.3 $
Author:
Karsten Lentzsch

Nested Class Summary
 
Nested classes inherited from class javax.swing.plaf.basic.BasicOptionPaneUI
BasicOptionPaneUI.ButtonActionListener, BasicOptionPaneUI.ButtonAreaLayout, BasicOptionPaneUI.PropertyChangeHandler
 
Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicOptionPaneUI
hasCustomComponents, initialFocusComponent, inputComponent, MinimumHeight, minimumSize, MinimumWidth, optionPane, propertyChangeListener
 
Constructor Summary
PlasticOptionPaneUI()
           
 
Method Summary
protected  Container createButtonArea()
          Creates and returns a Container containin the buttons.
static ComponentUI createUI(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, getMaximumSize, getMessage, getMinimumOptionPaneSize, getMinimumSize, 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, 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 ComponentUI createUI(JComponent b)

createButtonArea

protected Container createButtonArea()
Creates and returns a Container containin the buttons. The buttons are created by calling getButtons.



Copyright © 2001-2005 JGoodies Karsten Lentzsch. All Rights Reserved.