Class 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 Class
      class  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 Method
      protected java.awt.LayoutManager createLayoutManager()
      Description of the Method
      java.beans.PropertyChangeListener createPropertyChangeListener()  
      protected java.awt.event.MouseListener createRolloverListener()  
      static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)
      Description of the Method
      protected java.awt.Component editor()
      Description of the Method
      protected java.awt.Insets getInsets()
      Gets the Insets attribute of the SkinComboBoxUI object
      java.awt.Dimension getMinimumSize​(javax.swing.JComponent c)
      Gets the MinimumSize attribute of the SkinComboBoxUI object
      java.awt.Dimension getPreferredSize​(javax.swing.JComponent c)
      Gets the PreferredSize attribute of the SkinComboBoxUI object
      protected void installComponents()
      Description of the Method
      protected void installKeyboardActions()
      Description of the Method
      protected void installListeners()  
      void paint​(java.awt.Graphics g, javax.swing.JComponent c)
      Description of the Method
      protected java.awt.Rectangle rectangleForCurrentValue()
      Description of the Method
      protected void unconfigureEditor()  
      protected void uninstallKeyboardActions()
      Description of the Method
      protected 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
      • Methods inherited from class javax.swing.plaf.ComponentUI

        contains, update
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SkinComboBoxUI

        public SkinComboBoxUI()
    • Method Detail

      • getPreferredSize

        public java.awt.Dimension getPreferredSize​(javax.swing.JComponent c)
        Gets the PreferredSize attribute of the SkinComboBoxUI object
        Overrides:
        getPreferredSize in class javax.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 class javax.swing.plaf.basic.BasicComboBoxUI
        Parameters:
        c - Description of Parameter
        Returns:
        The MinimumSize value
      • installListeners

        protected void installListeners()
        Overrides:
        installListeners in class javax.swing.plaf.basic.BasicComboBoxUI
      • uninstallListeners

        protected void uninstallListeners()
        Overrides:
        uninstallListeners in class javax.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 class javax.swing.plaf.basic.BasicComboBoxUI
        Parameters:
        g - Description of Parameter
        c - Description of Parameter
      • getInsets

        protected java.awt.Insets getInsets()
        Gets the Insets attribute of the SkinComboBoxUI object
        Overrides:
        getInsets in class javax.swing.plaf.basic.BasicComboBoxUI
        Returns:
        The Insets value
      • createArrowButton

        protected javax.swing.JButton createArrowButton()
        Description of the Method
        Overrides:
        createArrowButton in class javax.swing.plaf.basic.BasicComboBoxUI
        Returns:
        Description of the Returned Value
      • installComponents

        protected void installComponents()
        Description of the Method
        Overrides:
        installComponents in class javax.swing.plaf.basic.BasicComboBoxUI
      • configureEditor

        protected void configureEditor()
        Overrides:
        configureEditor in class javax.swing.plaf.basic.BasicComboBoxUI
      • unconfigureEditor

        protected void unconfigureEditor()
        Overrides:
        unconfigureEditor in class javax.swing.plaf.basic.BasicComboBoxUI
      • rectangleForCurrentValue

        protected java.awt.Rectangle rectangleForCurrentValue()
        Description of the Method
        Overrides:
        rectangleForCurrentValue in class javax.swing.plaf.basic.BasicComboBoxUI
        Returns:
        Description of the Returned Value
      • createLayoutManager

        protected java.awt.LayoutManager createLayoutManager()
        Description of the Method
        Overrides:
        createLayoutManager in class javax.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 class javax.swing.plaf.basic.BasicComboBoxUI
      • uninstallKeyboardActions

        protected void uninstallKeyboardActions()
        Description of the Method
        Overrides:
        uninstallKeyboardActions in class javax.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 class javax.swing.plaf.basic.BasicComboBoxUI