com.sapportals.htmlb

Class FlowLayout

java.lang.Object
  extended bycom.sapportals.htmlb.Component
      extended bycom.sapportals.htmlb.Container
          extended bycom.sapportals.htmlb.FlowLayout

public class FlowLayout
extends Container

A very simple container that simply renders its content without any additions.

Copyright 2004 SAP AG


Field Summary
static String UI_ID
           
 
Fields inherited from class com.sapportals.htmlb.Container
elements
 
Constructor Summary
FlowLayout()
           
 
Method Summary
 String getUI()
          get a identification String for the renderer that is unique across all supported components.
 boolean getWrapping()
           
 boolean requiresForm()
          a FlowLayout does not require a Form.
 void setWrapping(boolean wrap)
           
 
Methods inherited from class com.sapportals.htmlb.Container
addComponent, addRawText, addText, getChildCount, iterator, preRender, removeComponent, render
 
Methods inherited from class com.sapportals.htmlb.Component
getEncodedIdForForm, getId, getParent, initFromPageContext, initFromShortId, initializeFromId, isJsObjectNeeded, render, renderAsString, setId, setJsObjectNeeded, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UI_ID

public static final String UI_ID
See Also:
Constant Field Values
Constructor Detail

FlowLayout

public FlowLayout()
Method Detail

getWrapping

public boolean getWrapping()

setWrapping

public void setWrapping(boolean wrap)

getUI

public String getUI()
Description copied from class: Component
get a identification String for the renderer that is unique across all supported components. E.g. you could simply return the class name of the component class. The reason for using a separate method and not some internal reflection method is that you can more easily extend the functionality or your Component class without having to rewrite the view class.

Specified by:
getUI in class Component
Returns:
a unique identification string for this Component

requiresForm

public boolean requiresForm()
a FlowLayout does not require a Form.

Overrides:
requiresForm in class Component
Returns:
false


Copyright 2006 SAP AG Complete Copyright Notice