Package com.explodingpixels.widgets.plaf
Class EPComboPopup
java.lang.Object
com.explodingpixels.widgets.plaf.EPComboPopup
- All Implemented Interfaces:
ComboPopup
An implementation of
ComboPopup
that uses actual JMenuItem
s rather than a
JList
to display it's contents.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetList()
This method is not implemented and would throw anUnsupportedOperationException
ifBasicComboBoxUI
didn't call it.void
hide()
boolean
void
void
setVerticalComponentCenterProvider
(EPComboPopup.ComboBoxVerticalCenterProvider comboBoxVerticalCenterProvider) void
show()
void
-
Constructor Details
-
EPComboPopup
-
-
Method Details
-
setFont
-
setVerticalComponentCenterProvider
public void setVerticalComponentCenterProvider(EPComboPopup.ComboBoxVerticalCenterProvider comboBoxVerticalCenterProvider) -
show
public void show()- Specified by:
show
in interfaceComboPopup
-
hide
public void hide()- Specified by:
hide
in interfaceComboPopup
-
isVisible
public boolean isVisible()- Specified by:
isVisible
in interfaceComboPopup
-
getList
This method is not implemented and would throw anUnsupportedOperationException
ifBasicComboBoxUI
didn't call it. Thus, this method should not be used, as it always returns null.- Specified by:
getList
in interfaceComboPopup
- Returns:
- null.
-
getMouseListener
- Specified by:
getMouseListener
in interfaceComboPopup
-
getMouseMotionListener
- Specified by:
getMouseMotionListener
in interfaceComboPopup
-
getKeyListener
- Specified by:
getKeyListener
in interfaceComboPopup
-
uninstallingUI
public void uninstallingUI()- Specified by:
uninstallingUI
in interfaceComboPopup
-