se.liu.ida.critiquer.gui
Class TaskView.ActivityAddItem

java.lang.Object
  extended by java.awt.MenuComponent
      extended by java.awt.MenuItem
          extended by se.liu.ida.critiquer.gui.TaskView.ActivityAddItem
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible
Enclosing class:
TaskView

private static class TaskView.ActivityAddItem
extends java.awt.MenuItem
implements java.awt.event.ActionListener


Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.MenuItem
java.awt.MenuItem.AccessibleAWTMenuItem
 
Nested classes/interfaces inherited from class java.awt.MenuComponent
java.awt.MenuComponent.AccessibleAWTMenuComponent
 
Field Summary
private  java.lang.Class activityClass
           
private  TaskView graphView
           
private static int index
           
private static int[] keyboardShortcuts
          This is used to create subsequent keyboard shortcut entries
private static long serialVersionUID
           
 
Constructor Summary
TaskView.ActivityAddItem(TaskView g, java.lang.Class activityClass, java.lang.String label)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class java.awt.MenuItem
addActionListener, addNotify, deleteShortcut, disable, disableEvents, enable, enable, enableEvents, getAccessibleContext, getActionCommand, getActionListeners, getLabel, getListeners, getShortcut, isEnabled, paramString, processActionEvent, processEvent, removeActionListener, setActionCommand, setEnabled, setLabel, setShortcut
 
Methods inherited from class java.awt.MenuComponent
dispatchEvent, getFont, getName, getParent, getPeer, getTreeLock, postEvent, removeNotify, setFont, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

keyboardShortcuts

private static int[] keyboardShortcuts
This is used to create subsequent keyboard shortcut entries


index

private static int index

activityClass

private java.lang.Class activityClass

graphView

private TaskView graphView
Constructor Detail

TaskView.ActivityAddItem

public TaskView.ActivityAddItem(TaskView g,
                                java.lang.Class activityClass,
                                java.lang.String label)
                         throws java.awt.HeadlessException
Throws:
java.awt.HeadlessException
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener