com.sap.ui.commons.client
Class RichTooltip

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.sap.ui.core.client.Element
          extended by com.sap.ui.core.client.TooltipBase
              extended by com.sap.ui.commons.client.RichTooltip

public class RichTooltip
extends com.sap.ui.core.client.TooltipBase

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.

For further parameters see {@link com.sap.ui.core.client.TooltipBase

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR (JavaScript control: sap.ui.commons.RichTooltip)

Constructor Summary
protected RichTooltip()
          constructs the class RichTooltip
hidden 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

RichTooltip

protected RichTooltip()
constructs the class RichTooltip
hidden due to JavaScriptObject restriction

Method Detail

create

public static RichTooltip create()
creates a new instance of the class RichTooltip


create

public static RichTooltip create(String idOrConfig)
creates a new instance of the class RichTooltip

Parameters:
id - id of the RichTooltip or configuration JSON string

create

public static RichTooltip create(String id,
                                 String config)
creates a new instance of the class RichTooltip

Parameters:
id - id of the RichTooltip
config - configuration JSON string

getTitle

public final String getTitle()
Getter for property title Tooltip title to be displayed in the header.

Returns:
the value of property title

setTitle

public final RichTooltip setTitle(String value)
Setter for property title

Parameters:
value - String
Returns:
this to allow method chaining

getImageSrc

public final String getImageSrc()
Getter for property imageSrc Path to the image that is to be displayed in the tooltip content.

Returns:
the value of property imageSrc

setImageSrc

public final RichTooltip setImageSrc(String value)
Setter for property imageSrc

Parameters:
value - String
Returns:
this to allow method chaining


Copyright © 2011 SAP. All Rights Reserved.