当前页面:
在线文档首页 >
JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档
Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Class MetalComboBoxUI.MetalComboPopup - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档
javax.swing.plaf.metal
Class MetalComboBoxUI.MetalComboPopup
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPopupMenu
|
+--javax.swing.plaf.basic.BasicComboPopup
|
+--javax.swing.plaf.metal.MetalComboBoxUI.MetalComboPopup
- Enclosing class:
- MetalComboBoxUI
- public class MetalComboBoxUI.MetalComboPopup
- extends BasicComboPopup
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 .
- See Also:
- Serialized Form
Fields inherited from class javax.swing.plaf.basic.BasicComboPopup |
autoscrollTimer,
comboBox,
hasEntered,
isAutoScrolling,
itemListener,
keyListener,
list,
listDataListener,
listMouseListener,
listMouseMotionListener,
listSelectionListener,
mouseListener,
mouseMotionListener,
propertyChangeListener,
SCROLL_DOWN,
SCROLL_UP,
scrollDirection,
scroller,
valueIsAdjusting |
Method Summary |
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. |
Methods inherited from class javax.swing.plaf.basic.BasicComboPopup |
autoScrollDown,
autoScrollUp,
computePopupBounds,
configureList,
configurePopup,
configureScroller,
convertMouseEvent,
createItemListener,
createKeyListener,
createList,
createListDataListener,
createListMouseListener,
createListMouseMotionListener,
createListSelectionListener,
createMouseListener,
createMouseMotionListener,
createPropertyChangeListener,
createScroller,
getKeyListener,
getList,
getMouseListener,
getMouseMotionListener,
getPopupHeightForRowCount,
hide,
installComboBoxListeners,
installComboBoxModelListeners,
installKeyboardActions,
installListListeners,
isFocusTraversable,
show,
startAutoScrolling,
stopAutoScrolling,
togglePopup,
uninstallComboBoxModelListeners,
uninstallingUI,
uninstallKeyboardActions,
updateListBoxSelectionForEvent |
Methods inherited from class javax.swing.JPopupMenu |
add,
add,
add,
addPopupMenuListener,
addSeparator,
createActionChangeListener,
firePopupMenuCanceled,
firePopupMenuWillBecomeInvisible,
firePopupMenuWillBecomeVisible,
getAccessibleContext,
getComponent,
getComponentAtIndex,
getComponentIndex,
getDefaultLightWeightPopupEnabled,
getInvoker,
getLabel,
getMargin,
getSelectionModel,
getSubElements,
getUI,
getUIClassID,
insert,
insert,
isBorderPainted,
isLightWeightPopupEnabled,
isVisible,
menuSelectionChanged,
pack,
paintBorder,
paramString,
processKeyEvent,
processMouseEvent,
remove,
remove,
removePopupMenuListener,
setBorderPainted,
setDefaultLightWeightPopupEnabled,
setInvoker,
setLabel,
setLightWeightPopupEnabled,
setLocation,
setPopupSize,
setPopupSize,
setSelected,
setSelectionModel,
setUI,
setVisible,
show,
updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener,
addNotify,
addPropertyChangeListener,
addPropertyChangeListener,
addVetoableChangeListener,
computeVisibleRect,
contains,
createToolTip,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
fireVetoableChange,
getActionForKeyStroke,
getAlignmentX,
getAlignmentY,
getAutoscrolls,
getBorder,
getBounds,
getClientProperty,
getComponentGraphics,
getConditionForKeyStroke,
getDebugGraphicsOptions,
getGraphics,
getHeight,
getInsets,
getInsets,
getLocation,
getMaximumSize,
getMinimumSize,
getNextFocusableComponent,
getPreferredSize,
getRegisteredKeyStrokes,
getRootPane,
getSize,
getToolTipLocation,
getToolTipText,
getToolTipText,
getTopLevelAncestor,
getVisibleRect,
getWidth,
getX,
getY,
grabFocus,
hasFocus,
isDoubleBuffered,
isFocusCycleRoot,
isLightweightComponent,
isManagingFocus,
isOpaque,
isOptimizedDrawingEnabled,
isPaintingTile,
isRequestFocusEnabled,
isValidateRoot,
paint,
paintChildren,
paintComponent,
paintImmediately,
paintImmediately,
processComponentKeyEvent,
processFocusEvent,
processKeyEvent,
processMouseMotionEvent,
putClientProperty,
registerKeyboardAction,
registerKeyboardAction,
removeAncestorListener,
removeNotify,
removePropertyChangeListener,
removePropertyChangeListener,
removeVetoableChangeListener,
repaint,
repaint,
requestDefaultFocus,
requestFocus,
resetKeyboardActions,
reshape,
revalidate,
scrollRectToVisible,
setAlignmentX,
setAlignmentY,
setAutoscrolls,
setBackground,
setBorder,
setDebugGraphicsOptions,
setDoubleBuffered,
setEnabled,
setFont,
setForeground,
setMaximumSize,
setMinimumSize,
setNextFocusableComponent,
setOpaque,
setPreferredSize,
setRequestFocusEnabled,
setToolTipText,
setUI,
unregisterKeyboardAction,
update |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
removeAll,
removeContainerListener,
setCursor,
setLayout,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
getBackground,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getToolkit,
getTreeLock,
gotFocus,
handleEvent,
imageUpdate,
inside,
isDisplayable,
isEnabled,
isLightweight,
isShowing,
isValid,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processInputMethodEvent,
processMouseEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
repaint,
repaint,
repaint,
resize,
resize,
setBounds,
setBounds,
setComponentOrientation,
setDropTarget,
setLocale,
setLocation,
setName,
setSize,
setSize,
show,
size,
toString,
transferFocus |
MetalComboBoxUI.MetalComboPopup
public MetalComboBoxUI.MetalComboPopup(JComboBox cBox)
delegateFocus
public void delegateFocus(MouseEvent e)
- Description copied from class: BasicComboPopup
- 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.
- Overrides:
- delegateFocus in class BasicComboPopup
Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.