Class SubstanceOptionPaneUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.OptionPaneUI
-
- javax.swing.plaf.basic.BasicOptionPaneUI
-
- org.pushingpixels.substance.internal.ui.SubstanceOptionPaneUI
-
public class SubstanceOptionPaneUI extends BasicOptionPaneUI
UI for option panes in Substance look and feel.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
SubstanceOptionPaneUI.OptionPaneLabel
Label extension class.-
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicOptionPaneUI
BasicOptionPaneUI.ButtonActionListener, BasicOptionPaneUI.ButtonAreaLayout, BasicOptionPaneUI.PropertyChangeHandler
-
-
Field Summary
-
Fields inherited from class javax.swing.plaf.basic.BasicOptionPaneUI
hasCustomComponents, initialFocusComponent, inputComponent, MinimumHeight, minimumSize, MinimumWidth, optionPane, propertyChangeListener
-
-
Constructor Summary
Constructors Constructor Description SubstanceOptionPaneUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addIcon(Container top)
static ComponentUI
createUI(JComponent comp)
Creates a new SubstanceOptionPaneUI instance.protected Icon
getIconForType(int messageType)
protected void
installComponents()
void
paint(Graphics g, JComponent c)
-
Methods inherited from class javax.swing.plaf.basic.BasicOptionPaneUI
addButtonComponents, addMessageComponents, burstStringInto, containsCustomComponents, createButtonActionListener, createButtonArea, 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
-
-
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent comp)
Creates a new SubstanceOptionPaneUI instance.
-
paint
public void paint(Graphics g, JComponent c)
- Overrides:
paint
in classComponentUI
-
addIcon
protected void addIcon(Container top)
- Overrides:
addIcon
in classBasicOptionPaneUI
-
getIconForType
protected Icon getIconForType(int messageType)
- Overrides:
getIconForType
in classBasicOptionPaneUI
-
installComponents
protected void installComponents()
- Overrides:
installComponents
in classBasicOptionPaneUI
-
-