com.mtp.pounder.controller
Class PounderController

java.lang.Object
  |
  +--com.mtp.pounder.controller.PounderController
All Implemented Interfaces:
PounderModelListener

public class PounderController
extends Object
implements PounderModelListener

Controller for managing the actions and updating whether they are enabled.

Author:
Matthew Pekar

Constructor Summary
PounderController(PounderModel pm)
           
 
Method Summary
 AbstractAction getAboutAction()
           
 AbstractAction getAddAssertAction()
           
 AbstractAction getCloseAction()
           
 AbstractAction getEditPreferencesAction()
           
 PounderFileChooser getFileChooser()
           
 PounderFrame getFrame()
           
 PounderModel getModel()
           
 AbstractAction getNewInstanceAction()
           
 AbstractAction getOpenAction()
           
 AbstractAction getPauseAction()
           
 AbstractAction getPlayAction()
           
 AbstractAction getRecordVerbatimAction()
           
 AbstractAction getResumeAction()
           
 AbstractAction getSaveAction()
           
 AbstractAction getSaveAsAction()
           
 AbstractAction getSetFastPlaybackAction()
           
 AbstractAction getSetIgnoreUnnamedAction()
           
 AbstractAction getSetTestClassAction()
           
 AbstractAction getSetUseSystemClassLoaderAction()
           
 AbstractAction getStopAction()
           
 AbstractAction getUpdateDefaultWindowXAction()
           
 AbstractAction getUpdateDefaultWindowYAction()
           
 AbstractAction getViewCommentAction()
           
 AbstractAction getViewExceptionStackTraceAction()
           
protected  void initActions()
           
 void pounderModelChanged()
           
 void setFrame(PounderFrame f)
           
protected  void updateActionStates()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PounderController

public PounderController(PounderModel pm)
Method Detail

getModel

public PounderModel getModel()

setFrame

public void setFrame(PounderFrame f)

getFrame

public PounderFrame getFrame()

pounderModelChanged

public void pounderModelChanged()
Specified by:
pounderModelChanged in interface PounderModelListener

getFileChooser

public PounderFileChooser getFileChooser()

updateActionStates

protected void updateActionStates()

initActions

protected void initActions()

getViewExceptionStackTraceAction

public AbstractAction getViewExceptionStackTraceAction()

getAddAssertAction

public AbstractAction getAddAssertAction()

getUpdateDefaultWindowXAction

public AbstractAction getUpdateDefaultWindowXAction()

getUpdateDefaultWindowYAction

public AbstractAction getUpdateDefaultWindowYAction()

getSetUseSystemClassLoaderAction

public AbstractAction getSetUseSystemClassLoaderAction()

getSetFastPlaybackAction

public AbstractAction getSetFastPlaybackAction()

getSetIgnoreUnnamedAction

public AbstractAction getSetIgnoreUnnamedAction()

getCloseAction

public AbstractAction getCloseAction()

getSetTestClassAction

public AbstractAction getSetTestClassAction()

getSaveAction

public AbstractAction getSaveAction()

getOpenAction

public AbstractAction getOpenAction()

getSaveAsAction

public AbstractAction getSaveAsAction()

getAboutAction

public AbstractAction getAboutAction()

getEditPreferencesAction

public AbstractAction getEditPreferencesAction()

getViewCommentAction

public AbstractAction getViewCommentAction()

getNewInstanceAction

public AbstractAction getNewInstanceAction()

getRecordVerbatimAction

public AbstractAction getRecordVerbatimAction()

getPlayAction

public AbstractAction getPlayAction()

getPauseAction

public AbstractAction getPauseAction()

getResumeAction

public AbstractAction getResumeAction()

getStopAction

public AbstractAction getStopAction()


Copyright © 2002 Matthew Pekar. All Rights Reserved.