com.explodingpixels.widgets.plaf
public class EPComboPopup extends Object implements ComboPopup
ComboPopup
that uses actual JMenuItem
s 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 ComboPopup
public void hide()
hide
in interface ComboPopup
public boolean isVisible()
isVisible
in interface ComboPopup
public JList getList()
UnsupportedOperationException
if
BasicComboBoxUI
didn't call it. Thus, this method should not
be used, as it always returns null.getList
in interface ComboPopup
public MouseListener getMouseListener()
getMouseListener
in interface ComboPopup
public MouseMotionListener getMouseMotionListener()
getMouseMotionListener
in interface ComboPopup
public KeyListener getKeyListener()
getKeyListener
in interface ComboPopup
public void uninstallingUI()
uninstallingUI
in interface ComboPopup