Home » openjdk-7 » javax » swing » plaf » basic » [javadoc | source]
javax.swing.plaf.basic
public class: BasicComboPopup [javadoc | source]
java.lang.Object
   java.awt.Component
      java.awt.Container
         javax.swing.JComponent
            javax.swing.JPopupMenu
               javax.swing.plaf.basic.BasicComboPopup

All Implemented Interfaces:
    ComboPopup, MenuElement, Accessible, HasGetTransferHandler, Serializable, MenuContainer, ImageObserver

Direct Known Subclasses:
    MetalComboPopup, SynthComboPopup

This is a basic implementation of the ComboPopup interface. This class represents the ui for the popup portion of the combo box.

All event handling is handled by listener classes created with the createxxxListener() methods and internal classes. You can change the behavior of this class by overriding the createxxxListener() methods and supplying your own event listeners or subclassing from the ones supplied in this class.

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:
protected class  BasicComboPopup.InvocationMouseHandler  A listener to be registered upon the combo box (not its popup menu) to handle mouse events that affect the state of the popup menu. The main purpose of this listener is to make the popup menu appear and disappear. This listener also helps with click-and-drag scenarios by setting the selection if the mouse was released over the list during a drag.

Warning: We recommend that you not create subclasses of this class. If you absolutely must create a subclass, be sure to invoke the superclass version of each method. 

protected class  BasicComboPopup.InvocationMouseMotionHandler  This listener watches for dragging and updates the current selection in the list if it is dragging over the list. 
public class  BasicComboPopup.InvocationKeyHandler  As of Java 2 platform v 1.4, this class is now obsolete and is only included for backwards API compatibility. Do not instantiate or subclass.

All the functionality of this class has been included in BasicComboBoxUI ActionMap/InputMap methods. 

protected class  BasicComboPopup.ListSelectionHandler  As of Java 2 platform v 1.4, this class is now obsolete, doesn't do anything, and is only included for backwards API compatibility. Do not call or override. 
public class  BasicComboPopup.ListDataHandler  As of 1.4, this class is now obsolete, doesn't do anything, and is only included for backwards API compatibility. Do not call or override.

The functionality has been migrated into ItemHandler

protected class  BasicComboPopup.ListMouseHandler  This listener hides the popup when the mouse is released in the list. 
protected class  BasicComboPopup.ListMouseMotionHandler  This listener changes the selected item as you move the mouse over the list. The selection change is not committed to the model, this is for user feedback only. 
protected class  BasicComboPopup.ItemHandler  This listener watches for changes to the selection in the combo box. 
protected class  BasicComboPopup.PropertyChangeHandler  This listener watches for bound properties that have changed in the combo box.

Subclasses which wish to listen to combo box property changes should call the superclass methods to ensure that the combo popup correctly handles property changes. 

