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.PropertyChangeHandler
hasCustomComponents, 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() |
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
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, paint, update
public static ComponentUI createUI(JComponent x)
protected LayoutManager createLayoutManager()
createLayoutManager
in class BasicOptionPaneUI
public static boolean isDetailsVisible()
public static void setDetailsVisible(boolean detailsVisible)
detailsVisible
- protected void installComponents()
installComponents
in class BasicOptionPaneUI
protected void updateDetailsComponent()
protected Container createMessageArea()
createMessageArea
in class BasicOptionPaneUI
protected Container createSeparator()
createSeparator
in class BasicOptionPaneUI
protected void installDefaults()
installDefaults
in class BasicOptionPaneUI
protected void uninstallDefaults()
uninstallDefaults
in class BasicOptionPaneUI
protected Container createDetailsComponent()
protected Container createButtonArea()
createButtonArea
in class BasicOptionPaneUI
protected void addButtonComponents(Container container, Object[] buttons, int initialIndex)
addButtonComponents
in class BasicOptionPaneUI
protected Object[] getButtons()
getButtons
in class BasicOptionPaneUI
protected void configureButton(JButton button)
protected void addIcon(Container top)
addIcon
in class BasicOptionPaneUI
protected Container createBannerArea()
protected void customizeBannerArea(PaintPanel bannerPanel)
public ThemePainter getPainter()