01: /*
02: * Copyright 2007 wingS development team.
03: *
04: * This file is part of wingS (http://wingsframework.org).
05: *
06: * wingS is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU Lesser General Public License
08: * as published by the Free Software Foundation; either version 2.1
09: * of the License, or (at your option) any later version.
10: *
11: * Please see COPYING for the complete licence.
12: */
13:
14: package org.wingx;
15:
16: /**
17: *
18: * @author Christian Schyma
19: */
20: public interface XInplaceEditorInterface {
21:
22: /**
23: * Set the intermediate text. Used by the client-side JavaScript.
24: * @param text
25: * @return formatted text to display at the client-side
26: */
27: public String setAjaxText(String text);
28:
29: /**
30: * Return the indermediate text. Used by the client-side JavaScript.
31: * @return intermediate text
32: */
33: public String getAjaxText();
34:
35: }
|