|
||||||||||
| 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.mvc.View
public class View
The class View is the GWT wrapper
for the Phoenix control: sap.ui.core.mvc.View.
View
| Constructor Summary | |
|---|---|
protected |
View()
constructs the class Viewhidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
View |
attachAfterInitEvent(EventListener listener)
attach an EventListener
Fired when the View has parsed the UI description and instantiated the contained controls (/control tree). |
View |
attachAfterRenderingEvent(EventListener listener)
attach an EventListener
Fired when the View has been (re-)rendered and its HTML is present in the DOM. |
View |
attachBeforeExitEvent(EventListener listener)
attach an EventListener
Fired when the view has received the request to destroy itself, but before it has destroyed anything. |
View |
attachBeforeRenderingEvent(EventListener listener)
attach an EventListener
Fired before this View is re-rendered. |
static View |
create()
creates a new instance of the class View |
static View |
create(String idOrConfig)
creates a new instance of the class View |
static View |
create(String id,
String config)
creates a new instance of the class View |
View |
detachAfterInitEvent(EventListener listener)
detach an EventListener
Fired when the View has parsed the UI description and instantiated the contained controls (/control tree). |
View |
detachAfterRenderingEvent(EventListener listener)
detach an EventListener
Fired when the View has been (re-)rendered and its HTML is present in the DOM. |
View |
detachBeforeExitEvent(EventListener listener)
detach an EventListener
Fired when the view has received the request to destroy itself, but before it has destroyed anything. |
View |
detachBeforeRenderingEvent(EventListener listener)
detach an EventListener
Fired before this View is re-rendered. |
Object |
getController()
Returns the view's Controller instance (if any) |
String |
getHeight()
Getter for property height
The height |
String |
getViewName()
Getter for property viewName
Name of the View |
String |
getWidth()
Getter for property width
The width |
View |
setHeight(String value)
Setter for property height |
View |
setViewName(String value)
Setter for property viewName |
View |
setWidth(String value)
Setter for property width |
| 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 View()
ViewJavaScriptObject restriction
| Method Detail |
|---|
public static View create()
View
public static View create(String idOrConfig)
View
id - id of the View or configuration JSON string
public static View create(String id,
String config)
View
id - id of the Viewconfig - configuration JSON stringpublic final String getWidth()
width
The width
public final View setWidth(String value)
width
value - String
this to allow method chainingpublic final String getHeight()
height
The height
public final View setHeight(String value)
height
value - String
this to allow method chainingpublic final String getViewName()
viewName
Name of the View
public final View setViewName(String value)
viewName
value - String
this to allow method chainingpublic final View attachAfterInitEvent(EventListener listener)
EventListener
Fired when the View has parsed the UI description and instantiated the contained controls (/control tree).
listener - reference to the EventListener
this to allow method chainingpublic final View detachAfterInitEvent(EventListener listener)
EventListener
Fired when the View has parsed the UI description and instantiated the contained controls (/control tree).
listener - reference to the EventListener
this to allow method chainingpublic final View attachBeforeExitEvent(EventListener listener)
EventListener
Fired when the view has received the request to destroy itself, but before it has destroyed anything.
listener - reference to the EventListener
this to allow method chainingpublic final View detachBeforeExitEvent(EventListener listener)
EventListener
Fired when the view has received the request to destroy itself, but before it has destroyed anything.
listener - reference to the EventListener
this to allow method chainingpublic final View attachAfterRenderingEvent(EventListener listener)
EventListener
Fired when the View has been (re-)rendered and its HTML is present in the DOM.
listener - reference to the EventListener
this to allow method chainingpublic final View detachAfterRenderingEvent(EventListener listener)
EventListener
Fired when the View has been (re-)rendered and its HTML is present in the DOM.
listener - reference to the EventListener
this to allow method chainingpublic final View attachBeforeRenderingEvent(EventListener listener)
EventListener
Fired before this View is re-rendered. Us to unbind event handlers from HTML elements etc.
listener - reference to the EventListener
this to allow method chainingpublic final View detachBeforeRenderingEvent(EventListener listener)
EventListener
Fired before this View is re-rendered. Us to unbind event handlers from HTML elements etc.
listener - reference to the EventListener
this to allow method chainingpublic final Object getController()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||