com.cc.framework.ui.painter.def
Class DefMenuMainPainter

java.lang.Object
  extended bycom.cc.framework.ui.painter.ControlPainter
      extended bycom.cc.framework.ui.painter.def.DefPainterBase
          extended bycom.cc.framework.ui.painter.def.DefMenuPainter
              extended bycom.cc.framework.ui.painter.def.DefMenuMainPainter

public class DefMenuMainPainter
extends DefMenuPainter

Painter for the Main Menu

Since:
1.0
Version:
$Revision: 1.27 $
Author:
Gernot Schulz

Field Summary
 
Fields inherited from class com.cc.framework.ui.painter.ControlPainter
log
 
Constructor Summary
DefMenuMainPainter(PainterContext painterContext, MenuControl ctrl)
          Constructor
 
Method Summary
protected  org.apache.ecs.ConcreteElement doCreateElement()
          Creates a HTML table element, which holds the specified menu items
protected  org.apache.ecs.ConcreteElement doCreateMenuItems(MenuItem[] items, ImageMap imageMap, MenuContext ctx)
          Creates the cells including the menu items of the menu
 
Methods inherited from class com.cc.framework.ui.painter.def.DefMenuPainter
createMenuAnchor, getCtrl, getDesignModel, getItemImage, getLocale
 
Methods inherited from class com.cc.framework.ui.painter.def.DefPainterBase
createHelpElement, createHelpElement, doCreateHelpButton, doCreateHelpIcon, getElementClass
 
Methods inherited from class com.cc.framework.ui.painter.ControlPainter
ajaxPaint, attr, attr, attr, beginPaint, createActionPainter, createActionPainter, createElement, createImage, createImage, createImage, createInput, createInput, createSpacer, createSpacer, createSpacer, decorateURL, doAddDecorationsToRow, doAddDecorationsToRow, doAfterCreate, doAttachDecorations, doBeforeCreate, encodeURL, endPaint, forceControlName, getAsString, getAwtColor, getColor, getContextPath, getControlName, getDecorationsOnce, getElementName, getFramePainter, getFrameworkString, getFrameworkString, getImage, getImage, getImage, getImageSrc, getImageSrc, getImageSrc, getLocale, getPageContext, getPainterContext, getPrincipal, getRequest, getResponse, getSession, getSmartCaption, getSmartDetail, getSource, getSource, getStringResource, getStyleId, html, html, html, init, isRunAtClient, localize, localize, localize, paint, removeHtml, removeHtml, request, response, session, showComments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefMenuMainPainter

public DefMenuMainPainter(PainterContext painterContext,
                          MenuControl ctrl)
Constructor

Parameters:
painterContext - The PainterContext
ctrl - The control to render
Method Detail

doCreateMenuItems

protected org.apache.ecs.ConcreteElement doCreateMenuItems(MenuItem[] items,
                                                           ImageMap imageMap,
                                                           MenuContext ctx)
Creates the cells including the menu items of the menu

Parameters:
items - The menu items
imageMap - An optional image map
ctx - The MenuContext
Returns:
ConcreteElement

doCreateElement

protected org.apache.ecs.ConcreteElement doCreateElement()
Creates a HTML table element, which holds the specified menu items

Specified by:
doCreateElement in class ControlPainter
Returns:
ConcreteElement
See Also:
ControlPainter.doCreateElement()


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.