com.sap.ui.commons.client
Class TextAreaWidget

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.commons.client.TextFieldWidget
                  extended by com.sap.ui.commons.client.TextAreaWidget
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

public class TextAreaWidget
extends TextFieldWidget

The class TextArea is the GWT wrapper for the Phoenix control: sap.ui.commons.TextArea.

Control to enter or display multible row text.

For further parameters see {@link com.sap.ui.commons.client.TextField

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
  TextAreaWidget()
          constructs the class TextAreaWidget
  TextAreaWidget(String id)
          constructs the class TextAreaWidget
protected TextAreaWidget(TextArea control)
          constructs the class TextAreaWidget
 
Method Summary
 int getCols()
          Getter for property cols Number of Columns.
 TextArea getControl()
          returns the reference to the Phoenix Control
 int getCursorPos()
          Getter for property cursorPos Position of cursor, e.g., to let the user re-start typing at the same position as before the server roundtrip
 String getExplanation()
          Getter for property explanation text which appears, in case quick-help is switched on
 String getHeight()
          Getter for property height Height of text field.
 String getLabeledBy()
          Getter for property labeledBy ID of label control
 int getRows()
          Getter for property rows Number of Rows.
 com.sap.ui.core.client.Wrapping getWrapping()
          Getter for property wrapping Text wrapping.
 void setCols(int value)
          Setter for property cols
 void setCursorPos(int value)
          Setter for property cursorPos
 void setExplanation(String value)
          Setter for property explanation
 void setHeight(String value)
          Setter for property height
 void setLabeledBy(String value)
          Setter for property labeledBy
 void setRows(int value)
          Setter for property rows
 void setWrapping(com.sap.ui.core.client.Wrapping value)
          Setter for property wrapping
 
Methods inherited from class com.sap.ui.commons.client.TextFieldWidget
attachChangeEvent, bindValue, bindValue, detachChangeEvent, focus, getAccessibleDescription, getAccessibleName, getAccessibleRole, getDesign, getHelpId, getImeMode, getMaxLength, getTextAlign, getTextDirection, getValue, getValueState, getWidth, isEditable, isEnabled, isRequired, isVisible, setAccessibleDescription, setAccessibleName, setAccessibleRole, setDesign, setEditable, setEnabled, setHelpId, setImeMode, setMaxLength, setRequired, setTextAlign, setTextDirection, setValue, setValueState, setVisible, setWidth, unbindValue
 
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, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextAreaWidget

public TextAreaWidget()
constructs the class TextAreaWidget


TextAreaWidget

public TextAreaWidget(String id)
constructs the class TextAreaWidget

Parameters:
id - id of the TextAreaWidget

TextAreaWidget

protected TextAreaWidget(TextArea control)
constructs the class TextAreaWidget

Parameters:
control - reference to an existing TextArea
Method Detail

getControl

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

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

getHeight

public String getHeight()
Getter for property height Height of text field. When it is set (CSS-size such as % or px), this is the exact size.

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

getCols

public int getCols()
Getter for property cols Number of Columns. Cols means number of characters per row. This proprty is only used if Width is not used.

Returns:
the value of property cols

setCols

public void setCols(int value)
Setter for property cols

Parameters:
value - int

getRows

public int getRows()
Getter for property rows Number of Rows. This proprty is only used if Height is not used.

Returns:
the value of property rows

setRows

public void setRows(int value)
Setter for property rows

Parameters:
value - int

getWrapping

public com.sap.ui.core.client.Wrapping getWrapping()
Getter for property wrapping Text wrapping. Possible values are: Soft, Hard, Off.

Returns:
the value of property wrapping

setWrapping

public void setWrapping(com.sap.ui.core.client.Wrapping value)
Setter for property wrapping

Parameters:
value - com.sap.ui.core.client.Wrapping

getCursorPos

public int getCursorPos()
Getter for property cursorPos Position of cursor, e.g., to let the user re-start typing at the same position as before the server roundtrip

Returns:
the value of property cursorPos

setCursorPos

public void setCursorPos(int value)
Setter for property cursorPos

Parameters:
value - int

getExplanation

public String getExplanation()
Getter for property explanation text which appears, in case quick-help is switched on

Returns:
the value of property explanation

setExplanation

public void setExplanation(String value)
Setter for property explanation

Parameters:
value - String

getLabeledBy

public String getLabeledBy()
Getter for property labeledBy ID of label control

Returns:
the value of property labeledBy

setLabeledBy

public void setLabeledBy(String value)
Setter for property labeledBy

Parameters:
value - String


Copyright © 2011 SAP. All Rights Reserved.