com.sap.ui.core.client.mvc
Class ViewWidget

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.sap.ui.core.client.ControlWidget
              extended by com.sap.ui.core.client.mvc.ViewWidget
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget
Direct Known Subclasses:
JsonViewWidget, JsViewWidget, XmlViewWidget

public class ViewWidget
extends ControlWidget

The class View is the GWT wrapper for the Phoenix control: sap.ui.core.mvc.View.

View

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR (JavaScript control: )

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

ViewWidget

public ViewWidget()
constructs the class ViewWidget


ViewWidget

public ViewWidget(String id)
constructs the class ViewWidget

Parameters:
id - id of the ViewWidget

ViewWidget

protected ViewWidget(View control)
constructs the class ViewWidget

Parameters:
control - reference to an existing View
Method Detail

getControl

public View getControl()
returns the reference to the Phoenix Control

Overrides:
getControl in class ControlWidget
Returns:
reference to the Phoenix Control

getWidth

public String getWidth()
Getter for property width The width

Returns:
the value of property width

setWidth

public void setWidth(String value)
Setter for property width

Overrides:
setWidth in class com.google.gwt.user.client.ui.UIObject
Parameters:
value - String

getHeight

public String getHeight()
Getter for property height The height

Returns:
the value of property height

setHeight

public void setHeight(String value)
Setter for property height

Overrides:
setHeight in class com.google.gwt.user.client.ui.UIObject
Parameters:
value - String

getViewName

public String getViewName()
Getter for property viewName Name of the View

Returns:
the value of property viewName

setViewName

public void setViewName(String value)
Setter for property viewName

Parameters:
value - String

attachAfterInitEvent

public void attachAfterInitEvent(EventListener listener)
attach an EventListener Fired when the View has parsed the UI description and instantiated the contained controls (/control tree).

Parameters:
listener - reference to the EventListener

detachAfterInitEvent

public void detachAfterInitEvent(EventListener listener)
detach an EventListener Fired when the View has parsed the UI description and instantiated the contained controls (/control tree).

Parameters:
listener - reference to the EventListener

attachBeforeExitEvent

public void attachBeforeExitEvent(EventListener listener)
attach an EventListener Fired when the view has received the request to destroy itself, but before it has destroyed anything.

Parameters:
listener - reference to the EventListener

detachBeforeExitEvent

public void detachBeforeExitEvent(EventListener listener)
detach an EventListener Fired when the view has received the request to destroy itself, but before it has destroyed anything.

Parameters:
listener - reference to the EventListener

attachAfterRenderingEvent

public void attachAfterRenderingEvent(EventListener listener)
attach an EventListener Fired when the View has been (re-)rendered and its HTML is present in the DOM.

Parameters:
listener - reference to the EventListener

detachAfterRenderingEvent

public void detachAfterRenderingEvent(EventListener listener)
detach an EventListener Fired when the View has been (re-)rendered and its HTML is present in the DOM.

Parameters:
listener - reference to the EventListener

attachBeforeRenderingEvent

public void attachBeforeRenderingEvent(EventListener listener)
attach an EventListener Fired before this View is re-rendered. Us to unbind event handlers from HTML elements etc.

Parameters:
listener - reference to the EventListener

detachBeforeRenderingEvent

public void detachBeforeRenderingEvent(EventListener listener)
detach an EventListener Fired before this View is re-rendered. Us to unbind event handlers from HTML elements etc.

Parameters:
listener - reference to the EventListener

getController

public Object getController()
Returns the view's Controller instance (if any)



Copyright © 2011 SAP. All Rights Reserved.