com.cc.framework.ui.painter.def.frame
Class DefFormFramePainter

java.lang.Object
  extended bycom.cc.framework.ui.painter.ControlPortionPainter
      extended bycom.cc.framework.ui.painter.def.frame.DefFramePainterBase
          extended bycom.cc.framework.ui.painter.def.frame.DefFormFramePainter
All Implemented Interfaces:
FramePainter
Direct Known Subclasses:
DefErrorFramePainter, DefInfoFramePainter, DefSearchFramePainter, DefSeverityFramePainter, DefWarningFramePainter

public class DefFormFramePainter
extends DefFramePainterBase

Concrete Frame painter

Version:
$Revision: 1.13 $
Author:
Harald Schulz

Field Summary
 
Fields inherited from class com.cc.framework.ui.painter.ControlPortionPainter
 
Constructor Summary
DefFormFramePainter()
          Creates a new FramePainter
 
Method Summary
 void addSection(Frame frame, FrameTitle title, boolean showFrame)
          Adds a new titled section to the given frame
protected  CompositeElement createBody()
          Creates the body element of the frame
 Frame createFrame(boolean showFrame)
          Creates a frame
 Frame createFrame(FrameTitle title, boolean showFrame)
          Creates a frame with a title bar
 Frame createInnerFrame(boolean showFrame)
          Creates a inner frame
 org.apache.ecs.ConcreteElement createTitle(FrameTitle title, boolean showFrame)
          Creates the title of the frame.
 
Methods inherited from class com.cc.framework.ui.painter.def.frame.DefFramePainterBase
createButtonList, createHelpButton, createInnerFrame, showButtons, showHelpButton
 
Methods inherited from class com.cc.framework.ui.painter.ControlPortionPainter
attr, attr, attr, createActionPainter, createActionPainter, createImage, createImage, createImage, createSpacer, getColor, getControlPainter, getElementClass, getFrameworkString, getFrameworkString, getImage, getImage, getImageSrc, getImageSrc, getLocale, getPageContext, getPainterContext, getPrincipal, getSafeLocale, html, html, html, isRunAtClient, localize, removeHtml, removeHtml, setControlPainter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.cc.framework.ui.painter.FramePainter
setControlPainter
 

Constructor Detail

DefFormFramePainter

public DefFormFramePainter()
Creates a new FramePainter

Method Detail

createFrame

public Frame createFrame(boolean showFrame)
Description copied from interface: FramePainter
Creates a frame

Parameters:
showFrame - This flag indicates if the painter should create a visible or invisible frame
Returns:
Frame element
See Also:
FramePainter.createFrame(boolean)

createFrame

public Frame createFrame(FrameTitle title,
                         boolean showFrame)
Description copied from interface: FramePainter
Creates a frame with a title bar

Parameters:
title - The frames title
showFrame - This flag indicates if the painter should create a visible or invisible frame
Returns:
Frame element
See Also:
FramePainter.createFrame(com.cc.framework.ui.model.FrameTitle, boolean)

addSection

public void addSection(Frame frame,
                       FrameTitle title,
                       boolean showFrame)
Description copied from interface: FramePainter
Adds a new titled section to the given frame

Parameters:
frame - the frame where to add a new section
title - The frames title
showFrame - This flag indicates if the painter should create a visible or invisible frame
See Also:
FramePainter.addSection(com.cc.framework.ui.painter.Frame, com.cc.framework.ui.model.FrameTitle, boolean)

createInnerFrame

public Frame createInnerFrame(boolean showFrame)
Description copied from interface: FramePainter
Creates a inner frame

Parameters:
showFrame - This flag indicates if the painter should create a visible or invisible frame
Returns:
Frame element
See Also:
FramePainter.createInnerFrame(boolean)

createBody

protected CompositeElement createBody()
Creates the body element of the frame

Returns:
Body Table element

createTitle

public org.apache.ecs.ConcreteElement createTitle(FrameTitle title,
                                                  boolean showFrame)
Description copied from interface: FramePainter
Creates the title of the frame.

Parameters:
title - The frames title
showFrame - This flag indicates if the painter should create a visible or invisible frame
Returns:
ConcreteElement
See Also:
FramePainter.createTitle(com.cc.framework.ui.model.FrameTitle, boolean)


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