public class BasicJideOptionPaneUI
extends javax.swing.plaf.basic.BasicOptionPaneUI
Modifier and Type | Class and Description |
---|---|
protected static class |
BasicJideOptionPaneUI.ButtonFactory
This class is used to create the default buttons.
|
Constructor and Description |
---|
BasicJideOptionPaneUI() |
Modifier and Type | Method and Description |
---|---|
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() |
addMessageComponents, burstStringInto, containsCustomComponents, createButtonActionListener, createPropertyChangeListener, getIcon, getIconForType, getInitialValueIndex, getMaxCharactersPerLineCount, getMessage, getMinimumOptionPaneSize, getPreferredSize, getSizeButtonsToSameWidth, installKeyboardActions, installListeners, installUI, resetInputValue, selectInitialValue, uninstallComponents, uninstallKeyboardActions, uninstallListeners, uninstallUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
protected java.awt.LayoutManager createLayoutManager()
createLayoutManager
in class javax.swing.plaf.basic.BasicOptionPaneUI
public static boolean isDetailsVisible()
public static void setDetailsVisible(boolean detailsVisible)
detailsVisible
- protected void installComponents()
installComponents
in class javax.swing.plaf.basic.BasicOptionPaneUI
protected void updateDetailsComponent()
protected java.awt.Container createMessageArea()
createMessageArea
in class javax.swing.plaf.basic.BasicOptionPaneUI
protected java.awt.Container createSeparator()
createSeparator
in class javax.swing.plaf.basic.BasicOptionPaneUI
protected void installDefaults()
installDefaults
in class javax.swing.plaf.basic.BasicOptionPaneUI
protected void uninstallDefaults()
uninstallDefaults
in class javax.swing.plaf.basic.BasicOptionPaneUI
protected java.awt.Container createDetailsComponent()
protected java.awt.Container createButtonArea()
createButtonArea
in class javax.swing.plaf.basic.BasicOptionPaneUI
protected void addButtonComponents(java.awt.Container container, java.lang.Object[] buttons, int initialIndex)
addButtonComponents
in class javax.swing.plaf.basic.BasicOptionPaneUI
protected java.lang.Object[] getButtons()
getButtons
in class javax.swing.plaf.basic.BasicOptionPaneUI
protected java.lang.Object[] addDetailsButton(java.lang.Object[] options, boolean showDetails)
protected void configureButton(javax.swing.JButton button)
protected int getMnemonic(java.lang.String key, java.util.Locale l)
protected void addIcon(java.awt.Container top)
addIcon
in class javax.swing.plaf.basic.BasicOptionPaneUI
protected java.awt.Container createBannerArea()
protected void customizeBannerArea(PaintPanel bannerPanel)
public ThemePainter getPainter()