Package jpicedt.graphic.toolkit
Class DefaultActionDispatcher
- java.lang.Object
-
- jpicedt.graphic.toolkit.DefaultActionDispatcher
-
- All Implemented Interfaces:
ActionDispatcher
public class DefaultActionDispatcher extends java.lang.Object implements ActionDispatcher
An implementation of the ActionDispatcher interface that's suited for non-shared PEAction's (ie actions which are permanently "attached" to a given PECanvas).- Since:
- jPicEdt 1.3.2
- Version:
- $Id: DefaultActionDispatcher.java,v 1.6.2.1 2007/09/02 11:56:28 reynal Exp $
- Author:
- Sylvain Reynal
-
-
Constructor Summary
Constructors Constructor Description DefaultActionDispatcher(PECanvas target)Builds an ActionDispatcher which permanently dispatches events to the given PECanvas.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PECanvasgetTarget()Returns the PECanvas upon which a PEAction should act.
-
-
-
Constructor Detail
-
DefaultActionDispatcher
public DefaultActionDispatcher(PECanvas target)
Builds an ActionDispatcher which permanently dispatches events to the given PECanvas.
-
-
Method Detail
-
getTarget
public PECanvas getTarget()
Returns the PECanvas upon which a PEAction should act. This implementation simply returns the target that was provided to the constructor.- Specified by:
getTargetin interfaceActionDispatcher
-
-