com.sap.ui.core.client
Class TooltipBase

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

public class TooltipBase
extends Element

The class TooltipBase is the GWT wrapper for the Phoenix control: sap.ui.core.TooltipBase.

Base class for any extended tooltip, for example for RichTooltip. It provides the opening/closing behavior and the main "text" property.

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

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR (JavaScript control: sap.ui.core.TooltipBase)

Constructor Summary
protected TooltipBase()
          constructs the class TooltipBase
hidden due to JavaScriptObject restriction
 
Method Summary
static TooltipBase create()
          creates a new instance of the class TooltipBase
static TooltipBase create(String idOrConfig)
          creates a new instance of the class TooltipBase
static TooltipBase create(String id, String config)
          creates a new instance of the class TooltipBase
 String getText()
          Getter for property text The text that is shown in the tooltip that extends the TooltipBase class, for example in RichTooltip.
 TooltipBase setText(String value)
          Setter for property text
Default value is: ""
 
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

TooltipBase

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

Method Detail

create

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


create

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

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

create

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

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

getText

public final String getText()
Getter for property text The text that is shown in the tooltip that extends the TooltipBase class, for example in RichTooltip.

Returns:
the value of property text

setText

public final TooltipBase setText(String value)
Setter for property text
Default value is: ""

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


Copyright © 2011 SAP. All Rights Reserved.