public class EPComboPopup extends Object implements ComboPopup
ComboPopup that uses actual JMenuItems rather than a
JList to display it's contents.| Modifier and Type | Class and Description |
|---|---|
static interface |
EPComboPopup.ComboBoxVerticalCenterProvider |
| Constructor and Description |
|---|
EPComboPopup(JComboBox comboBox) |
| Modifier and Type | Method and Description |
|---|---|
KeyListener |
getKeyListener() |
JList |
getList()
This method is not implemented and would throw an
UnsupportedOperationException if
BasicComboBoxUI didn't call it. |
MouseListener |
getMouseListener() |
MouseMotionListener |
getMouseMotionListener() |
void |
hide() |
boolean |
isVisible() |
void |
setFont(Font font) |
void |
setVerticalComponentCenterProvider(EPComboPopup.ComboBoxVerticalCenterProvider comboBoxVerticalCenterProvider) |
void |
show() |
void |
uninstallingUI() |
public EPComboPopup(JComboBox comboBox)
public void setFont(Font font)
public void setVerticalComponentCenterProvider(EPComboPopup.ComboBoxVerticalCenterProvider comboBoxVerticalCenterProvider)
public void show()
show in interface ComboPopuppublic void hide()
hide in interface ComboPopuppublic boolean isVisible()
isVisible in interface ComboPopuppublic JList getList()
UnsupportedOperationException if
BasicComboBoxUI didn't call it. Thus, this method should not
be used, as it always returns null.getList in interface ComboPopuppublic MouseListener getMouseListener()
getMouseListener in interface ComboPopuppublic MouseMotionListener getMouseMotionListener()
getMouseMotionListener in interface ComboPopuppublic KeyListener getKeyListener()
getKeyListener in interface ComboPopuppublic void uninstallingUI()
uninstallingUI in interface ComboPopup