|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.sap.ui.core.client.Element
com.sap.ui.core.client.TooltipBase
com.sap.ui.commons.client.RichTooltip
public class RichTooltip
The class RichTooltip is the GWT wrapper
for the Phoenix control: sap.ui.commons.RichTooltip.
In comparison to the tooltips created using the TooltipBase, the RichtToolTip control additionally supports the long texts, images, and titles.
| Constructor Summary | |
|---|---|
protected |
RichTooltip()
constructs the class RichTooltiphidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
static RichTooltip |
create()
creates a new instance of the class RichTooltip |
static RichTooltip |
create(String idOrConfig)
creates a new instance of the class RichTooltip |
static RichTooltip |
create(String id,
String config)
creates a new instance of the class RichTooltip |
String |
getImageSrc()
Getter for property imageSrc
Path to the image that is to be displayed in the tooltip content. |
String |
getTitle()
Getter for property title
Tooltip title to be displayed in the header. |
RichTooltip |
setImageSrc(String value)
Setter for property imageSrc |
RichTooltip |
setTitle(String value)
Setter for property title |
| Methods inherited from class com.sap.ui.core.client.TooltipBase |
|---|
getText, setText |
| Methods inherited from class com.sap.ui.core.client.Element |
|---|
_convertArray, _convertArray, _convertArray, _convertArray, _convertArray, attachBrowserEvent, attachEvent, bindAggregation, bindContext, bindProperty, bindProperty, destroy, detachBrowserEvent, detachEvent, getDomRef, getElementName, getId, getLibraryName, getModel, getParent, getProperty, getTooltip_AsString, getTooltip_Text, getTooltip, isActive, setModel, setProperty, setTooltip, setTooltip, unbindAggregation, unbindContext, unbindProperty |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected RichTooltip()
RichTooltipJavaScriptObject restriction
| Method Detail |
|---|
public static RichTooltip create()
RichTooltip
public static RichTooltip create(String idOrConfig)
RichTooltip
id - id of the RichTooltip or configuration JSON string
public static RichTooltip create(String id,
String config)
RichTooltip
id - id of the RichTooltipconfig - configuration JSON stringpublic final String getTitle()
title
Tooltip title to be displayed in the header.
public final RichTooltip setTitle(String value)
title
value - String
this to allow method chainingpublic final String getImageSrc()
imageSrc
Path to the image that is to be displayed in the tooltip content.
public final RichTooltip setImageSrc(String value)
imageSrc
value - String
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||