JET

edu.utep.cs.et.gui
Class ActionFactory

java.lang.Object
  extended by edu.utep.cs.et.gui.ActionFactory

public class ActionFactory
extends Object

A meta factory class to create action factories such as file action factory, edit action factory, and tool action factory.

Author:
Yoonsik Cheon
See Also:
FileActionFactory, ToolActionFactory

Field Summary
private  Mainable et
          The main program which this action factory is for.
private static FileActionFactory fileActionFactory
          The file action factory.
private static ToolActionFactory toolActionFactory
          The tool action factory.
 
Constructor Summary
ActionFactory(Mainable et)
          Creates a new action factory for the given tool et.
 
Method Summary
 FileActionFactory fileActionFactory()
          Returns the file action factory.
 ToolActionFactory toolActionFactory()
          Returns the tool action factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

et

private Mainable et
The main program which this action factory is for.


fileActionFactory

private static FileActionFactory fileActionFactory
The file action factory.


toolActionFactory

private static ToolActionFactory toolActionFactory
The tool action factory.

Constructor Detail

ActionFactory

public ActionFactory(Mainable et)
Creates a new action factory for the given tool et.

Method Detail

fileActionFactory

public FileActionFactory fileActionFactory()
Returns the file action factory.

  assignable fileActionFactory;
  ensures \result == fileActionFactory;
 


toolActionFactory

public ToolActionFactory toolActionFactory()
Returns the tool action factory.

  assignable toolActionFactory;
  ensures \result == toolActionFactory;
 


JET

JET is Copyright (C) 2005-2007 by The University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.