1 /* 2 * ==================================================================== 3 * This software is subject to the terms of the Common Public License 4 * Agreement, available at the following URL: 5 * http://www.opensource.org/licenses/cpl.html . 6 * Copyright (C) 2003-2004 TONBELLER AG. 7 * All Rights Reserved. 8 * You must accept the terms of that agreement to use this software. 9 * ==================================================================== 10 * 11 * 12 */ 13 package com.tonbeller.wcf.component; 14 15 import com.tonbeller.wcf.controller.RequestContext; 16 17 /** 18 * Part of a component that wants to be informed about the rendering. 19 * Only few Components support this. 20 * 21 * @author av 22 */ 23 public interface RenderListener { 24 25 /** 26 * informs the implementor that the component is going to be rendered 27 */ 28 void startRendering(RequestContext context); 29 30 /** 31 * informs the implementor that the tree has been rendered 32 */ 33 void stopRendering(); 34 35 } 36