com.sapportals.htmlb
Class ButtonRow
java.lang.Object
com.sapportals.htmlb.Component
com.sapportals.htmlb.Container
com.sapportals.htmlb.ButtonRow
- public class ButtonRow
- extends Container
| 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 |
UI_ID
public static final String UI_ID
- See Also:
- Constant Field Values
ButtonRow
public ButtonRow()
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