01: package org.swingml.action;
02:
03: /**
04: * @author CrossLogic
05: */
06: public class Perform extends SelectionMadeResult {
07:
08: public Perform() {
09: }
10:
11: public Perform(String component, String method, String type,
12: String value) {
13: this ();
14: setComponent(component);
15: setMethod(method);
16: setType(type);
17: setValue(value);
18: }
19:
20: public String xmlValue() {
21: return "<PERFORM COMPONENT=\"" + getComponent()
22: + "\" METHOD=\"" + getMethod() + "\" TYPE=\""
23: + getType() + "\" VALUE=\"" + getValue() + "\" />";
24: }
25:
26: }
|