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

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.DefFormPainter
              extended bycom.cc.framework.ui.painter.def.DefFormInfoPainter
Direct Known Subclasses:
DefFormHeaderPainter

public class DefFormInfoPainter
extends DefFormPainter

Painter for the Info form

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

Field Summary
 
Fields inherited from class com.cc.framework.ui.painter.def.DefFormPainter
LABEL_EMPTY, LABEL_MESSAGE, ROWTYPE, ROWTYPE_BUTTONS, ROWTYPE_CONTAINER, ROWTYPE_CONTROL, ROWTYPE_DESCRIPTION, ROWTYPE_INNERFRAME, ROWTYPE_SEPARATOR
 
Fields inherited from class com.cc.framework.ui.painter.ControlPainter
log
 
Constructor Summary
DefFormInfoPainter(PainterContext painterContext, FormControl ctrl)
          Constructor for DefFormInfoPainter
 
Method Summary
protected  org.apache.ecs.ConcreteElement doCreateRow(org.apache.ecs.ConcreteElement rowContent, java.lang.String rowId, int nestingLevel)
          This method creates a row container
protected  org.apache.ecs.ConcreteElement doCreateRowSeparator(int cols, int nestingLevel)
          This method creates a row separator
 java.lang.String getElementClass(int type)
          The method returns the HTML style class required for a specific element.
 
Methods inherited from class com.cc.framework.ui.painter.def.DefFormPainter
addColGroup, attachRight, createButtons, createElementBody, decorateLabel, doAfterCreate, doBeforeCreate, doCreateBody, doCreateButton, doCreateColGroup, doCreateContainer, doCreateControl, doCreateDefaultButton, doCreateDefaultButton, doCreateElement, doCreateFooter, doCreateFrames, doCreateGroupHeader, doCreateHeader, doCreateHorizontalContainer, doCreateHtml, doCreateInnerFrames, doCreateLabeledElement, doCreateRow, doCreateRow, doCreateTitleButtons, doCreateVerticalContainer, getCellsPerElement, getCellWidth, getDefaultButton, getDescription, getForm, getFormElementId, getFormImage, getFormType, getFrameTitle, getFrameWidth, getLabel, getLabelWidth, getLinkId, getLocale, getMessageWidth, hasErrorPending, hasMessagePending, isRequired, paintLabel, paintMessageIndicatior, paintMessageIndicator, showFrame, showMessageIndicator
 
Methods inherited from class com.cc.framework.ui.painter.def.DefPainterBase
createHelpElement, createHelpElement, doCreateHelpButton, doCreateHelpIcon
 
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, doAttachDecorations, 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

DefFormInfoPainter

public DefFormInfoPainter(PainterContext painterContext,
                          FormControl ctrl)
Constructor for DefFormInfoPainter

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

getElementClass

public java.lang.String getElementClass(int type)
The method returns the HTML style class required for a specific element.

Overrides:
getElementClass in class DefFormPainter
Parameters:
type - The required style class
Returns:
The style class
See Also:
ControlPainter.getElementClass(int)

doCreateRow

protected org.apache.ecs.ConcreteElement doCreateRow(org.apache.ecs.ConcreteElement rowContent,
                                                     java.lang.String rowId,
                                                     int nestingLevel)
This method creates a row container

Parameters:
rowContent - TD Element(s) with the rows content
rowId - an optional row id
nestingLevel - The nesting Level of the row in the form element tree
Returns:
ConcreteElement

doCreateRowSeparator

protected org.apache.ecs.ConcreteElement doCreateRowSeparator(int cols,
                                                              int nestingLevel)
Description copied from class: DefFormPainter
This method creates a row separator

Overrides:
doCreateRowSeparator in class DefFormPainter
Parameters:
cols - number of form element columns to span
nestingLevel - The nesting Level of the row in the form element tree
Returns:
ConcreteElement
See Also:
DefFormPainter.doCreateRowSeparator(int, int)


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