|
||||||||||
| 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.Control
com.sap.ui.core.client.HTML
public class HTML
The class HTML is the GWT wrapper
for the Phoenix control: sap.ui.core.HTML.
Embeds HTML in the tree provided by the SAP UI HTML5 Rendering Library.
| Constructor Summary | |
|---|---|
protected |
HTML()
constructs the class HTMLhidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
HTML |
attachAfterRenderingEvent(EventListener listener)
attach an EventListener
Fired after the HTML control has been rendered. |
static HTML |
create()
creates a new instance of the class HTML |
static HTML |
create(String idOrConfig)
creates a new instance of the class HTML |
static HTML |
create(String id,
String config)
creates a new instance of the class HTML |
HTML |
detachAfterRenderingEvent(EventListener listener)
detach an EventListener
Fired after the HTML control has been rendered. |
String |
getContent()
Getter for property content
HTML to be displayed. |
boolean |
isPreferDOM()
Getter for property preferDOM
Whether to prefer existing DOM content in comparison to a given content string. |
HTML |
setContent(String value)
Setter for property content |
HTML |
setPreferDOM(boolean value)
Setter for property preferDOMDefault value is: false |
| Methods inherited from class com.sap.ui.core.client.Control |
|---|
addStyleClass, hasStyleClass, invalidate, placeAt, placeAt, removeStyleClass, rerender |
| 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 HTML()
HTMLJavaScriptObject restriction
| Method Detail |
|---|
public static HTML create()
HTML
public static HTML create(String idOrConfig)
HTML
id - id of the HTML or configuration JSON string
public static HTML create(String id,
String config)
HTML
id - id of the HTMLconfig - configuration JSON stringpublic final String getContent()
content
HTML to be displayed. The HTML content must be enclosed by tags; plaintext is not possible.
public final HTML setContent(String value)
content
value - String
this to allow method chainingpublic final boolean isPreferDOM()
preferDOM
Whether to prefer existing DOM content in comparison to a given content string.
public final HTML setPreferDOM(boolean value)
preferDOMfalse
value - boolean
this to allow method chainingpublic final HTML attachAfterRenderingEvent(EventListener listener)
EventListener
Fired after the HTML control has been rendered. Allows to manipulate the resulting DOM.
When the control doesn't have string content and no preserved DOM existed for this control, then this event will fire, but there won't be a DOM node for this control.
listener - reference to the EventListener
this to allow method chainingpublic final HTML detachAfterRenderingEvent(EventListener listener)
EventListener
Fired after the HTML control has been rendered. Allows to manipulate the resulting DOM.
When the control doesn't have string content and no preserved DOM existed for this control, then this event will fire, but there won't be a DOM node for this control.
listener - reference to the EventListener
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||