public class BasicJideOptionPaneUI extends BasicOptionPaneUI
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BasicJideOptionPaneUI.ButtonFactory
This class is used to create the default buttons.
|
BasicOptionPaneUI.ButtonActionListener, BasicOptionPaneUI.ButtonAreaLayout, BasicOptionPaneUI.PropertyChangeHandlerhasCustomComponents, initialFocusComponent, inputComponent, MinimumHeight, minimumSize, MinimumWidth, optionPane, propertyChangeListener| Constructor and Description |
|---|
BasicJideOptionPaneUI() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addButtonComponents(Container container,
Object[] buttons,
int initialIndex) |
protected Object[] |
addDetailsButton(Object[] options,
boolean showDetails) |
protected void |
addIcon(Container top) |
protected void |
configureButton(JButton button)
Configures any necessary colors/fonts for the specified button used representing the button portion of the
OptionPane.
|
protected Container |
createBannerArea() |
protected Container |
createButtonArea() |
protected Container |
createDetailsComponent() |
protected LayoutManager |
createLayoutManager() |
protected Container |
createMessageArea() |
protected Container |
createSeparator() |
static ComponentUI |
createUI(JComponent x)
Creates a new BasicOptionPaneUI instance.
|
protected void |
customizeBannerArea(PaintPanel bannerPanel) |
protected Object[] |
getButtons()
Returns the buttons to display from the JOptionPane the receiver is providing the look and feel for.
|
protected int |
getMnemonic(String key,
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, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, paint, updatepublic static ComponentUI createUI(JComponent x)
x - the component to create UIprotected LayoutManager createLayoutManager()
createLayoutManager in class BasicOptionPaneUIpublic boolean isDetailsVisible()
public void setDetailsVisible(boolean detailsVisible)
detailsVisible - the flagprotected void installComponents()
installComponents in class BasicOptionPaneUIprotected void installListeners()
installListeners in class BasicOptionPaneUIprotected void uninstallListeners()
uninstallListeners in class BasicOptionPaneUIprotected void updateDetailsComponent()
protected Container createMessageArea()
createMessageArea in class BasicOptionPaneUIprotected Container createSeparator()
createSeparator in class BasicOptionPaneUIprotected void installDefaults()
installDefaults in class BasicOptionPaneUIprotected void uninstallDefaults()
uninstallDefaults in class BasicOptionPaneUIprotected Container createDetailsComponent()
protected Container createButtonArea()
createButtonArea in class BasicOptionPaneUIprotected void addButtonComponents(Container container, Object[] buttons, int initialIndex)
addButtonComponents in class BasicOptionPaneUIprotected Object[] getButtons()
getButtons in class BasicOptionPaneUIprotected void configureButton(JButton button)
button - the button to configureprotected void addIcon(Container top)
addIcon in class BasicOptionPaneUIprotected Container createBannerArea()
protected void customizeBannerArea(PaintPanel bannerPanel)
public ThemePainter getPainter()
Copyright © 2017. All rights reserved.