Package com.explodingpixels.widgets.plaf
Class EPComboPopup
- java.lang.Object
-
- com.explodingpixels.widgets.plaf.EPComboPopup
-
- All Implemented Interfaces:
javax.swing.plaf.basic.ComboPopup
public class EPComboPopup extends java.lang.Object implements javax.swing.plaf.basic.ComboPopupAn implementation ofComboPopupthat uses actualJMenuItems rather than aJListto display it's contents.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEPComboPopup.ComboBoxVerticalCenterProvider
-
Constructor Summary
Constructors Constructor Description EPComboPopup(javax.swing.JComboBox comboBox)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.event.KeyListenergetKeyListener()javax.swing.JListgetList()This method is not implemented and would throw anUnsupportedOperationExceptionifBasicComboBoxUIdidn't call it.java.awt.event.MouseListenergetMouseListener()java.awt.event.MouseMotionListenergetMouseMotionListener()voidhide()booleanisVisible()voidsetFont(java.awt.Font font)voidsetVerticalComponentCenterProvider(EPComboPopup.ComboBoxVerticalCenterProvider comboBoxVerticalCenterProvider)voidshow()voiduninstallingUI()
-
-
-
Method Detail
-
setFont
public void setFont(java.awt.Font font)
-
setVerticalComponentCenterProvider
public void setVerticalComponentCenterProvider(EPComboPopup.ComboBoxVerticalCenterProvider comboBoxVerticalCenterProvider)
-
show
public void show()
- Specified by:
showin interfacejavax.swing.plaf.basic.ComboPopup
-
hide
public void hide()
- Specified by:
hidein interfacejavax.swing.plaf.basic.ComboPopup
-
isVisible
public boolean isVisible()
- Specified by:
isVisiblein interfacejavax.swing.plaf.basic.ComboPopup
-
getList
public javax.swing.JList getList()
This method is not implemented and would throw anUnsupportedOperationExceptionifBasicComboBoxUIdidn't call it. Thus, this method should not be used, as it always returns null.- Specified by:
getListin interfacejavax.swing.plaf.basic.ComboPopup- Returns:
- null.
-
getMouseListener
public java.awt.event.MouseListener getMouseListener()
- Specified by:
getMouseListenerin interfacejavax.swing.plaf.basic.ComboPopup
-
getMouseMotionListener
public java.awt.event.MouseMotionListener getMouseMotionListener()
- Specified by:
getMouseMotionListenerin interfacejavax.swing.plaf.basic.ComboPopup
-
getKeyListener
public java.awt.event.KeyListener getKeyListener()
- Specified by:
getKeyListenerin interfacejavax.swing.plaf.basic.ComboPopup
-
uninstallingUI
public void uninstallingUI()
- Specified by:
uninstallingUIin interfacejavax.swing.plaf.basic.ComboPopup
-
-