com.pallas.swing.date
Class DateComboBox.DatePopup
java.lang.Object
|
+--com.pallas.swing.date.DateComboBox.DatePopup
- All Implemented Interfaces:
- javax.swing.plaf.basic.ComboPopup, java.util.EventListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, javax.swing.event.PopupMenuListener
- Enclosing class:
- DateComboBox
- class DateComboBox.DatePopup
- extends java.lang.Object
- implements javax.swing.plaf.basic.ComboPopup, java.awt.event.MouseMotionListener, java.awt.event.MouseListener, java.awt.event.KeyListener, javax.swing.event.PopupMenuListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
comboBox
protected DateComboBox comboBox
calendar
protected java.util.Calendar calendar
popup
protected javax.swing.JPopupMenu popup
monthLabel
protected javax.swing.JLabel monthLabel
days
protected javax.swing.JPanel days
monthFormat
protected java.text.SimpleDateFormat monthFormat
selectedBackground
protected java.awt.Color selectedBackground
selectedForeground
protected java.awt.Color selectedForeground
background
protected java.awt.Color background
foreground
protected java.awt.Color foreground
list
protected javax.swing.JList list
mouseInside
protected boolean mouseInside
hideNext
protected boolean hideNext
DateComboBox.DatePopup
public DateComboBox.DatePopup(DateComboBox comboBox)
show
public void show()
- Specified by:
show in interface javax.swing.plaf.basic.ComboPopup
hide
public void hide()
- Specified by:
hide in interface javax.swing.plaf.basic.ComboPopup
getList
public javax.swing.JList getList()
- Specified by:
getList in interface javax.swing.plaf.basic.ComboPopup
getMouseListener
public java.awt.event.MouseListener getMouseListener()
- Specified by:
getMouseListener in interface javax.swing.plaf.basic.ComboPopup
getMouseMotionListener
public java.awt.event.MouseMotionListener getMouseMotionListener()
- Specified by:
getMouseMotionListener in interface javax.swing.plaf.basic.ComboPopup
getKeyListener
public java.awt.event.KeyListener getKeyListener()
- Specified by:
getKeyListener in interface javax.swing.plaf.basic.ComboPopup
isVisible
public boolean isVisible()
- Specified by:
isVisible in interface javax.swing.plaf.basic.ComboPopup
uninstallingUI
public void uninstallingUI()
- Specified by:
uninstallingUI in interface javax.swing.plaf.basic.ComboPopup
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed in interface java.awt.event.MouseListener
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased in interface java.awt.event.MouseListener
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked in interface java.awt.event.MouseListener
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
- Specified by:
mouseEntered in interface java.awt.event.MouseListener
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExited in interface java.awt.event.MouseListener
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
- Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
- Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed in interface java.awt.event.KeyListener
keyTyped
public void keyTyped(java.awt.event.KeyEvent e)
- Specified by:
keyTyped in interface java.awt.event.KeyListener
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
- Specified by:
keyReleased in interface java.awt.event.KeyListener
popupMenuCanceled
public void popupMenuCanceled(javax.swing.event.PopupMenuEvent e)
- Variables hideNext and mouseInside are used to
hide the popupMenu by clicking the mouse in the JComboBox
- Specified by:
popupMenuCanceled in interface javax.swing.event.PopupMenuListener
popupMenuWillBecomeInvisible
public void popupMenuWillBecomeInvisible(javax.swing.event.PopupMenuEvent e)
- Specified by:
popupMenuWillBecomeInvisible in interface javax.swing.event.PopupMenuListener
popupMenuWillBecomeVisible
public void popupMenuWillBecomeVisible(javax.swing.event.PopupMenuEvent e)
- Specified by:
popupMenuWillBecomeVisible in interface javax.swing.event.PopupMenuListener
togglePopup
protected void togglePopup()
createUpdateButton
protected javax.swing.JLabel createUpdateButton(int field,
int amount)
initializePopup
protected void initializePopup()
updatePopup
protected void updatePopup()
Copyright © 2003 Pallas Technology.