Package com.l2fprod.gui.plaf.skin
Class SkinComboBoxUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ComboBoxUI
-
- javax.swing.plaf.basic.BasicComboBoxUI
-
- com.l2fprod.gui.plaf.skin.SkinComboBoxUI
-
public final class SkinComboBoxUI extends javax.swing.plaf.basic.BasicComboBoxUI
- Version:
- $Revision: 1.5 $, $Date: 2005/12/04 15:34:37 $
- Author:
- $Author: l2fprod $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SkinComboBoxUI.RolloverMouseListener
class
SkinComboBoxUI.SkinComboBoxLayoutManager
Description of the Classclass
SkinComboBoxUI.SkinPropertyChangeListener
This inner class is marked "public" due to a compiler bug.-
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicComboBoxUI
javax.swing.plaf.basic.BasicComboBoxUI.ComboBoxLayoutManager, javax.swing.plaf.basic.BasicComboBoxUI.FocusHandler, javax.swing.plaf.basic.BasicComboBoxUI.ItemHandler, javax.swing.plaf.basic.BasicComboBoxUI.KeyHandler, javax.swing.plaf.basic.BasicComboBoxUI.ListDataHandler, javax.swing.plaf.basic.BasicComboBoxUI.PropertyChangeHandler
-
-
Field Summary
-
Fields inherited from class javax.swing.plaf.basic.BasicComboBoxUI
arrowButton, cachedMinimumSize, comboBox, currentValuePane, editor, focusListener, hasFocus, isMinimumSizeDirty, itemListener, keyListener, listBox, listDataListener, padding, popup, popupKeyListener, popupMouseListener, popupMouseMotionListener, propertyChangeListener, squareButton
-
-
Constructor Summary
Constructors Constructor Description SkinComboBoxUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.swing.JComboBox
comboBox()
protected void
configureEditor()
protected javax.swing.JButton
createArrowButton()
Description of the Methodprotected java.awt.LayoutManager
createLayoutManager()
Description of the Methodjava.beans.PropertyChangeListener
createPropertyChangeListener()
protected java.awt.event.MouseListener
createRolloverListener()
static javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent c)
Description of the Methodprotected java.awt.Component
editor()
Description of the Methodprotected java.awt.Insets
getInsets()
Gets the Insets attribute of the SkinComboBoxUI objectjava.awt.Dimension
getMinimumSize(javax.swing.JComponent c)
Gets the MinimumSize attribute of the SkinComboBoxUI objectjava.awt.Dimension
getPreferredSize(javax.swing.JComponent c)
Gets the PreferredSize attribute of the SkinComboBoxUI objectprotected void
installComponents()
Description of the Methodprotected void
installKeyboardActions()
Description of the Methodprotected void
installListeners()
void
paint(java.awt.Graphics g, javax.swing.JComponent c)
Description of the Methodprotected java.awt.Rectangle
rectangleForCurrentValue()
Description of the Methodprotected void
unconfigureEditor()
protected void
uninstallKeyboardActions()
Description of the Methodprotected void
uninstallListeners()
-
Methods inherited from class javax.swing.plaf.basic.BasicComboBoxUI
addEditor, configureArrowButton, createEditor, createFocusListener, createItemListener, createKeyListener, createListDataListener, createPopup, createRenderer, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getDefaultSize, getDisplaySize, getMaximumSize, getSizeForComponent, installDefaults, installUI, isFocusTraversable, isNavigationKey, isPopupVisible, paintCurrentValue, paintCurrentValueBackground, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureArrowButton, uninstallComponents, uninstallDefaults, uninstallUI
-
-
-
-
Method Detail
-
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
Gets the PreferredSize attribute of the SkinComboBoxUI object- Overrides:
getPreferredSize
in classjavax.swing.plaf.basic.BasicComboBoxUI
- Parameters:
c
- Description of Parameter- Returns:
- The PreferredSize value
-
getMinimumSize
public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
Gets the MinimumSize attribute of the SkinComboBoxUI object- Overrides:
getMinimumSize
in classjavax.swing.plaf.basic.BasicComboBoxUI
- Parameters:
c
- Description of Parameter- Returns:
- The MinimumSize value
-
installListeners
protected void installListeners()
- Overrides:
installListeners
in classjavax.swing.plaf.basic.BasicComboBoxUI
-
uninstallListeners
protected void uninstallListeners()
- Overrides:
uninstallListeners
in classjavax.swing.plaf.basic.BasicComboBoxUI
-
createRolloverListener
protected java.awt.event.MouseListener createRolloverListener()
-
paint
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
Description of the Method- Overrides:
paint
in classjavax.swing.plaf.basic.BasicComboBoxUI
- Parameters:
g
- Description of Parameterc
- Description of Parameter
-
getInsets
protected java.awt.Insets getInsets()
Gets the Insets attribute of the SkinComboBoxUI object- Overrides:
getInsets
in classjavax.swing.plaf.basic.BasicComboBoxUI
- Returns:
- The Insets value
-
createArrowButton
protected javax.swing.JButton createArrowButton()
Description of the Method- Overrides:
createArrowButton
in classjavax.swing.plaf.basic.BasicComboBoxUI
- Returns:
- Description of the Returned Value
-
installComponents
protected void installComponents()
Description of the Method- Overrides:
installComponents
in classjavax.swing.plaf.basic.BasicComboBoxUI
-
configureEditor
protected void configureEditor()
- Overrides:
configureEditor
in classjavax.swing.plaf.basic.BasicComboBoxUI
-
unconfigureEditor
protected void unconfigureEditor()
- Overrides:
unconfigureEditor
in classjavax.swing.plaf.basic.BasicComboBoxUI
-
rectangleForCurrentValue
protected java.awt.Rectangle rectangleForCurrentValue()
Description of the Method- Overrides:
rectangleForCurrentValue
in classjavax.swing.plaf.basic.BasicComboBoxUI
- Returns:
- Description of the Returned Value
-
createLayoutManager
protected java.awt.LayoutManager createLayoutManager()
Description of the Method- Overrides:
createLayoutManager
in classjavax.swing.plaf.basic.BasicComboBoxUI
- Returns:
- Description of the Returned Value
-
comboBox
protected javax.swing.JComboBox comboBox()
-
installKeyboardActions
protected void installKeyboardActions()
Description of the Method- Overrides:
installKeyboardActions
in classjavax.swing.plaf.basic.BasicComboBoxUI
-
uninstallKeyboardActions
protected void uninstallKeyboardActions()
Description of the Method- Overrides:
uninstallKeyboardActions
in classjavax.swing.plaf.basic.BasicComboBoxUI
-
editor
protected java.awt.Component editor()
Description of the Method- Returns:
- Description of the Returned Value
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Description of the Method- Parameters:
c
- Description of Parameter- Returns:
- Description of the Returned Value
-
createPropertyChangeListener
public java.beans.PropertyChangeListener createPropertyChangeListener()
- Overrides:
createPropertyChangeListener
in classjavax.swing.plaf.basic.BasicComboBoxUI
-
-