APIdia Launch Partner
Top Description Fields Constructors Methods
javax.swing.plaf.synth

pack-priv Class SynthComboPopup

extends BasicComboPopup
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
javax.swing.*, javax.swing.plaf.ComboBoxUI, javax.swing.plaf.basic.BasicComboPopup, java.awt.*

Synth's ComboPopup.
Author
Scott Violet

Field Summary

Inherited from javax.swing.plaf.basic.BasicComboPopup:
autoscrollTimercomboBoxhasEnteredisAutoScrollingitemListenerkeyListenerlistlistDataListenerlistMouseListenerlistMouseMotionListenerlistSelectionListenermouseListenermouseMotionListenerpropertyChangeListenerSCROLL_DOWNSCROLL_UPscrollDirectionscrollervalueIsAdjusting

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Rectangle
computePopupBounds(int px, int py, int pw, int ph)

Overrides javax.swing.plaf.basic.BasicComboPopup.computePopupBounds.

Calculate the placement and size of the popup portion of the combo box based on the combo box location and the enclosing screen bounds.

protected void
configureList()

Overrides javax.swing.plaf.basic.BasicComboPopup.configureList.

Configures the list which is used to hold the combo box items in the popup.

Inherited from javax.swing.plaf.basic.BasicComboPopup:
autoScrollDownautoScrollUpconfigurePopupconfigureScrollerconvertMouseEventcreateItemListenercreateKeyListenercreateListcreateListDataListenercreateListMouseListenercreateListMouseMotionListenercreateListSelectionListenercreateMouseListenercreateMouseMotionListenercreatePropertyChangeListenercreateScrollerdelegateFocusfirePopupMenuCanceledfirePopupMenuWillBecomeInvisiblefirePopupMenuWillBecomeVisiblegetAccessibleContextgetKeyListenergetListgetMouseListenergetMouseMotionListenergetPopupHeightForRowCounthideinstallComboBoxListenersinstallComboBoxModelListenersinstallKeyboardActionsinstallListListenersisFocusTraversableshowstartAutoScrollingstopAutoScrollingtogglePopupuninstallComboBoxModelListenersuninstallingUIuninstallKeyboardActionsupdateListBoxSelectionForEvent

Constructor Detail

SynthComboPopupback to summary
public SynthComboPopup(JComboBox<Object> combo)

Method Detail

computePopupBoundsback to summary
protected Rectangle computePopupBounds(int px, int py, int pw, int ph)

Overrides javax.swing.plaf.basic.BasicComboPopup.computePopupBounds.

Doc from javax.swing.plaf.basic.BasicComboPopup.computePopupBounds.

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. Overridden to take into account any popup insets specified in SynthComboBoxUI

Annotations
@Override
configureListback to summary
protected void configureList()

Overrides javax.swing.plaf.basic.BasicComboPopup.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.

Annotations
@Override
See Also
createList