org.formaria.swing.actions
Class SwingActionFactory

java.lang.Object
  extended by org.formaria.swing.actions.SwingActionFactory
All Implemented Interfaces:
ActionFactory

public class SwingActionFactory
extends java.lang.Object
implements ActionFactory

A factory for creating swing actions

Copyright (c) Formaria Ltd., 2008. See license.txt for licensing details


Constructor Summary
SwingActionFactory()
          Creates a new instance of SwingActionFactory
 
Method Summary
 Action getAction(XmlElement actionElement)
          Creates a new Action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingActionFactory

public SwingActionFactory()
Creates a new instance of SwingActionFactory

Method Detail

getAction

public Action getAction(XmlElement actionElement)
Creates a new Action

Specified by:
getAction in interface ActionFactory
Parameters:
actionElement - the XML element describing the action
Returns:
the new action