com.sap.ui.commons.client
Class Title

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

public class Title
extends com.sap.ui.core.client.Element

The class Title is the GWT wrapper for the Phoenix control: sap.ui.commons.Title.

Represents a title element that can be used for aggregation with other controls.

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

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

Constructor Summary
protected Title()
          constructs the class Title
hidden due to JavaScriptObject restriction
 
Method Summary
static Title create()
          creates a new instance of the class Title
static Title create(String idOrConfig)
          creates a new instance of the class Title
static Title create(String id, String config)
          creates a new instance of the class Title
 String getIcon()
          Getter for property icon Property for icon URL.
 String getText()
          Getter for property text Property for title text.
 Title setIcon(String value)
          Setter for property icon
 Title setText(String value)
          Setter for property text
 
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

Title

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

Method Detail

create

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


create

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

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

create

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

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

getText

public final String getText()
Getter for property text Property for title text.

Returns:
the value of property text

setText

public final Title setText(String value)
Setter for property text

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

getIcon

public final String getIcon()
Getter for property icon Property for icon URL.

Returns:
the value of property icon

setIcon

public final Title setIcon(String value)
Setter for property icon

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


Copyright © 2011 SAP. All Rights Reserved.