org.perfectjpattern.core.behavioral.chainofresponsibility
Class AbstractWidget
java.lang.Object
org.perfectjpattern.core.behavioral.chainofresponsibility.AbstractWidget
- All Implemented Interfaces:
- IHelpAware, IPrintAware
- Direct Known Subclasses:
- Button, Dialog
public abstract class AbstractWidget
- extends Object
- implements IHelpAware, IPrintAware
Abstract base definition of a AbstractWidget. Adapts or maps the inner
Handler implementation into abstract methods that can be overridden by
subclasses.
- Version:
- $Revision: 1.0 $Date: Apr 19, 2008 12:25:59 PM $
- Author:
- Giovanni Azua
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractWidget
public AbstractWidget()
getHelpHandler
public IParameterlessHandler getHelpHandler()
-
- Specified by:
getHelpHandler
in interface IHelpAware
getPrintHandler
public IParameterlessHandler getPrintHandler()
-
- Specified by:
getPrintHandler
in interface IPrintAware
canHandleHelp
protected abstract boolean canHandleHelp()
handleHelp
protected abstract void handleHelp()
canHandlePrint
protected abstract boolean canHandlePrint()
handlePrint
protected abstract void handlePrint()
Copyright © 2007-2009. All Rights Reserved.