|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.goatherd.swing.date.JDatePopup
public class JDatePopup
Based upon PSwing DatePopup class.
Things changed from PSwing class:
- Modified listener implementation
using adapters. - Localised the calendar (using Java 1.6 method if present
local property else) - Fixed a bug with displaying sundays as first
DAY_OF_WEEK
JComboBox,
| Constructor Summary | |
|---|---|
JDatePopup(JDateComboBox comboBox)
Do not call directly. Used only by ComboBoxUI. |
|
| Method Summary | |
|---|---|
KeyListener |
getKeyListener()
|
JList |
getList()
|
MouseListener |
getMouseListener()
|
MouseMotionListener |
getMouseMotionListener()
Should be null |
void |
hide()
|
boolean |
isVisible()
|
void |
popupMenuCanceled(PopupMenuEvent e)
Variables hideNext and mouseInside are used to hide the popupMenu by clicking the mouse in the JComboBox |
void |
popupMenuWillBecomeInvisible(PopupMenuEvent e)
|
void |
popupMenuWillBecomeVisible(PopupMenuEvent e)
|
void |
show()
|
void |
uninstallingUI()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDatePopup(JDateComboBox comboBox)
comboBox - | Method Detail |
|---|
public KeyListener getKeyListener()
getKeyListener in interface ComboPopuppublic JList getList()
getList in interface ComboPopuppublic MouseListener getMouseListener()
getMouseListener in interface ComboPopuppublic MouseMotionListener getMouseMotionListener()
null
getMouseMotionListener in interface ComboPopuppublic void hide()
hide in interface ComboPopuppublic boolean isVisible()
isVisible in interface ComboPopuppublic void popupMenuCanceled(PopupMenuEvent e)
popupMenuCanceled in interface PopupMenuListenerpublic void popupMenuWillBecomeInvisible(PopupMenuEvent e)
popupMenuWillBecomeInvisible in interface PopupMenuListenerpublic void popupMenuWillBecomeVisible(PopupMenuEvent e)
popupMenuWillBecomeVisible in interface PopupMenuListenerpublic void show()
show in interface ComboPopuppublic void uninstallingUI()
uninstallingUI in interface ComboPopup
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||