01: package org.wings.plaf.css.script;
02:
03: import org.wings.script.ScriptListener;
04:
05: public class LayoutScrollPaneScript implements ScriptListener {
06: String name;
07:
08: public LayoutScrollPaneScript(String name) {
09: this .name = name;
10: }
11:
12: public String getEvent() {
13: return null;
14: }
15:
16: public String getCode() {
17: return null;
18: }
19:
20: public String getScript() {
21: return "wingS.layout.scrollPane('" + name + "');";
22: }
23:
24: public int getPriority() {
25: return DEFAULT_PRIORITY;
26: }
27: }
|