com.lightdev.app.allday.action
Class NewEventAction


java.lang.Object

  extended by javax.swing.AbstractAction

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

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

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

public class NewEventAction
extends AbstractAllDayAction

create a new CalendarEvent

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
NewEventAction(DefaultApplication app)
          constructor
 
Method Summary
 void actionPerformed(ActionEvent e)
          create a new event by use of class EventDialog
 
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

NewEventAction


public NewEventAction(DefaultApplication app)
constructor

Parameters:
app - owning application
Method Detail

actionPerformed


public void actionPerformed(ActionEvent e)
create a new event by use of class EventDialog

Specified by:
actionPerformed in interface ActionListener
Overrides:
actionPerformed in class AbstractAllDayAction
Parameters:
e - the ActionEvent that led to this action

Copyright (c) 1989 - 2005 Ulrich Hilger