com.alee.laf.optionpane
Class WebOptionPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.OptionPaneUI
javax.swing.plaf.basic.BasicOptionPaneUI
com.alee.laf.optionpane.WebOptionPaneUI
public class WebOptionPaneUI
- extends javax.swing.plaf.basic.BasicOptionPaneUI
User: mgarin Date: 17.08.11 Time: 22:46
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicOptionPaneUI |
javax.swing.plaf.basic.BasicOptionPaneUI.ButtonActionListener, javax.swing.plaf.basic.BasicOptionPaneUI.ButtonAreaLayout, javax.swing.plaf.basic.BasicOptionPaneUI.PropertyChangeHandler |
Fields inherited from class javax.swing.plaf.basic.BasicOptionPaneUI |
hasCustomComponents, initialFocusComponent, inputComponent, MinimumHeight, minimumSize, MinimumWidth, optionPane, propertyChangeListener |
Method Summary |
protected void |
addButtonComponents(java.awt.Container container,
java.lang.Object[] buttons,
int initialIndex)
Modified buttons creation method |
protected java.awt.Container |
createMessageArea()
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
protected java.lang.Object[] |
getButtons()
Modified dialog buttons |
protected javax.swing.Icon |
getIconForType(int messageType)
Modified dialogs side icons |
static javax.swing.ImageIcon |
getTypeIcon(int messageType)
|
void |
installUI(javax.swing.JComponent c)
|
Methods inherited from class javax.swing.plaf.basic.BasicOptionPaneUI |
addIcon, addMessageComponents, burstStringInto, containsCustomComponents, createButtonActionListener, createButtonArea, createLayoutManager, createPropertyChangeListener, createSeparator, getIcon, getInitialValueIndex, getMaxCharactersPerLineCount, getMessage, getMinimumOptionPaneSize, getPreferredSize, getSizeButtonsToSameWidth, installComponents, installDefaults, installKeyboardActions, installListeners, resetInputValue, selectInitialValue, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, paint, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INFORMATION_ICON
public static final javax.swing.ImageIcon INFORMATION_ICON
WARNING_ICON
public static final javax.swing.ImageIcon WARNING_ICON
ERROR_ICON
public static final javax.swing.ImageIcon ERROR_ICON
QUESTION_ICON
public static final javax.swing.ImageIcon QUESTION_ICON
WebOptionPaneUI
public WebOptionPaneUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in class javax.swing.plaf.basic.BasicOptionPaneUI
createMessageArea
protected java.awt.Container createMessageArea()
- Overrides:
createMessageArea
in class javax.swing.plaf.basic.BasicOptionPaneUI
addButtonComponents
protected void addButtonComponents(java.awt.Container container,
java.lang.Object[] buttons,
int initialIndex)
- Modified buttons creation method
- Overrides:
addButtonComponents
in class javax.swing.plaf.basic.BasicOptionPaneUI
getButtons
protected java.lang.Object[] getButtons()
- Modified dialog buttons
- Overrides:
getButtons
in class javax.swing.plaf.basic.BasicOptionPaneUI
getIconForType
protected javax.swing.Icon getIconForType(int messageType)
- Modified dialogs side icons
- Overrides:
getIconForType
in class javax.swing.plaf.basic.BasicOptionPaneUI
getTypeIcon
public static javax.swing.ImageIcon getTypeIcon(int messageType)