Programmer's Friend: Model View Controller classes Author: Manfred Duchrow Copyright (c) 2003-2017, by Manfred Duchrow. All rights reserved. ======================================================================= ----------------------------------------------------------------------- VERSION 5.0.0 (31/01/2017) - 18 Unit Tests * Migrated > Maven -> Gradle > SVN -> Git * Package renaming 'org.pf' -> 'org.pfsw' ----------------------------------------------------------------------- VERSION 4.0.0 (21/06/2014) - 18 Unit Tests * Upgraded to Java 6 ----------------------------------------------------------------------- VERSION 3.1.0 (2014-04-06) * Support mouse wheel action registration > ViewController ----------------------------------------------------------------------- VERSION 3.0 (2012-08-29) * New classes - JDialogController * Changed superclass of FileChooserDialogController from FileDialogController to ViewController ----------------------------------------------------------------------- VERSION 2.9 (January 11, 2009) * New class > SpinnerModelAdaptor ----------------------------------------------------------------------- VERSION 2.8 (March 2, 2008) * MainWindowController > Changed public void exitProgram( int returnCode ) to use exit() method of SysUtil rather than System in order to ensure exit listeners get notified before exit. ----------------------------------------------------------------------- VERSION 2.7 (February 15, 2008) * EditDialogController > Added - protected boolean preCancel() - protected boolean preAccept() > Changed executeAccept() to call preAccept() > Changed executeCancel() to call preCancel() * ViewController > Calls registerHotkeysFromRegisteredActions() on all sub controllers now ----------------------------------------------------------------------- VERSION 2.6 (April 27, 2007) * ViewController > Added - protected void beBusy() - protected void beReady() - protected void initAllSubViews() ----------------------------------------------------------------------- VERSION 2.5 (February 14, 2007) * FileDialogController and FileChooserDialogController > now supports setting a proposed filename via - public void setProposedFileName( String newValue ) ----------------------------------------------------------------------- VERSION 2.4.2 ( November 24, 2006 ) * Ensure that frames brought to front will be opened if they are currently iconified ----------------------------------------------------------------------- VERSION 2.4.1 ( October 27, 2006 ) * Setting -Dorg.pf.mvc.debug=true turns on some debug output to stdout. ----------------------------------------------------------------------- VERSION 2.4 ( October 6, 2006 ) * IActionConfigurer > Changed return type of method configureAction() from void to boolean * WindowController > Added - public void beBusy() - public void beReady() * BUGFIX in Controller > Changed protected Frame getParentFrame() to return immediately if the current controller is a frame controller * ModelAdapter > Added - implements IViewRelatedObserver ----------------------------------------------------------------------- VERSION 2.3 ( May 28, 2006 ) ----------------------------------------------------------------------- VERSION 2.2 ( February 3, 2006 ) * New package > org.pfsw.mvc.action * New interface > org.pfsw.mvc.action.IActionConfigurer * Controller > Added - protected IActionConfigurer getActionConfigurer() - public void dispose() - protected void localDispose() > Changed protected DynamicAction registerAction( String actionID, Object receiver, String methodName, Class argType ) to call action configurer for each action ----------------------------------------------------------------------- VERSION 2.1 ( January 8, 2006 ) * Controller > Changed method return type from void to DynamicAction - public boolean visitAll( IDynamicActionVisitor visitor ) - protected DynamicAction registerAction( String actionID, Object receiver, String methodName, Class argType ) - protected DynamicAction registerAction( String actionID, Object receiver, String methodName ) - protected DynamicAction registerAction( String actionID, String methodName ) - protected DynamicAction registerAction( String actionID, String methodName, Class argType ) - protected void registerHotkeysFromRegisteredActions() ----------------------------------------------------------------------- VERSION 2.0 ( August 5, 2005 ) * Provides model adapters for Integer, String, Bool and Boolean * Provides extensive controller hierarchy -----------------------------------------------------------------------