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() |
protected void |
installListeners() |
boolean |
isDetailsVisible()
Is details area visible initially.
|
void |
setDetailsVisible(boolean detailsVisible)
Sets if details area is visible initially.
|
protected void |
uninstallDefaults() |
protected void |
uninstallListeners() |
protected void |
updateDetailsComponent() |
addMessageComponents, burstStringInto, containsCustomComponents, createButtonActionListener, createPropertyChangeListener, getIcon, getIconForType, getInitialValueIndex, getMaxCharactersPerLineCount, getMessage, getMinimumOptionPaneSize, getPreferredSize, getSizeButtonsToSameWidth, installKeyboardActions, installUI, resetInputValue, selectInitialValue, uninstallComponents, uninstallKeyboardActions, uninstallUIpublic static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
x - the component to create UIprotected java.awt.LayoutManager createLayoutManager()
createLayoutManager in class javax.swing.plaf.basic.BasicOptionPaneUIpublic boolean isDetailsVisible()
public void setDetailsVisible(boolean detailsVisible)
detailsVisible - the flagprotected void installComponents()
installComponents in class javax.swing.plaf.basic.BasicOptionPaneUIprotected void installListeners()
installListeners in class javax.swing.plaf.basic.BasicOptionPaneUIprotected void uninstallListeners()
uninstallListeners in class javax.swing.plaf.basic.BasicOptionPaneUIprotected void updateDetailsComponent()
protected java.awt.Container createMessageArea()
createMessageArea in class javax.swing.plaf.basic.BasicOptionPaneUIprotected java.awt.Container createSeparator()
createSeparator in class javax.swing.plaf.basic.BasicOptionPaneUIprotected void installDefaults()
installDefaults in class javax.swing.plaf.basic.BasicOptionPaneUIprotected void uninstallDefaults()
uninstallDefaults in class javax.swing.plaf.basic.BasicOptionPaneUIprotected java.awt.Container createDetailsComponent()
protected java.awt.Container createButtonArea()
createButtonArea in class javax.swing.plaf.basic.BasicOptionPaneUIprotected void addButtonComponents(java.awt.Container container,
java.lang.Object[] buttons,
int initialIndex)
addButtonComponents in class javax.swing.plaf.basic.BasicOptionPaneUIprotected java.lang.Object[] getButtons()
getButtons in class javax.swing.plaf.basic.BasicOptionPaneUIprotected java.lang.Object[] addDetailsButton(java.lang.Object[] options,
boolean showDetails)
protected void configureButton(javax.swing.JButton button)
button - the button to configureprotected int getMnemonic(java.lang.String key,
java.util.Locale l)
protected void addIcon(java.awt.Container top)
addIcon in class javax.swing.plaf.basic.BasicOptionPaneUIprotected java.awt.Container createBannerArea()
protected void customizeBannerArea(PaintPanel bannerPanel)
public ThemePainter getPainter()