com.sapportals.htmlb

Class StyleContainer

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

public class StyleContainer
extends Container

An area of fixed size that scrolls if contents are bigger

Copyright 2004 SAP AG


Field Summary
static String UI_ID
           
static int VAR_BEGIN
           
static int VAR_END
           
 
Fields inherited from class com.sapportals.htmlb.Container
elements
 
Constructor Summary
StyleContainer()
          create a new Group with default values, i.e.
 
Method Summary
 String getStyle()
          gets the style string of the container
 String getUI()
          get a identification String for the renderer that is unique across all supported components.
 boolean requiresForm()
          Determines if this Group requires to be placed in form.
 void setStyle(String style)
          sets the style string of the container element
 
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

VAR_BEGIN

public static final int VAR_BEGIN
See Also:
Constant Field Values

VAR_END

public static final int VAR_END
See Also:
Constant Field Values
Constructor Detail

StyleContainer

public StyleContainer()
create a new Group with default values, i.e. design SAPCOLOR, width 100% and no title.

Method Detail

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

setStyle

public void setStyle(String style)
sets the style string of the container element

Parameters:
style - style string

getStyle

public String getStyle()
gets the style string of the container

Returns:
style string

requiresForm

public boolean requiresForm()
Determines if this Group requires to be placed in form. Always returns false.

Overrides:
requiresForm in class Component
Returns:
false: a Group doesn't require a form.


Copyright 2006 SAP AG Complete Copyright Notice