com.lightdev.app.allday.action
Class SetYearAction


java.lang.Object

  extended by javax.swing.AbstractAction

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

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

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

public class SetYearAction
extends AbstractAllDayAction

Action to switch application AllDay to display a given 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
SetYearAction(DefaultApplication app)
          constructor
 
Method Summary
 void actionPerformed(ActionEvent e)
          set application AllDay to display a given year entered by the user 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

SetYearAction


public SetYearAction(DefaultApplication app)
constructor

Parameters:
owner - the owner of this action
Method Detail

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

Copyright (c) 1989 - 2005 Ulrich Hilger