Class RadianceOptionPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.OptionPaneUI
javax.swing.plaf.basic.BasicOptionPaneUI
org.pushingpixels.radiance.theming.internal.ui.RadianceOptionPaneUI
UI for option panes in Radiance look and feel.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
Label extension class.private static class
This class extends ButtonAreaLayout from the base class because in one of the places there is an explicit cast of the button container to that layout.Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicOptionPaneUI
BasicOptionPaneUI.ButtonActionListener, BasicOptionPaneUI.ButtonAreaLayout, BasicOptionPaneUI.PropertyChangeHandler
-
Field Summary
FieldsFields inherited from class javax.swing.plaf.basic.BasicOptionPaneUI
hasCustomComponents, initialFocusComponent, inputComponent, MinimumHeight, minimumSize, MinimumWidth, optionPane, propertyChangeListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected Container
static ComponentUI
createUI
(JComponent comp) Creates a new RadianceOptionPaneUI instance.protected Icon
getIconForType
(int messageType) protected void
void
paint
(Graphics g, JComponent c) Methods inherited from class javax.swing.plaf.basic.BasicOptionPaneUI
addButtonComponents, addMessageComponents, burstStringInto, containsCustomComponents, createButtonActionListener, createLayoutManager, createMessageArea, createPropertyChangeListener, createSeparator, getButtons, getIcon, getInitialValueIndex, getMaxCharactersPerLineCount, getMessage, getMinimumOptionPaneSize, getPreferredSize, getSizeButtonsToSameWidth, installDefaults, installKeyboardActions, installListeners, installUI, resetInputValue, selectInitialValue, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, update
-
Field Details
-
ICON_SIZE
private static final int ICON_SIZE- See Also:
-
radianceIconLabel
Icon label. -
iconGlowTracker
-
-
Constructor Details
-
RadianceOptionPaneUI
protected RadianceOptionPaneUI()
-
-
Method Details
-
createUI
Creates a new RadianceOptionPaneUI instance. -
paint
- Overrides:
paint
in classComponentUI
-
addIcon
- Overrides:
addIcon
in classBasicOptionPaneUI
-
getIconForType
- Overrides:
getIconForType
in classBasicOptionPaneUI
-
installComponents
protected void installComponents()- Overrides:
installComponents
in classBasicOptionPaneUI
-
createButtonArea
- Overrides:
createButtonArea
in classBasicOptionPaneUI
-