com.sapportals.htmlb

Class ButtonRow

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

public class ButtonRow
extends Container


Field Summary
static String UI_ID
           
 
Fields inherited from class com.sapportals.htmlb.Container
elements
 
Constructor Summary
ButtonRow()
           
 
Method Summary
 Component addButton(Button button)
          add a button to the ButtonRow.
 Component addComponent(Component component)
          add a component to the ButtonRow.
 String addRawText(String text)
          adding a raw text to a ButtonRow is not supported
 String addText(String text)
          adding a text to a ButtonRow is not supported
 String getUI()
          get a identification String for the renderer that is unique across all supported components.
 boolean requiresForm()
          a buttonrow does not require a Form.
 
Methods inherited from class com.sapportals.htmlb.Container
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

ButtonRow

public ButtonRow()
Method Detail

addComponent

public Component addComponent(Component component)
add a component to the ButtonRow. Only components of type Button are supported for the ButtonRow

Overrides:
addComponent in class Container
Parameters:
component - the component to add

addButton

public Component addButton(Button button)
add a button to the ButtonRow.

Parameters:
button - the button to add

requiresForm

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

Overrides:
requiresForm in class Component
Returns:
false

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

addText

public String addText(String text)
adding a text to a ButtonRow is not supported

Overrides:
addText in class Container
Parameters:
text - the text to add

addRawText

public String addRawText(String text)
adding a raw text to a ButtonRow is not supported

Overrides:
addRawText in class Container
Parameters:
text - the text to add


Copyright 2006 SAP AG Complete Copyright Notice