com.sapportals.htmlb

Class ClientEventContainer

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

public class ClientEventContainer
extends Container

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

Copyright (c) SAP AG 2002


Field Summary
static String UI_ID
           
 
Fields inherited from class com.sapportals.htmlb.Container
elements
 
Constructor Summary
ClientEventContainer()
           
 
Method Summary
 void addEvent(String eventName, String clientFunction)
           
 HashMap getEvents()
           
 String getUI()
          get a identification String for the renderer that is unique across all supported components.
 boolean requiresForm()
          a ClientEventContainer does not require a Form.
 
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

ClientEventContainer

public ClientEventContainer()
Method Detail

getEvents

public HashMap getEvents()

addEvent

public void addEvent(String eventName,
                     String clientFunction)

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 ClientEventContainer does not require a Form.

Overrides:
requiresForm in class Component
Returns:
false


Copyright 2006 SAP AG Complete Copyright Notice