com.sap.ui.core.client
Class Control

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
Direct Known Subclasses:
HTML, PanelControl, View

public class Control
extends Element

The class Control is the wrapper JavaScriptObject for the Phoenix JS control. The basic functions have been implemented inside the Control to allow a nearly JS like interaction.

Version:
1.0 - 02.05.2010 11:37:35, Revision Version: ($Revision: #1 $), Revision Date: ($Date: 2011/02/08 $)
Author:
D039071@exchange.sap.corp, Revision Author: ($Author: d039071 $)

Constructor Summary
protected Control()
          constructs the class Control
hidden due to JavaScriptObject restriction
 
Method Summary
 Control addStyleClass(String sStyleClass)
          adds a custom style class to the Control
 boolean hasStyleClass(String sStyleClass)
          checks if a custom style class is applied to the Control
 void invalidate()
          invalidates the Control
 Control placeAt(com.google.gwt.user.client.Element element)
          places the Control within an HTML element.
 Control placeAt(String elementId)
          places the Control within an HTML element.
 Control removeStyleClass(String sStyleClass)
          removes a custom style class to the Control
 void rerender()
          Deprecated. use the function invalidate of the Control
 
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

Control

protected Control()
constructs the class Control
hidden due to JavaScriptObject restriction

Method Detail

addStyleClass

public final Control addStyleClass(String sStyleClass)
adds a custom style class to the Control

Parameters:
sStyleClass - custom style class (CSS)
Returns:
this to allow method chaining

removeStyleClass

public final Control removeStyleClass(String sStyleClass)
removes a custom style class to the Control

Parameters:
sStyleClass - custom style class (CSS)
Returns:
this to allow method chaining

hasStyleClass

public final boolean hasStyleClass(String sStyleClass)
checks if a custom style class is applied to the Control

Parameters:
sStyleClass - custom style class (CSS)
Returns:
true, if the custom style class is applied

placeAt

public final Control placeAt(com.google.gwt.user.client.Element element)
places the Control within an HTML element.

Parameters:
element - reference to the Element
Returns:
this to allow method chaining

placeAt

public final Control placeAt(String elementId)
places the Control within an HTML element.

Parameters:
elementId - id of an existing Element
Returns:
this to allow method chaining

invalidate

public final void invalidate()
invalidates the Control


rerender

public final void rerender()
Deprecated. use the function invalidate of the Control

rerenders the Control



Copyright © 2011 SAP. All Rights Reserved.