01: /* DeferredValue.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: Mon Dec 17 14:22:06 2007, Created by tomyeh
10: }}IS_NOTE
11:
12: Copyright (C) 2007 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.zk.ui.util;
20:
21: /**
22: * Used with {@link org.zkoss.zk.ui.Component#smartUpdateDeferred(String, DeferredValue)}
23: * to represent a value that shall be evaluated only in the rendering phase
24: * (rather than in the event processing phase).
25: *
26: * @author tomyeh
27: * @since 3.0.1
28: */
29: public interface DeferredValue {
30: /** Returns the value.
31: * It is called to retrieve the real value
32: * by the ZK engine in the rendering phase.
33: */
34: public String getValue();
35: }
|