com.cc.framework.ui.painter.html
Class HtmlSpinPainter

java.lang.Object
  extended bycom.cc.framework.ui.painter.ControlPainter
      extended bycom.cc.framework.ui.painter.html.HtmlPainterBase
          extended bycom.cc.framework.ui.painter.html.HtmlTextPainter
              extended bycom.cc.framework.ui.painter.html.HtmlSpinPainter

public class HtmlSpinPainter
extends HtmlTextPainter

Painter for the spin control.

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

Field Summary
 
Fields inherited from class com.cc.framework.ui.painter.html.HtmlTextPainter
 
Fields inherited from class com.cc.framework.ui.painter.ControlPainter
log
 
Constructor Summary
HtmlSpinPainter(PainterContext painterContext, SpinControl ctrl)
          Constructor for HtmlCalendarPainter
 
Method Summary
protected  org.apache.ecs.ConcreteElement createSpinDownButton()
          Creates the spin down button
protected  org.apache.ecs.ConcreteElement createSpinUpButton()
          Creates the spin up button
protected  org.apache.ecs.ConcreteElement doCreateElement()
          Creates the HTML-Element.
 
Methods inherited from class com.cc.framework.ui.painter.html.HtmlTextPainter
doCreateDisplayElement, doCreateEditElement, getCtrl, getValue
 
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, getElementClass, 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

HtmlSpinPainter

public HtmlSpinPainter(PainterContext painterContext,
                       SpinControl ctrl)
Constructor for HtmlCalendarPainter

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

doCreateElement

protected org.apache.ecs.ConcreteElement doCreateElement()
Description copied from class: ControlPainter
Creates the HTML-Element. This Method must be implemented by the concrete Sub-Class

Overrides:
doCreateElement in class HtmlTextPainter
See Also:
ControlPainter.doCreateElement()

createSpinUpButton

protected org.apache.ecs.ConcreteElement createSpinUpButton()
Creates the spin up button

Returns:
Returns a button element

createSpinDownButton

protected org.apache.ecs.ConcreteElement createSpinDownButton()
Creates the spin down button

Returns:
Returns a button element


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