01: /*
02: * Copyright (c) 2005 Your Corporation. All Rights Reserved.
03: */
04: package org.wings.plaf.css;
05:
06: import org.wings.script.JavaScriptListener;
07: import org.wings.SComponent;
08:
09: /**
10: * @author hengels
11: */
12: public class DWRScriptListener extends JavaScriptListener {
13:
14: protected String callableName;
15: protected Object callable;
16:
17: public DWRScriptListener(String event, String code,
18: String callableName, Object callable) {
19: super (event, code);
20:
21: this .callableName = callableName;
22: this .callable = callable;
23: }
24:
25: public DWRScriptListener(String event, String code, String script,
26: String callableName, Object callable) {
27: super (event, code, script);
28:
29: this .callableName = callableName;
30: this .callable = callable;
31: }
32:
33: public DWRScriptListener(String event, String code, String script,
34: SComponent[] components) {
35: super (event, code, script, components);
36: }
37:
38: public String getCallableName() {
39: return callableName;
40: }
41:
42: public Object getCallable() {
43: return callable;
44: }
45: }
|