|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.sap.ui.core.client.ControlWidget
com.sap.ui.core.client.HTMLWidget
public class HTMLWidget
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
|
HTMLWidget()
constructs the class HTMLWidget |
protected |
HTMLWidget(HTML control)
constructs the class HTMLWidget |
|
HTMLWidget(String id)
constructs the class HTMLWidget |
| Method Summary | |
|---|---|
void |
attachAfterRenderingEvent(EventListener listener)
attach an EventListener
Fired after the HTML control has been rendered. |
void |
detachAfterRenderingEvent(EventListener listener)
detach an EventListener
Fired after the HTML control has been rendered. |
String |
getContent()
Getter for property content
HTML to be displayed. |
HTML |
getControl()
returns the reference to the Phoenix Control |
boolean |
isPreferDOM()
Getter for property preferDOM
Whether to prefer existing DOM content in comparison to a given content string. |
void |
setContent(String value)
Setter for property content |
void |
setPreferDOM(boolean value)
Setter for property preferDOMDefault value is: false |
| Methods inherited from class com.sap.ui.core.client.ControlWidget |
|---|
destroy, doAttachChildren, doDetachChildren, isDesignTime, wrap |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLWidget()
HTMLWidget
public HTMLWidget(String id)
HTMLWidget
id - id of the HTMLWidgetprotected HTMLWidget(HTML control)
HTMLWidget
control - reference to an existing HTML| Method Detail |
|---|
public HTML getControl()
Control
getControl in class ControlWidgetControlpublic String getContent()
content
HTML to be displayed. The HTML content must be enclosed by tags; plaintext is not possible.
public void setContent(String value)
content
value - Stringpublic boolean isPreferDOM()
preferDOM
Whether to prefer existing DOM content in comparison to a given content string.
public void setPreferDOM(boolean value)
preferDOMfalse
value - booleanpublic void 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 EventListenerpublic void 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||