|
||||||||||
| 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.mvc.ViewWidget
public class ViewWidget
The class View is the GWT wrapper
for the Phoenix control: sap.ui.core.mvc.View.
View
| 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 | |
|---|---|
|
ViewWidget()
constructs the class ViewWidget |
|
ViewWidget(String id)
constructs the class ViewWidget |
protected |
ViewWidget(View control)
constructs the class ViewWidget |
| Method Summary | |
|---|---|
void |
attachAfterInitEvent(EventListener listener)
attach an EventListener
Fired when the View has parsed the UI description and instantiated the contained controls (/control tree). |
void |
attachAfterRenderingEvent(EventListener listener)
attach an EventListener
Fired when the View has been (re-)rendered and its HTML is present in the DOM. |
void |
attachBeforeExitEvent(EventListener listener)
attach an EventListener
Fired when the view has received the request to destroy itself, but before it has destroyed anything. |
void |
attachBeforeRenderingEvent(EventListener listener)
attach an EventListener
Fired before this View is re-rendered. |
void |
detachAfterInitEvent(EventListener listener)
detach an EventListener
Fired when the View has parsed the UI description and instantiated the contained controls (/control tree). |
void |
detachAfterRenderingEvent(EventListener listener)
detach an EventListener
Fired when the View has been (re-)rendered and its HTML is present in the DOM. |
void |
detachBeforeExitEvent(EventListener listener)
detach an EventListener
Fired when the view has received the request to destroy itself, but before it has destroyed anything. |
void |
detachBeforeRenderingEvent(EventListener listener)
detach an EventListener
Fired before this View is re-rendered. |
View |
getControl()
returns the reference to the Phoenix Control |
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 |
void |
setHeight(String value)
Setter for property height |
void |
setViewName(String value)
Setter for property viewName |
void |
setWidth(String value)
Setter for property width |
| 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, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ViewWidget()
ViewWidget
public ViewWidget(String id)
ViewWidget
id - id of the ViewWidgetprotected ViewWidget(View control)
ViewWidget
control - reference to an existing View| Method Detail |
|---|
public View getControl()
Control
getControl in class ControlWidgetControlpublic String getWidth()
width
The width
public void setWidth(String value)
width
setWidth in class com.google.gwt.user.client.ui.UIObjectvalue - Stringpublic String getHeight()
height
The height
public void setHeight(String value)
height
setHeight in class com.google.gwt.user.client.ui.UIObjectvalue - Stringpublic String getViewName()
viewName
Name of the View
public void setViewName(String value)
viewName
value - Stringpublic void attachAfterInitEvent(EventListener listener)
EventListener
Fired when the View has parsed the UI description and instantiated the contained controls (/control tree).
listener - reference to the EventListenerpublic void detachAfterInitEvent(EventListener listener)
EventListener
Fired when the View has parsed the UI description and instantiated the contained controls (/control tree).
listener - reference to the EventListenerpublic void 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 EventListenerpublic void 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 EventListenerpublic void attachAfterRenderingEvent(EventListener listener)
EventListener
Fired when the View has been (re-)rendered and its HTML is present in the DOM.
listener - reference to the EventListenerpublic void detachAfterRenderingEvent(EventListener listener)
EventListener
Fired when the View has been (re-)rendered and its HTML is present in the DOM.
listener - reference to the EventListenerpublic void attachBeforeRenderingEvent(EventListener listener)
EventListener
Fired before this View is re-rendered. Us to unbind event handlers from HTML elements etc.
listener - reference to the EventListenerpublic void detachBeforeRenderingEvent(EventListener listener)
EventListener
Fired before this View is re-rendered. Us to unbind event handlers from HTML elements etc.
listener - reference to the EventListenerpublic Object getController()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||