com.standbysoft.component.date.swing
Class JDateComponent.RollDateAction
java.lang.Object
javax.swing.AbstractAction
com.standbysoft.component.date.swing.JDateComponent.DateAction
com.standbysoft.component.date.swing.JDateComponent.RollDateAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- Enclosing class:
- JDateComponent
- public static class JDateComponent.RollDateAction
- extends JDateComponent.DateAction
This action is used to increment/decrement the value of one date field with one unit.
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDateComponent.RollDateAction
public JDateComponent.RollDateAction(int field,
boolean up)
- Creates an action that will roll one date field with one unit.
- Parameters:
field - date field that is rolled (Calendar.WEEK_OF_YEAR, Calendar.DATE, etc)up - true if incremented or false if decremented.
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
Visit www.jdatepicker.com for further information or send us your suggestions.
Copyright © 2003-2007 Stand By Soft Ltd. All Rights Reserved.