Field Summary
static final  ListModel EmptyListModel     
protected  JComboBox comboBox     
protected  JList list    This protected field is implementation specific. Do not access directly or override. Use the accessor methods instead. 
protected  JScrollPane scroller    This protected field is implementation specific. Do not access directly or override. Use the create method instead 
protected  boolean valueIsAdjusting    As of Java 2 platform v1.4 this previously undocumented field is no longer used. 
protected  MouseMotionListener mouseMotionListener    This protected field is implementation specific. Do not access directly or override. Use the accessor or create methods instead. 
protected  MouseListener mouseListener    This protected field is implementation specific. Do not access directly or override. Use the accessor or create methods instead. 
protected  KeyListener keyListener    This protected field is implementation specific. Do not access directly or override. Use the accessor or create methods instead. 
protected  ListSelectionListener listSelectionListener    This protected field is implementation specific. Do not access directly or override. Use the create method instead. 
protected  MouseListener listMouseListener    This protected field is implementation specific. Do not access directly or override. Use the create method instead. 
protected  MouseMotionListener listMouseMotionListener    This protected field is implementation specific. Do not access directly or override. Use the create method instead 
protected  PropertyChangeListener propertyChangeListener    This protected field is implementation specific. Do not access directly or override. Use the create method instead 
protected  ListDataListener listDataListener    This protected field is implementation specific. Do not access directly or override. Use the create method instead 
protected  ItemListener itemListener    This protected field is implementation specific. Do not access directly or override. Use the create method instead 
protected  Timer autoscrollTimer    This protected field is implementation specific. Do not access directly or override. 
protected  boolean hasEntered     
protected  boolean isAutoScrolling     
protected  int scrollDirection     
protected static final  int SCROLL_UP     
protected static final  int SCROLL_DOWN     
Fields inherited from javax.swing.JPopupMenu:
popupPostionFixDisabled,  invoker,  popup,  frame
Fields inherited from javax.swing.JComponent:
DEBUG_GRAPHICS_LOADED,  ui,  listenerList,  paintingChild,  WHEN_FOCUSED,  WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,  WHEN_IN_FOCUSED_WINDOW,  UNDEFINED_CONDITION,  TOOL_TIP_TEXT_KEY,  focusController,  accessibleContext
Fields inherited from java.awt.Container:
layoutMgr,  containerListener,  listeningChildren,  listeningBoundsChildren,  descendantsCount,  preserveBackgroundColor,  INCLUDE_SELF,  SEARCH_HEAVYWEIGHTS,  modalComp,  modalAppContext
Fields inherited from java.awt.Component:
peer,  parent,  appContext,  x,  y,  width,  height,  foreground,  background,  font,  peerFont,  cursor,  locale,  bufferStrategy,  ignoreRepaint,  visible,  enabled,  dropTarget,  popups,  focusTraversalKeys,  LOCK,  minSize,  minSizeSet,  prefSize,  prefSizeSet,  maxSize,  maxSizeSet,  componentOrientation,  newEventsOnly,  componentListener,  focusListener,  hierarchyListener,  hierarchyBoundsListener,  keyListener,  mouseListener,  mouseMotionListener,  mouseWheelListener,  inputMethodListener,  windowClosingException,  actionListenerK,  adjustmentListenerK,  componentListenerK,  containerListenerK,  focusListenerK,  itemListenerK,  keyListenerK,  mouseListenerK,  mouseMotionListenerK,  mouseWheelListenerK,  textListenerK,  ownedWindowK,  windowListenerK,  inputMethodListenerK,  hierarchyListenerK,  hierarchyBoundsListenerK,  windowStateListenerK,  windowFocusListenerK,  eventMask,  isInc,  incRate,  TOP_ALIGNMENT,  CENTER_ALIGNMENT,  BOTTOM_ALIGNMENT,  LEFT_ALIGNMENT,  RIGHT_ALIGNMENT,  isPacked,  backgroundEraseDisabled,  eventCache,  accessibleContext
Constructor:
 public BasicComboPopup(JComboBox combo) 
