|
|||||||||
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.CanvasItem
com.smartgwt.client.widgets.form.fields.RichTextItem
public class RichTextItem
FormItem for rich text (HTML) editing. Makes use of a RichTextEditor
as the editing
interface.
Field Summary |
---|
Fields inherited from class com.smartgwt.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
RichTextItem()
|
|
RichTextItem(JavaScriptObject jsObj)
|
|
RichTextItem(String name)
|
|
RichTextItem(String name,
String title)
|
Method Summary | |
---|---|
Boolean |
getEndRow()
By default RichTextItems take up an entire row |
static RichTextItem |
getOrCreateRef(JavaScriptObject jsObj)
|
Boolean |
getShowTitle()
Don't show the title for rich text items by default |
Boolean |
getStartRow()
By default RichTextItems take up an entire row |
void |
setControlGroups(String... controlGroups)
An array of control group names specifying which groups of controls should be included in the editor toolbar. |
void |
setEndRow(Boolean endRow)
By default RichTextItems take up an entire row |
void |
setShowTitle(Boolean showTitle)
Don't show the title for rich text items by default |
void |
setStartRow(Boolean startRow)
By default RichTextItems take up an entire row |
Methods inherited from class com.smartgwt.client.widgets.form.fields.CanvasItem |
---|
getCanvas, setCanvas |
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 |
Constructor Detail |
---|
public RichTextItem()
public RichTextItem(JavaScriptObject jsObj)
public RichTextItem(String name)
public RichTextItem(String name, String title)
Method Detail |
---|
public static RichTextItem getOrCreateRef(JavaScriptObject jsObj)
public void setShowTitle(Boolean showTitle)
setShowTitle
in class FormItem
showTitle
- showTitle Default value is falsepublic Boolean getShowTitle()
getShowTitle
in class FormItem
public void setStartRow(Boolean startRow)
setStartRow
in class FormItem
startRow
- startRow Default value is truepublic Boolean getStartRow()
getStartRow
in class FormItem
public void setEndRow(Boolean endRow)
setEndRow
in class FormItem
endRow
- endRow Default value is truepublic Boolean getEndRow()
getEndRow
in class FormItem
public void setControlGroups(String... controlGroups)
controlGroups
- the control groups. default is {"fontControls", "formatControls", "styleControls",
"colorControls"}
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |