com.lightdev.app.allday.action
Class PrevYearAction


java.lang.Object

  extended by javax.swing.AbstractAction

      extended by com.lightdev.app.allday.action.AbstractAllDayAction

          extended by com.lightdev.app.allday.action.PrevYearAction

All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class PrevYearAction
extends AbstractAllDayAction

Action to switch application AllDay to display the previous 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

Field Summary
 
Fields inherited from class com.lightdev.app.allday.action.AbstractAllDayAction
app
 
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
 
Constructor Summary
PrevYearAction(DefaultApplication app)
          constructor
 
Method Summary
 void actionPerformed(ActionEvent e)
          switch to previous year when this action is performed
 
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
 

Constructor Detail

PrevYearAction


public PrevYearAction(DefaultApplication app)
constructor

Parameters:
owner - the owner of this action
Method Detail

actionPerformed


public void actionPerformed(ActionEvent e)
switch to previous year 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

Copyright (c) 1989 - 2005 Ulrich Hilger