ix.ip2
Class ItemEditor

java.lang.Object
  |
  +--ix.ip2.ItemEditor
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Direct Known Subclasses:
ActivityEditor, IssueEditor

public abstract class ItemEditor
extends java.lang.Object
implements java.awt.event.ActionListener

A simple editor for entering and viewing individual items.


Inner Class Summary
protected  class ItemEditor.EditPanel
          Item-editing panel
 
Field Summary
protected  AgendaViewer agendaViewer
           
protected  java.awt.Container contentPane
           
protected  ItemEditor.EditPanel editPanel
           
protected  javax.swing.JFrame frame
           
protected  javax.swing.JMenuItem saveAsRefinementItem
           
protected  java.lang.String title
           
 
Constructor Summary
(package private) ItemEditor(AgendaViewer agendaViewer, java.lang.String title)
           
 
Method Summary
abstract  void actionPerformed(java.awt.event.ActionEvent e)
          Action interpreter.
protected abstract  ItemEditor.EditPanel makeEditPanel()
           
protected abstract  javax.swing.JMenuBar makeMenuBar()
          Constructs the menu bar
protected  javax.swing.JMenuItem makeMenuItem(java.lang.String text)
           
protected  void setUpFrame()
           
(package private)  void setVisible(boolean v)
           
(package private)  void showItem(AgendaItem i)
           
(package private)  void showNewItem()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

protected java.lang.String title

frame

protected javax.swing.JFrame frame

contentPane

protected java.awt.Container contentPane

agendaViewer

protected AgendaViewer agendaViewer

editPanel

protected ItemEditor.EditPanel editPanel

saveAsRefinementItem

protected javax.swing.JMenuItem saveAsRefinementItem
Constructor Detail

ItemEditor

ItemEditor(AgendaViewer agendaViewer,
           java.lang.String title)
Method Detail

setUpFrame

protected void setUpFrame()

makeEditPanel

protected abstract ItemEditor.EditPanel makeEditPanel()

setVisible

void setVisible(boolean v)

showItem

void showItem(AgendaItem i)

showNewItem

void showNewItem()

makeMenuBar

protected abstract javax.swing.JMenuBar makeMenuBar()
Constructs the menu bar

makeMenuItem

protected javax.swing.JMenuItem makeMenuItem(java.lang.String text)

actionPerformed

public abstract void actionPerformed(java.awt.event.ActionEvent e)
Action interpreter. Note that this object will be wrapped in a CatchingActionListener when used as an ActionListener.
Specified by:
actionPerformed in interface java.awt.event.ActionListener
See Also:
CatchingActionListener