JIDE Common Layer 2.7.6

com.jidesoft.plaf.basic
Class BasicJideOptionPaneUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.OptionPaneUI
          extended by javax.swing.plaf.basic.BasicOptionPaneUI
              extended by com.jidesoft.plaf.basic.BasicJideOptionPaneUI

public class BasicJideOptionPaneUI
extends javax.swing.plaf.basic.BasicOptionPaneUI


Nested Class Summary
protected static class BasicJideOptionPaneUI.ButtonFactory
          This class is used to create the default buttons.
 
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
 
Constructor Summary
BasicJideOptionPaneUI()
           
 
Method Summary
protected  void addButtonComponents(java.awt.Container container, java.lang.Object[] buttons, int initialIndex)
           
protected  java.lang.Object[] addDetailsButton(java.lang.Object[] options, boolean showDetails)
           
protected  void addIcon(java.awt.Container top)
           
protected  void configureButton(javax.swing.JButton button)
          Configures any necessary colors/fonts for the specified button used representing the button portion of the OptionPane.
protected  java.awt.Container createBannerArea()
           
protected  java.awt.Container createButtonArea()
           
protected  java.awt.Container createDetailsComponent()
           
protected  java.awt.LayoutManager createLayoutManager()
           
protected  java.awt.Container createMessageArea()
           
protected  java.awt.Container createSeparator()
           
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
          Creates a new BasicOptionPaneUI instance.
protected  void customizeBannerArea(PaintPanel bannerPanel)
           
protected  java.lang.Object[] getButtons()
          Returns the buttons to display from the JOptionPane the receiver is providing the look and feel for.
protected  int getMnemonic(java.lang.String key, java.util.Locale l)
           
 ThemePainter getPainter()
           
protected  void installComponents()
           
protected  void installDefaults()
           
static boolean isDetailsVisible()
          Is details area visible initially.
static void setDetailsVisible(boolean detailsVisible)
          Sets if details area is visible initially.
protected  void uninstallDefaults()
           
protected  void updateDetailsComponent()
           
 
Methods inherited from class javax.swing.plaf.basic.BasicOptionPaneUI
addMessageComponents, burstStringInto, containsCustomComponents, createButtonActionListener, createPropertyChangeListener, getIcon, getIconForType, getInitialValueIndex, getMaxCharactersPerLineCount, getMessage, getMinimumOptionPaneSize, getPreferredSize, getSizeButtonsToSameWidth, installKeyboardActions, installListeners, installUI, resetInputValue, selectInitialValue, uninstallComponents, 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

BasicJideOptionPaneUI

public BasicJideOptionPaneUI()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
Creates a new BasicOptionPaneUI instance.


createLayoutManager

protected java.awt.LayoutManager createLayoutManager()
Overrides:
createLayoutManager in class javax.swing.plaf.basic.BasicOptionPaneUI

isDetailsVisible

public static boolean isDetailsVisible()
Is details area visible initially.

Returns:
true if details area is visible.

setDetailsVisible

public static void setDetailsVisible(boolean detailsVisible)
Sets if details area is visible initially.

Parameters:
detailsVisible -

installComponents

protected void installComponents()
Overrides:
installComponents in class javax.swing.plaf.basic.BasicOptionPaneUI

updateDetailsComponent

protected void updateDetailsComponent()

createMessageArea

protected java.awt.Container createMessageArea()
Overrides:
createMessageArea in class javax.swing.plaf.basic.BasicOptionPaneUI

createSeparator

protected java.awt.Container createSeparator()
Overrides:
createSeparator in class javax.swing.plaf.basic.BasicOptionPaneUI

installDefaults

protected void installDefaults()
Overrides:
installDefaults in class javax.swing.plaf.basic.BasicOptionPaneUI

uninstallDefaults

protected void uninstallDefaults()
Overrides:
uninstallDefaults in class javax.swing.plaf.basic.BasicOptionPaneUI

createDetailsComponent

protected java.awt.Container createDetailsComponent()

createButtonArea

protected java.awt.Container createButtonArea()
Overrides:
createButtonArea in class javax.swing.plaf.basic.BasicOptionPaneUI

addButtonComponents

protected void addButtonComponents(java.awt.Container container,
                                   java.lang.Object[] buttons,
                                   int initialIndex)
Overrides:
addButtonComponents in class javax.swing.plaf.basic.BasicOptionPaneUI

getButtons

protected java.lang.Object[] getButtons()
Returns the buttons to display from the JOptionPane the receiver is providing the look and feel for. If the JOptionPane has options set, they will be provided, otherwise if the optionType is YES_NO_OPTION, yesNoOptions is returned, if the type is YES_NO_CANCEL_OPTION yesNoCancelOptions is returned, otherwise defaultButtons are returned.

Overrides:
getButtons in class javax.swing.plaf.basic.BasicOptionPaneUI

addDetailsButton

protected java.lang.Object[] addDetailsButton(java.lang.Object[] options,
                                              boolean showDetails)

configureButton

protected void configureButton(javax.swing.JButton button)
Configures any necessary colors/fonts for the specified button used representing the button portion of the OptionPane.


getMnemonic

protected int getMnemonic(java.lang.String key,
                          java.util.Locale l)

addIcon

protected void addIcon(java.awt.Container top)
Overrides:
addIcon in class javax.swing.plaf.basic.BasicOptionPaneUI

createBannerArea

protected java.awt.Container createBannerArea()

customizeBannerArea

protected void customizeBannerArea(PaintPanel bannerPanel)

getPainter

public ThemePainter getPainter()

JIDE Common Layer 2.7.6