com.jidesoft.plaf.basic
Class BasicJideOptionPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.OptionPaneUI
javax.swing.plaf.basic.BasicOptionPaneUI
com.jidesoft.plaf.basic.BasicJideOptionPaneUI
public class BasicJideOptionPaneUI
- extends BasicOptionPaneUI
Methods inherited from class javax.swing.plaf.basic.BasicOptionPaneUI |
addMessageComponents, burstStringInto, containsCustomComponents, createButtonActionListener, createPropertyChangeListener, getIcon, getIconForType, getInitialValueIndex, getMaxCharactersPerLineCount, getMessage, getMinimumOptionPaneSize, getPreferredSize, getSizeButtonsToSameWidth, installKeyboardActions, installUI, resetInputValue, selectInitialValue, uninstallComponents, uninstallKeyboardActions, uninstallUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicJideOptionPaneUI
public BasicJideOptionPaneUI()
createUI
public static ComponentUI createUI(JComponent x)
- Creates a new BasicOptionPaneUI instance.
- Parameters:
x
- the component to create UI
- Returns:
- the UI instance.
createLayoutManager
protected LayoutManager createLayoutManager()
- Overrides:
createLayoutManager
in class BasicOptionPaneUI
isDetailsVisible
public boolean isDetailsVisible()
- Is details area visible initially.
- Returns:
- true if details area is visible.
setDetailsVisible
public void setDetailsVisible(boolean detailsVisible)
- Sets if details area is visible initially.
- Parameters:
detailsVisible
- the flag
installComponents
protected void installComponents()
- Overrides:
installComponents
in class BasicOptionPaneUI
installListeners
protected void installListeners()
- Overrides:
installListeners
in class BasicOptionPaneUI
uninstallListeners
protected void uninstallListeners()
- Overrides:
uninstallListeners
in class BasicOptionPaneUI
updateDetailsComponent
protected void updateDetailsComponent()
createMessageArea
protected Container createMessageArea()
- Overrides:
createMessageArea
in class BasicOptionPaneUI
createSeparator
protected Container createSeparator()
- Overrides:
createSeparator
in class BasicOptionPaneUI
installDefaults
protected void installDefaults()
- Overrides:
installDefaults
in class BasicOptionPaneUI
uninstallDefaults
protected void uninstallDefaults()
- Overrides:
uninstallDefaults
in class BasicOptionPaneUI
createDetailsComponent
protected Container createDetailsComponent()
createButtonArea
protected Container createButtonArea()
- Overrides:
createButtonArea
in class BasicOptionPaneUI
addButtonComponents
protected void addButtonComponents(Container container,
Object[] buttons,
int initialIndex)
- Overrides:
addButtonComponents
in class BasicOptionPaneUI
getButtons
protected Object[] getButtons()
- Returns the buttons to display from the JOptionPane the receiver is providing the look and feel for. If the
JOptionPane has options set, they will be provided, otherwise if the optionType is YES_NO_OPTION, yesNoOptions is
returned, if the type is YES_NO_CANCEL_OPTION yesNoCancelOptions is returned, otherwise defaultButtons are
returned.
- Overrides:
getButtons
in class BasicOptionPaneUI
addDetailsButton
protected Object[] addDetailsButton(Object[] options,
boolean showDetails)
configureButton
protected void configureButton(JButton button)
- Configures any necessary colors/fonts for the specified button used representing the button portion of the
OptionPane.
- Parameters:
button
- the button to configure
getMnemonic
protected int getMnemonic(String key,
Locale l)
addIcon
protected void addIcon(Container top)
- Overrides:
addIcon
in class BasicOptionPaneUI
createBannerArea
protected Container createBannerArea()
customizeBannerArea
protected void customizeBannerArea(PaintPanel bannerPanel)
getPainter
public ThemePainter getPainter()