Save This Page
Home » openjdk-7 » javax » swing » plaf » metal » [javadoc | source]
javax.swing.plaf.metal
public class: MetalComboBoxUI [javadoc | source]
java.lang.Object
   javax.swing.plaf.ComponentUI
      javax.swing.plaf.ComboBoxUI
         javax.swing.plaf.basic.BasicComboBoxUI
            javax.swing.plaf.metal.MetalComboBoxUI
Metal UI for JComboBox

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder .

Nested Class Summary:
public class  MetalComboBoxUI.MetalPropertyChangeListener  This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of
public class  MetalComboBoxUI.MetalComboBoxLayoutManager  This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of
public class  MetalComboBoxUI.MetalComboPopup  This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of . This class is now obsolete and doesn't do anything and is only included for backwards API compatibility. Do not call or override. 
Fields inherited from javax.swing.plaf.basic.BasicComboBoxUI:
comboBox,  hasFocus,  listBox,  currentValuePane,  popup,  editor,  arrowButton,  keyListener,  focusListener,  propertyChangeListener,  itemListener,  popupMouseListener,  popupMouseMotionListener,  popupKeyListener,  listDataListener,  keySelectionManager,  isMinimumSizeDirty,  cachedMinimumSize,  HIDE_POPUP_KEY
Method from javax.swing.plaf.metal.MetalComboBoxUI Summary:
configureEditor,   createArrowButton,   createEditor,   createLayoutManager,   createPopup,   createPropertyChangeListener,   createUI,   editablePropertyChanged,   getBaseline,   getMinimumSize,   layoutComboBox,   paint,   paintCurrentValue,   paintCurrentValueBackground,   removeListeners,   unconfigureEditor
Methods from javax.swing.plaf.basic.BasicComboBoxUI:
addEditor,   configureArrowButton,   configureEditor,   createArrowButton,   createEditor,   createFocusListener,   createItemListener,   createKeyListener,   createLayoutManager,   createListDataListener,   createPopup,   createPropertyChangeListener,   createRenderer,   createUI,   getAccessibleChild,   getAccessibleChildrenCount,   getBaseline,   getBaselineResizeBehavior,   getDefaultSize,   getDisplaySize,   getInputMap,   getInsets,   getMaximumSize,   getMinimumSize,   getPreferredSize,   installComponents,   installDefaults,   installKeyboardActions,   installListeners,   installUI,   isFocusTraversable,   isNavigationKey,   isPopupVisible,   isTableCellEditor,   loadActionMap,   paint,   paintCurrentValue,   paintCurrentValueBackground,   rectangleForCurrentValue,   removeEditor,   repaintCurrentValue,   selectNextPossibleValue,   selectPreviousPossibleValue,   setPopupVisible,   toggleOpenClose,   unconfigureArrowButton,   unconfigureEditor,   uninstallComponents,   uninstallDefaults,   uninstallKeyboardActions,   uninstallListeners,   uninstallUI
Methods from javax.swing.plaf.ComboBoxUI:
isFocusTraversable,   isPopupVisible,   setPopupVisible
Methods from javax.swing.plaf.ComponentUI:
contains,   createUI,   getAccessibleChild,   getAccessibleChildrenCount,   getBaseline,   getBaselineResizeBehavior,   getMaximumSize,   getMinimumSize,   getPreferredSize,   installUI,   paint,   uninstallUI,   update
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.metal.MetalComboBoxUI Detail:
 public  void configureEditor() 
 protected JButton createArrowButton() 
 protected ComboBoxEditor createEditor() 
 protected LayoutManager createLayoutManager() 
 protected ComboPopup createPopup() 
 public PropertyChangeListener createPropertyChangeListener() 
 public static ComponentUI createUI(JComponent c) 
 protected  void editablePropertyChanged(PropertyChangeEvent e) 
Deprecated! As - of Java 2 platform v1.4.

    As of Java 2 platform v1.4 this method is no longer used. Do not call or override. All the functionality of this method is in the MetalPropertyChangeListener.
 public int getBaseline(JComponent c,
    int width,
    int height) 
    Returns the baseline.
 public Dimension getMinimumSize(JComponent c) 
 public  void layoutComboBox(Container parent,
    MetalComboBoxUI.MetalComboBoxLayoutManager manager) 
 public  void paint(Graphics g,
    JComponent c) 
 public  void paintCurrentValue(Graphics g,
    Rectangle bounds,
    boolean hasFocus) 
    If necessary paints the currently selected item.
 public  void paintCurrentValueBackground(Graphics g,
    Rectangle bounds,
    boolean hasFocus) 
    If necessary paints the background of the currently selected item.
 protected  void removeListeners() 
Deprecated! As - of Java 2 platform v1.4.

    As of Java 2 platform v1.4 this method is no longer used.
 public  void unconfigureEditor()