edu.cmu.emulator.creator.config.event
Class SetOrientation

java.lang.Object
  extended by edu.cmu.emulator.creator.config.ConfigNode
      extended by edu.cmu.emulator.creator.config.Event
          extended by edu.cmu.emulator.creator.config.event.SetOrientation

public class SetOrientation
extends Event


Field Summary
private  String node
           
private  Coord orientX
           
private  Coord orientY
           
 
Constructor Summary
SetOrientation(String node, Coord orientX, Coord orientY)
           
 
Method Summary
 Event clone()
           
static SetOrientation fromXML(Element el)
           
 String getNode()
           
 Coord getOrientX()
           
 Coord getOrientY()
           
 String getType()
           
protected  void toXML(Document doc, Element el)
           
 
Methods inherited from class edu.cmu.emulator.creator.config.Event
toString, toXML
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

node

private String node

orientX

private Coord orientX

orientY

private Coord orientY
Constructor Detail

SetOrientation

public SetOrientation(String node,
                      Coord orientX,
                      Coord orientY)
Method Detail

getType

public String getType()
Specified by:
getType in class Event

getNode

public String getNode()

getOrientX

public Coord getOrientX()

getOrientY

public Coord getOrientY()

fromXML

public static SetOrientation fromXML(Element el)
                              throws ConfigException
Throws:
ConfigException

clone

public Event clone()
Specified by:
clone in class Event

toXML

protected void toXML(Document doc,
                     Element el)
Specified by:
toXML in class Event


Copyright © 2013. All Rights Reserved.