com.pow2.webgui.window
Class BOWindowDrawer

java.lang.Object
  extended by com.pow2.webgui.WidgetStrategy
      extended by com.pow2.webgui.WidgetDrawer
          extended by com.pow2.webgui.window.WindowDrawer
              extended by com.pow2.webgui.window.BOWindowDrawer

public class BOWindowDrawer
extends WindowDrawer

"BackOffice" WindowDrawer class.
This class provides concrete implementation of getTemplateDescription method.

Author:
Luca Fossato

Field Summary
 
Fields inherited from class com.pow2.webgui.WidgetStrategy
widget
 
Constructor Summary
BOWindowDrawer(Widget widget)
          Constructor.
 
Method Summary
protected  StringBuffer getTemplateDescription(Window window, org.apache.velocity.VelocityContext context)
          Gets the description of the Window template.
 
Methods inherited from class com.pow2.webgui.window.WindowDrawer
draw
 
Methods inherited from class com.pow2.webgui.WidgetStrategy
getWidget, setWidget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BOWindowDrawer

public BOWindowDrawer(Widget widget)
Constructor.

Parameters:
widget - the widget to draw
Method Detail

getTemplateDescription

protected StringBuffer getTemplateDescription(Window window,
                                              org.apache.velocity.VelocityContext context)
Gets the description of the Window template.

Specified by:
getTemplateDescription in class WindowDrawer
Parameters:
window - the window widget
context - the current Velocity context
Returns:
the description of the Window template


Copyright © 2002-2005 Power Of Two S.r.l. All Rights Reserved.