Method from javax.swing.plaf.basic.BasicComboPopup Summary:
autoScrollDown,   autoScrollUp,   computePopupBounds,   configureList,   configurePopup,   configureScroller,   convertMouseEvent,   createItemListener,   createKeyListener,   createList,   createListDataListener,   createListMouseListener,   createListMouseMotionListener,   createListSelectionListener,   createMouseListener,   createMouseMotionListener,   createPropertyChangeListener,   createScroller,   delegateFocus,   firePopupMenuCanceled,   firePopupMenuWillBecomeInvisible,   firePopupMenuWillBecomeVisible,   getAccessibleContext,   getKeyListener,   getList,   getMouseListener,   getMouseMotionListener,   getPopupHeightForRowCount,   hide,   installComboBoxListeners,   installComboBoxModelListeners,   installKeyboardActions,   installListListeners,   isFocusTraversable,   show,   startAutoScrolling,   stopAutoScrolling,   togglePopup,   uninstallComboBoxModelListeners,   uninstallKeyboardActions,   uninstallListListeners,   uninstallingUI,   updateListBoxSelectionForEvent
Methods from javax.swing.JPopupMenu:
add,   add,   add,   addMenuKeyListener,   addPopupMenuListener,   addSeparator,   adjustPopupLocationToFitScreen,   alwaysOnTop,   canPopupOverlapTaskBar,   createActionChangeListener,   createActionComponent,   firePopupMenuCanceled,   firePopupMenuWillBecomeInvisible,   firePopupMenuWillBecomeVisible,   getAccessibleContext,   getComponent,   getComponentAtIndex,   getComponentIndex,   getDefaultLightWeightPopupEnabled,   getInvoker,   getLabel,   getMargin,   getMenuKeyListeners,   getPopupMenuListeners,   getRootPopupMenu,   getSelectionModel,   getSubElements,   getUI,   getUIClassID,   insert,   insert,   isBorderPainted,   isLightWeightPopupEnabled,   isPopupTrigger,   isSubPopupMenu,   isVisible,   menuSelectionChanged,   pack,   paintBorder,   paramString,   processFocusEvent,   processKeyEvent,   processKeyEvent,   processMouseEvent,   remove,   removeMenuKeyListener,   removePopupMenuListener,   setBorderPainted,   setDefaultLightWeightPopupEnabled,   setInvoker,   setLabel,   setLightWeightPopupEnabled,   setLocation,   setPopupSize,   setPopupSize,   setSelected,   setSelectionModel,   setUI,   setVisible,   show,   updateUI
Methods from javax.swing.JComponent:
_paintImmediately,   addAncestorListener,   addNotify,   addVetoableChangeListener,   alwaysOnTop,   checkIfChildObscuredBySibling,   clientPropertyChanged,   compWriteObjectNotify,   componentInputMapChanged,   computeVisibleRect,   computeVisibleRect,   contains,   createToolTip,   disable,   dndDone,   dropLocationForPoint,   enable,   firePropertyChange,   firePropertyChange,   firePropertyChange,   fireVetoableChange,   getAccessibleContext,   getActionForKeyStroke,   getActionMap,   getActionMap,   getAlignmentX,   getAlignmentY,   getAncestorListeners,   getAutoscrolls,   getBaseline,   getBaselineResizeBehavior,   getBorder,   getBounds,   getClientProperty,   getComponentGraphics,   getComponentPopupMenu,   getConditionForKeyStroke,   getCreatedDoubleBuffer,   getDebugGraphicsOptions,   getDefaultLocale,   getFontMetrics,   getGraphics,   getGraphicsInvoked,   getHeight,   getInheritsPopupMenu,   getInputMap,   getInputMap,   getInputMap,   getInputVerifier,   getInsets,   getInsets,   getListeners,   getLocation,   getManagingFocusBackwardTraversalKeys,   getManagingFocusForwardTraversalKeys,   getMaximumSize,   getMinimumSize,   getNextFocusableComponent,   getPopupLocation,   getPreferredSize,   getRegisteredKeyStrokes,   getRootPane,   getSize,   getToolTipLocation,   getToolTipText,   getToolTipText,   getTopLevelAncestor,   getTransferHandler,   getUIClassID,   getVerifyInputWhenFocusTarget,   getVetoableChangeListeners,   getVisibleRect,   getWidth,   getWriteObjCounter,   getX,   getY,   grabFocus,   isDoubleBuffered,   isLightweightComponent,   isManagingFocus,   isOpaque,   isOptimizedDrawingEnabled,   isPainting,   isPaintingForPrint,   isPaintingOrigin,   isPaintingTile,   isRequestFocusEnabled,   isValidateRoot,   paint,   paintBorder,   paintChildren,   paintComponent,   paintForceDoubleBuffered,   paintImmediately,   paintImmediately,   paintToOffscreen,   paramString,   print,   printAll,   printBorder,   printChildren,   printComponent,   processComponentKeyEvent,   processKeyBinding,   processKeyBindings,   processKeyBindingsForAllComponents,   processKeyEvent,   processMouseEvent,   processMouseMotionEvent,   putClientProperty,   rectangleIsObscured,   registerKeyboardAction,   registerKeyboardAction,   removeAncestorListener,   removeNotify,   removeVetoableChangeListener,   repaint,   repaint,   requestDefaultFocus,   requestFocus,   requestFocus,   requestFocusInWindow,   requestFocusInWindow,   resetKeyboardActions,   reshape,   revalidate,   safelyGetGraphics,   safelyGetGraphics,   scrollRectToVisible,   setActionMap,   setAlignmentX,   setAlignmentY,   setAutoscrolls,   setBackground,   setBorder,   setComponentPopupMenu,   setCreatedDoubleBuffer,   setDebugGraphicsOptions,   setDefaultLocale,   setDoubleBuffered,   setDropLocation,   setEnabled,   setFocusTraversalKeys,   setFont,   setForeground,   setInheritsPopupMenu,   setInputMap,   setInputVerifier,   setMaximumSize,   setMinimumSize,   setNextFocusableComponent,   setOpaque,   setPaintingChild,   setPreferredSize,   setRequestFocusEnabled,   setToolTipText,   setTransferHandler,   setUI,   setUIProperty,   setVerifyInputWhenFocusTarget,   setVisible,   setWriteObjCounter,   shouldDebugGraphics,   superProcessMouseMotionEvent,   unregisterKeyboardAction,   update,   updateUI
Methods from java.awt.Container:
add,   add,   add,   add,   add,   addContainerListener,   addImpl,   addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   adjustDecendantsOnParent,   adjustDescendants,   adjustListeningChildren,   applyComponentOrientation,   areFocusTraversalKeysSet,   canContainFocusOwner,   checkGD,   clearCurrentFocusCycleRootOnHide,   clearMostRecentFocusOwnerOnHide,   containsFocus,   countComponents,   countHierarchyMembers,   createChildHierarchyEvents,   createHierarchyEvents,   decreaseComponentCount,   deliverEvent,   dispatchEventImpl,   dispatchEventToSelf,   doLayout,   eventEnabled,   findComponentAt,   findComponentAt,   findComponentAt,   findComponentAtImpl,   getAccessibleAt,   getAccessibleChild,   getAccessibleChildrenCount,   getAlignmentX,   getAlignmentY,   getComponent,   getComponentAt,   getComponentAt,   getComponentCount,   getComponentZOrder,   getComponents,   getComponentsSync,   getComponents_NoClientCode,   getContainerListeners,   getDropTargetEventTarget,   getFocusTraversalKeys,   getFocusTraversalPolicy,   getHeavyweightContainer,   getInsets,   getLayout,   getListeners,   getMaximumSize,   getMinimumSize,   getMouseEventTarget,   getMousePosition,   getOpaqueShape,   getPreferredSize,   getTraversalRoot,   hasHeavyweightDescendants,   hasLightweightDescendants,   increaseComponentCount,   initializeFocusTraversalKeys,   insets,   invalidate,   invalidateParent,   invalidateTree,   isAncestorOf,   isFocusCycleRoot,   isFocusCycleRoot,   isFocusTraversalPolicyProvider,   isFocusTraversalPolicySet,   isRecursivelyVisibleUpToHeavyweightContainer,   isSameOrAncestorOf,   isValidateRoot,   layout,   lightweightPaint,   lightweightPrint,   list,   list,   locate,   minimumSize,   mixOnHiding,   mixOnReshaping,   mixOnShowing,   mixOnValidating,   mixOnZOrderChanging,   numListening,   paint,   paintComponents,   paintHeavyweightComponents,   paramString,   postProcessKeyEvent,   postsOldMouseEvents,   preProcessKeyEvent,   preferredSize,   print,   printComponents,   printHeavyweightComponents,   processContainerEvent,   processEvent,   proxyEnableEvents,   recursiveApplyCurrentShape,   recursiveApplyCurrentShape,   recursiveApplyCurrentShape,   recursiveSubtractAndApplyShape,   recursiveSubtractAndApplyShape,   recursiveSubtractAndApplyShape,   remove,   remove,   removeAll,   removeContainerListener,   removeNotify,   setComponentZOrder,   setFocusCycleRoot,   setFocusTraversalKeys,   setFocusTraversalPolicy,   setFocusTraversalPolicyProvider,   setFont,   setLayout,   transferFocusDownCycle,   update,   updateGraphicsData,   validate,   validateTree,   validateUnconditionally
Methods from java.awt.Component:
action,   add,   addComponentListener,   addFocusListener,   addHierarchyBoundsListener,   addHierarchyListener,   addInputMethodListener,   addKeyListener,   addMouseListener,   addMouseMotionListener,   addMouseWheelListener,   addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   adjustListeningChildrenOnParent,   applyComponentOrientation,   applyCompoundShape,   applyCurrentShape,   areBoundsValid,   areFocusTraversalKeysSet,   areInputMethodsEnabled,   autoProcessMouseWheel,   bounds,   canBeFocusOwner,   canBeFocusOwnerRecursively,   checkGD,   checkImage,   checkImage,   checkTreeLock,   checkWindowClosingException,   clearCurrentFocusCycleRootOnHide,   clearMostRecentFocusOwnerOnHide,   coalesceEvents,   constructComponentName,   contains,   contains,   containsFocus,   countHierarchyMembers,   createBufferStrategy,   createBufferStrategy,   createHierarchyEvents,   createImage,   createImage,   createVolatileImage,   createVolatileImage,   deliverEvent,   disable,   disableEvents,   dispatchEvent,   dispatchEventImpl,   dispatchMouseWheelToAncestor,   doLayout,   enable,   enable,   enableEvents,   enableInputMethods,   eventEnabled,   eventTypeEnabled,   findUnderMouseInWindow,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   getAccessControlContext,   getAccessibleContext,   getAccessibleIndexInParent,   getAccessibleStateSet,   getAlignmentX,   getAlignmentY,   getBackBuffer,   getBackground,   getBaseline,   getBaselineResizeBehavior,   getBounds,   getBounds,   getBoundsOp,   getBufferStrategy,   getColorModel,   getComponentAt,   getComponentAt,   getComponentListeners,   getComponentOrientation,   getContainer,   getContainingWindow,   getCursor,   getCursor_NoClientCode,   getDropTarget,   getFocusCycleRootAncestor,   getFocusListeners,   getFocusTraversalKeys,   getFocusTraversalKeysEnabled,   getFocusTraversalKeys_NoIDCheck,   getFont,   getFontMetrics,   getFont_NoClientCode,   getForeground,   getGraphics,   getGraphicsConfiguration,   getGraphicsConfiguration_NoClientCode,   getGraphics_NoClientCode,   getHWPeerAboveMe,   getHeight,   getHierarchyBoundsListeners,   getHierarchyListeners,   getIgnoreRepaint,   getInputContext,   getInputMethodListeners,   getInputMethodRequests,   getKeyListeners,   getListeners,   getLocale,   getLocation,   getLocation,   getLocationOnScreen,   getLocationOnScreen_NoTreeLock,   getLocationOnWindow,   getMaximumSize,   getMinimumSize,   getMouseListeners,   getMouseMotionListeners,   getMousePosition,   getMouseWheelListeners,   getName,   getNativeContainer,   getNextFocusCandidate,   getNormalShape,   getObjectLock,   getOpaqueShape,   getParent,   getParent_NoClientCode,   getPeer,   getPreferredSize,   getPropertyChangeListeners,   getPropertyChangeListeners,   getSiblingIndexAbove,   getSiblingIndexBelow,   getSize,   getSize,   getToolkit,   getToolkitImpl,   getTraversalRoot,   getTreeLock,   getWidth,   getX,   getY,   gotFocus,   handleEvent,   hasFocus,   hide,   imageUpdate,   initializeFocusTraversalKeys,   inside,   invalidate,   invalidateIfValid,   invalidateParent,   isAutoFocusTransferOnDisposal,   isBackgroundSet,   isCoalescingEnabled,   isCursorSet,   isDisplayable,   isDoubleBuffered,   isEnabled,   isEnabledImpl,   isFocusCycleRoot,   isFocusOwner,   isFocusTraversable,   isFocusTraversableOverridden,   isFocusable,   isFontSet,   isForegroundSet,   isInstanceOf,   isLightweight,   isMaximumSizeSet,   isMinimumSizeSet,   isMixingNeeded,   isNonOpaqueForMixing,   isOpaque,   isPreferredSizeSet,   isRecursivelyVisible,   isSameOrAncestorOf,   isShowing,   isValid,   isVisible,   isVisible_NoClientCode,   keyDown,   keyUp,   layout,   lightweightPaint,   lightweightPrint,   list,   list,   list,   list,   list,   locate,   location,   lostFocus,   minimumSize,   mixOnHiding,   mixOnReshaping,   mixOnShowing,   mixOnValidating,   mixOnZOrderChanging,   mouseDown,   mouseDrag,   mouseEnter,   mouseExit,   mouseMove,   mouseUp,   move,   nextFocus,   numListening,   paint,   paintAll,   paintHeavyweightComponents,   paramString,   pointRelativeToComponent,   postEvent,   postsOldMouseEvents,   preferredSize,   prepareImage,   prepareImage,   print,   printAll,   printHeavyweightComponents,   processComponentEvent,   processEvent,   processFocusEvent,   processHierarchyBoundsEvent,   processHierarchyEvent,   processInputMethodEvent,   processKeyEvent,   processMouseEvent,   processMouseMotionEvent,   processMouseWheelEvent,   relocateComponent,   remove,   removeComponentListener,   removeFocusListener,   removeHierarchyBoundsListener,   removeHierarchyListener,   removeInputMethodListener,   removeKeyListener,   removeMouseListener,   removeMouseMotionListener,   removeMouseWheelListener,   removeNotify,   removePropertyChangeListener,   removePropertyChangeListener,   repaint,   repaint,   repaint,   repaint,   requestFocus,   requestFocus,   requestFocus,   requestFocus,   requestFocusHelper,   requestFocusHelper,   requestFocusInWindow,   requestFocusInWindow,   requestFocusInWindow,   requestFocusInWindow,   reshape,   resize,   resize,   revalidate,   setAutoFocusTransferOnDisposal,   setBackground,   setBounds,   setBounds,   setBoundsOp,   setComponentOrientation,   setCursor,   setDropTarget,   setEnabled,   setFocusTraversalKeys,   setFocusTraversalKeysEnabled,   setFocusTraversalKeys_NoIDCheck,   setFocusable,   setFont,   setForeground,   setGraphicsConfiguration,   setIgnoreRepaint,   setLocale,   setLocation,   setLocation,   setMaximumSize,   setMinimumSize,   setName,   setPreferredSize,   setRequestFocusController,   setSize,   setSize,   setVisible,   show,   show,   size,   subtractAndApplyShape,   subtractAndApplyShapeBelowMe,   toString,   transferFocus,   transferFocus,   transferFocusBackward,   transferFocusBackward,   transferFocusUpCycle,   update,   updateCursorImmediately,   updateGraphicsData,   updateZOrder,   validate
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.basic.BasicComboPopup Detail:
 protected  void autoScrollDown() 
    This protected method is implementation specific and should be private. do not call or override.
 protected  void autoScrollUp() 
    This protected method is implementation specific and should be private. do not call or override.
 protected Rectangle computePopupBounds(int px,
    int py,
    int pw,
    int ph) 
    Calculate the placement and size of the popup portion of the combo box based on the combo box location and the enclosing screen bounds. If no transformations are required, then the returned rectangle will have the same values as the parameters.
 protected  void configureList() 
    Configures the list which is used to hold the combo box items in the popup. This method is called when the UI class is created.
 protected  void configurePopup() 
    Configures the popup portion of the combo box. This method is called when the UI class is created.
 protected  void configureScroller() 
    Configures the scrollable portion which holds the list within the combo box popup. This method is called when the UI class is created.
 protected MouseEvent convertMouseEvent(MouseEvent e) 
 protected ItemListener createItemListener() 
    Creates an ItemListener which will be added to the combo box. If this method returns null then it will not be added to the combo box.

    Subclasses may override this method to return instances of their own ItemEvent handlers.

 protected KeyListener createKeyListener() 
    Creates the key listener that will be added to the combo box. If this method returns null then it will not be added to the combo box.
 protected JList createList() 
    Creates the JList used in the popup to display the items in the combo box model. This method is called when the UI class is created.
 protected ListDataListener createListDataListener() 
    Creates a list data listener which will be added to the ComboBoxModel. If this method returns null then it will not be added to the combo box model.
 protected MouseListener createListMouseListener() 
    Creates a mouse listener that watches for mouse events in the popup's list. If this method returns null then it will not be added to the combo box.
 protected MouseMotionListener createListMouseMotionListener() 
    Creates a mouse motion listener that watches for mouse motion events in the popup's list. If this method returns null then it will not be added to the combo box.
 protected ListSelectionListener createListSelectionListener() 
    Creates a list selection listener that watches for selection changes in the popup's list. If this method returns null then it will not be added to the popup list.
 protected MouseListener createMouseListener() 
    Creates a listener that will watch for mouse-press and release events on the combo box. Warning: When overriding this method, make sure to maintain the existing behavior.
 protected MouseMotionListener createMouseMotionListener() 
    Creates the mouse motion listener which will be added to the combo box. Warning: When overriding this method, make sure to maintain the existing behavior.
 protected PropertyChangeListener createPropertyChangeListener() 
    Creates a PropertyChangeListener which will be added to the combo box. If this method returns null then it will not be added to the combo box.
 protected JScrollPane createScroller() 
    Creates the scroll pane which houses the scrollable list.
 protected  void delegateFocus(MouseEvent e) 
    This is is a utility method that helps event handlers figure out where to send the focus when the popup is brought up. The standard implementation delegates the focus to the editor (if the combo box is editable) or to the JComboBox if it is not editable.
 protected  void firePopupMenuCanceled() 
 protected  void firePopupMenuWillBecomeInvisible() 
 protected  void firePopupMenuWillBecomeVisible() 
 public AccessibleContext getAccessibleContext() 
    Gets the AccessibleContext associated with this BasicComboPopup. The AccessibleContext will have its parent set to the ComboBox.
 public KeyListener getKeyListener() 
    Implementation of ComboPopup.getKeyListener().
 public JList getList() 
    Implementation of ComboPopup.getList().
 public MouseListener getMouseListener() 
    Implementation of ComboPopup.getMouseListener().
 public MouseMotionListener getMouseMotionListener() 
    Implementation of ComboPopup.getMouseMotionListener().
 protected int getPopupHeightForRowCount(int maxRowCount) 
    Retrieves the height of the popup based on the current ListCellRenderer and the maximum row count.
 public  void hide() 
    Implementation of ComboPopup.hide().
 protected  void installComboBoxListeners() 
    This method adds the necessary listeners to the JComboBox.
 protected  void installComboBoxModelListeners(ComboBoxModel model) 
    Installs the listeners on the combo box model. Any listeners installed on the combo box model should be removed in uninstallComboBoxModelListeners.
 protected  void installKeyboardActions() 
 protected  void installListListeners() 
    Adds the listeners to the list control.
 public boolean isFocusTraversable() 
    Overridden to unconditionally return false.
 public  void show() 
    Implementation of ComboPopup.show().
 protected  void startAutoScrolling(int direction) 
    This protected method is implementation specific and should be private. do not call or override.
 protected  void stopAutoScrolling() 
    This protected method is implementation specific and should be private. do not call or override.
 protected  void togglePopup() 
    Makes the popup visible if it is hidden and makes it hidden if it is visible.
 protected  void uninstallComboBoxModelListeners(ComboBoxModel model) 
    Removes the listeners from the combo box model
 protected  void uninstallKeyboardActions() 
  void uninstallListListeners() 
 public  void uninstallingUI() 
    Called when the UI is uninstalling. Since this popup isn't in the component tree, it won't get it's uninstallUI() called. It removes the listeners that were added in addComboBoxListeners().
 protected  void updateListBoxSelectionForEvent(MouseEvent anEvent,
    boolean shouldScroll) 
    A utility method used by the event listeners. Given a mouse event, it changes the list selection to the list item below the mouse.