|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.Component
com.sapportals.htmlb.BreadCrumb
Title: BreadCrumb Control
Copyright 2004 SAP AG
| Field Summary | |
static String |
UI_ID
|
| Constructor Summary | |
BreadCrumb(String id)
Creates BreadCrumb Object with specific id |
|
| Method Summary | |
void |
addItem(String key,
String text)
Inserts a new item at the end of the list. |
protected IListModel |
createDefaultModel()
Internal constructor for a default ListModel. |
BreadCrumbBehavior |
getBehavior()
gets the behavior of the BreadCrump. |
Iterator |
getKeys()
get an Iterator for all keys contained
in this DropdownListBox |
IListModel |
getModel()
get the model underlying this ListBox |
String |
getNameOfKeyColumn()
get the name of the column that contains the keys. |
String |
getOnClick()
|
BreadCrumbSize |
getSize()
gets the size of the BreadCrump. |
String |
getTextForKey(String key)
Returns the text of a ListBox item |
String |
getTooltip()
|
String |
getUI()
get a identification String for the renderer that is unique across all supported components. |
boolean |
requiresForm()
check if a special component really requires a form around it. |
void |
setBehavior(BreadCrumbBehavior behavior)
sets the behavior of the BreadCrump. |
void |
setModel(IListModel model)
set the model for this ListBox |
void |
setNameOfKeyColumn(String nameOfKeyColumn)
specify the name of the column that contains the keys. |
void |
setOnClick(String onClick)
|
void |
setSize(BreadCrumbSize size)
sets the size of the BreadCrump. |
void |
setTooltip(String tooltip)
|
| 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 |
| Field Detail |
public static final String UI_ID
| Constructor Detail |
public BreadCrumb(String id)
| Method Detail |
public String getTooltip()
public void setTooltip(String tooltip)
public String getOnClick()
public void setOnClick(String onClick)
protected IListModel createDefaultModel()
public IListModel getModel()
public void setModel(IListModel model)
model - the modelpublic String getNameOfKeyColumn()
public void setNameOfKeyColumn(String nameOfKeyColumn)
nameOfKeyColumn - the name/identifier of the key columnpublic String getUI()
getUI in class Component
public void addItem(String key,
String text)
key - The key name of the itemtext - The text displayed in the ListBoxpublic String getTextForKey(String key)
key - The key of ListBox item
public Iterator getKeys()
Iterator for all keys contained
in this DropdownListBox
public BreadCrumbSize getSize()
public void setSize(BreadCrumbSize size)
size - the size of the BreadCrumppublic BreadCrumbBehavior getBehavior()
public void setBehavior(BreadCrumbBehavior behavior)
behavior - the behavior of the BreadCrumppublic boolean requiresForm()
ComponentBasically, any Component that is capable of firing a server side event or that contains user input must be placed in a form.
requiresForm in class Component
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||