public class BasicJideOptionPaneUI extends BasicOptionPaneUI
Modifier and Type | Class | 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 | Description |
---|---|
BasicJideOptionPaneUI() |
Modifier and Type | Method | 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, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, paint, update
public static ComponentUI createUI(JComponent x)
x
- the component to create UIprotected LayoutManager createLayoutManager()
createLayoutManager
in class BasicOptionPaneUI
public boolean isDetailsVisible()
public void setDetailsVisible(boolean detailsVisible)
detailsVisible
- the flagprotected void installComponents()
installComponents
in class BasicOptionPaneUI
protected void installListeners()
installListeners
in class BasicOptionPaneUI
protected void uninstallListeners()
uninstallListeners
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)
button
- the button to configureprotected void addIcon(Container top)
addIcon
in class BasicOptionPaneUI
protected Container createBannerArea()
protected void customizeBannerArea(PaintPanel bannerPanel)
public ThemePainter getPainter()