com.lightdev.app.allday.action
Class ThisYearAction
java.lang.Object
javax.swing.AbstractAction
com.lightdev.app.allday.action.AbstractAllDayAction
com.lightdev.app.allday.action.ThisYearAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class ThisYearAction
- extends AbstractAllDayAction
Action to switch application AllDay to display the current year.
- Version:
- 9, March 10, 2005
- Author:
- Ulrich Hilger, Light Development, http://www.lightdev.com, info@lightdev.com, Redistribution and use are subject to terms and conditions
of the Light Development Basic License agreement as layed
out in file 'license.txt' accompanying this package.
- See Also:
- Serialized Form
|
Method Summary |
void |
actionPerformed(ActionEvent e)
set application AllDay to display a given year
entered by the user when this action is performed |
ThisYearAction
public ThisYearAction(DefaultApplication app)
- constructor
- Parameters:
app - the owner of this actionname - the name of this action
actionPerformed
public void actionPerformed(ActionEvent e)
- set application AllDay to display a given year
entered by the user when this action is performed
- Specified by:
actionPerformed in interface ActionListener- Overrides:
actionPerformed in class AbstractAllDayAction
- Parameters:
e - event that led to perform this action