|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.widgets.form.fields.FormItem
com.smartgwt.client.widgets.form.fields.TextAreaItem
public class TextAreaItem
Class for editable multi-line text areas (uses HTML <TEXTAREA>
object)
Field Summary |
---|
Fields inherited from class com.smartgwt.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
TextAreaItem()
|
|
TextAreaItem(com.google.gwt.core.client.JavaScriptObject jsObj)
|
|
TextAreaItem(java.lang.String name)
|
|
TextAreaItem(java.lang.String name,
java.lang.String title)
|
Method Summary | |
---|---|
int |
getHeight()
default height of this item |
VerticalAlignment |
getIconVAlign()
Align icons with the top edge of text area icons by default. |
java.lang.Integer |
getLength()
Return the length. |
static TextAreaItem |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
|
java.lang.Boolean |
getSelectOnFocus()
Allows the selectOnFocus behavior to be configured on a
per-FormItem basis. |
java.lang.String |
getTextBoxStyle()
Base CSS class to apply to this item's input element. NOTE: See the CompoundFormItem_skinning discussion for special skinning considerations. |
int |
getWidth()
default width of this item |
TextAreaWrap |
getWrap()
Text wrapping style. |
void |
setHeight(int height)
default height of this item |
void |
setIconVAlign(VerticalAlignment iconVAlign)
Align icons with the top edge of text area icons by default. |
void |
setLength(java.lang.Integer length)
Set the length. |
void |
setSelectOnFocus(java.lang.Boolean selectOnFocus)
Allows the selectOnFocus behavior to be configured on a
per-FormItem basis. |
void |
setTextBoxStyle(java.lang.String textBoxStyle)
Base CSS class to apply to this item's input element. NOTE: See the CompoundFormItem_skinning discussion for special skinning considerations. |
void |
setWidth(int width)
default width of this item |
void |
setWrap(TextAreaWrap wrap)
Text wrapping style. |
Methods inherited from class com.smartgwt.client.core.RefDataClass |
---|
getRef, getRef |
Methods inherited from class com.smartgwt.client.core.DataClass |
---|
doAddHandler, fireEvent, getAttributeAsIntArray, getAttributeAsMap, getAttributeAsObject, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute |
Methods inherited from class com.smartgwt.client.core.JsObject |
---|
setJsObj |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Constructor Detail |
---|
public TextAreaItem()
public TextAreaItem(com.google.gwt.core.client.JavaScriptObject jsObj)
public TextAreaItem(java.lang.String name)
public TextAreaItem(java.lang.String name, java.lang.String title)
Method Detail |
---|
public static TextAreaItem getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setWidth(int width)
setWidth
in class FormItem
width
- width Default value is 150public int getWidth()
getWidth
in class FormItem
public void setHeight(int height)
setHeight
in class FormItem
height
- height Default value is 100public int getHeight()
getHeight
in class FormItem
public void setTextBoxStyle(java.lang.String textBoxStyle)
setTextBoxStyle
in class FormItem
textBoxStyle
- textBoxStyle Default value is "textItem"public java.lang.String getTextBoxStyle()
getTextBoxStyle
in class FormItem
public void setIconVAlign(VerticalAlignment iconVAlign)
setIconVAlign
in class FormItem
iconVAlign
- iconVAlign Default value is Canvas.TOPpublic VerticalAlignment getIconVAlign()
getIconVAlign
in class FormItem
public void setSelectOnFocus(java.lang.Boolean selectOnFocus)
selectOnFocus
behavior to be configured on a
per-FormItem basis. Normally all items in a form default to the value of
selectOnFocus
.
setSelectOnFocus
in class FormItem
selectOnFocus
- selectOnFocus Default value is nullpublic java.lang.Boolean getSelectOnFocus()
selectOnFocus
behavior to be configured on a
per-FormItem basis. Normally all items in a form default to the value of
selectOnFocus
.
getSelectOnFocus
in class FormItem
public void setLength(java.lang.Integer length)
length
- the lengthpublic java.lang.Integer getLength()
public void setWrap(TextAreaWrap wrap)
wrap
- wrap Default value is TextAreaWrap.SOFT
public TextAreaWrap getWrap()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |