com.sap.ui.core.client
Class PanelControl

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.sap.ui.core.client.Element
          extended by com.sap.ui.core.client.Control
              extended by com.sap.ui.core.client.PanelControl

public class PanelControl
extends Control

The class PanelControl builds the bridge between the GWT Panels and the Phoenix Controls. This base class allows to use a GWT Panel within a Phoenix Control.

Version:
1.0 - 29.09.2010 15:56:26, Revision Version: ($Revision: #3 $), Revision Date: ($Date: 2011/07/05 $)
Author:
D039071@exchange.sap.corp, Revision Author: ($Author: d039071 $)

Constructor Summary
protected PanelControl()
          constructs the class ControlPanel hidden due to JavaScriptObject restriction
 
Method Summary
static PanelControl create(com.google.gwt.user.client.ui.Panel panel)
          creates a new instance of the class HTML
static PanelControl createAndAdd(com.google.gwt.user.client.ui.Widget widget)
          Deprecated. use method wrap instead
 com.google.gwt.user.client.ui.Panel getPanel()
          returns the reference to the Panel
static PanelControl wrap(com.google.gwt.user.client.ui.Widget widget)
          creates a new instance of the class HTML and uses a SimplePanel where the given Widget is wrapped into
 
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

PanelControl

protected PanelControl()
constructs the class ControlPanel hidden due to JavaScriptObject restriction

Method Detail

create

public static PanelControl create(com.google.gwt.user.client.ui.Panel panel)
creates a new instance of the class HTML

Parameters:
panel - reference to the Panel

createAndAdd

public static PanelControl createAndAdd(com.google.gwt.user.client.ui.Widget widget)
Deprecated. use method wrap instead

creates a new instance of the class HTML and uses a SimplePanel where the given Widget is being added to

Parameters:
widget - reference to the Widget

wrap

public static PanelControl wrap(com.google.gwt.user.client.ui.Widget widget)
creates a new instance of the class HTML and uses a SimplePanel where the given Widget is wrapped into

Parameters:
widget - reference to the Widget

getPanel

public final com.google.gwt.user.client.ui.Panel getPanel()
returns the reference to the Panel

Returns:
reference to the Panel


Copyright © 2011 SAP. All Rights Reserved.