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

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.DefSimpleFramePainter
All Implemented Interfaces:
FramePainter

public class DefSimpleFramePainter
extends DefFramePainterBase

Concrete Frame painter

Version:
$Revision: 1.7 $
Author:
Harald Schulz

Field Summary
 
Fields inherited from class com.cc.framework.ui.painter.ControlPortionPainter
 
Constructor Summary
DefSimpleFramePainter()
          Creates a new FramePainter
 
Method Summary
 void addSection(Frame frame, FrameTitle title, boolean showFrame)
          Adds a new titled section to the given 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

DefSimpleFramePainter

public DefSimpleFramePainter()
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)

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)

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)

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)

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)


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