com.sapportals.htmlb.toolbar
Class ToolbarSeparator
java.lang.Object
com.sapportals.htmlb.Component
com.sapportals.htmlb.toolbar.ToolbarSeparator
- public class ToolbarSeparator
- extends Component
|
Method Summary |
String |
getUI()
get a identification String for the renderer that is unique
across all supported components. |
boolean |
isTransparent()
returns true if the design of the sparator is transparent |
boolean |
requiresForm()
a ToolbarSeparator does not require a form |
void |
setTransparent(boolean transparent)
sets the design for the separator |
| Methods inherited from class com.sapportals.htmlb.Component |
getEncodedIdForForm, getId, getParent, initFromPageContext, initFromShortId, initializeFromId, isJsObjectNeeded, preRender, 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
ToolbarSeparator
public ToolbarSeparator()
- creates a toolbar separator
isTransparent
public boolean isTransparent()
- returns true if the design of the sparator is transparent
- Returns:
- true if the design is transparent
setTransparent
public void setTransparent(boolean transparent)
- sets the design for the separator
- Parameters:
transparent - true, if the design is tranparent
getUI
public String getUI()
- 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 ToolbarSeparator does not require a form
- Overrides:
requiresForm in class Component
- Returns:
- true if the component must be placed in a form.
Copyright 2006 SAP AG Complete Copyright Notice