/* Uiml.Net: a Uiml.Net renderer (http://research.edm.uhasselt.be/kris/research/uiml.net/) Copyright (C) 2003 Kris Luyten (kris.luyten@uhasselt.be) Expertise Centre for Digital Media (http://www.edm.uhasselt.be) Hasselt University This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ namespace Uiml.Executing { using Uiml; using Uiml.Rendering; using System; using System.Xml; using System.Collections; using System.IO; public class Action : IExecutable, IUimlElement { private Part m_partTree; private ArrayList m_subActions; private Event m_event = null; private IRenderer m_renderer; private IPropertySetter m_propSetter; public Action() { m_subActions = new ArrayList(); } public Action(XmlNode xmlNode, Part partTop) : this() { m_partTree = partTop; Process(xmlNode); } public void Process(XmlNode n) { if(n.Name == ACTION) { if(n.HasChildNodes) { XmlNodeList xnl = n.ChildNodes; for(int i=0; i