Package com.smartgwt.client.widgets.rte
Class ListProperties
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.rte.ListProperties
- All Implemented Interfaces:
HasHandlers
Configuration of an HTML list in a
RichTextEditor
.-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetImage()
When the list item markerstyle
is "custom-image", the image to use for the markers.static ListProperties
getOrCreateRef
(JavaScriptObject jsObj) int
For ordered lists, the number to start the first item with.getStyle()
The style of list item marker.When the list item markerstyle
is "custom-image", the image to use for the markers.setStartNumber
(int startNumber) For ordered lists, the number to start the first item with.setStyle
(ListStyleType style) The style of list item marker.Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
-
Constructor Details
-
ListProperties
public ListProperties() -
ListProperties
-
-
Method Details
-
getOrCreateRef
-
setImage
When the list item markerstyle
is "custom-image", the image to use for the markers.- Parameters:
image
- New image value. Default value is "[SKIN]/RichTextEditor/bullet_blue.png"- Returns:
ListProperties
instance, for chaining setter calls- See Also:
-
getImage
When the list item markerstyle
is "custom-image", the image to use for the markers.- Returns:
- Current image value. Default value is "[SKIN]/RichTextEditor/bullet_blue.png"
- See Also:
-
setStartNumber
For ordered lists, the number to start the first item with. Must be non-negative.- Parameters:
startNumber
- New startNumber value. Default value is 1- Returns:
ListProperties
instance, for chaining setter calls
-
getStartNumber
public int getStartNumber()For ordered lists, the number to start the first item with. Must be non-negative.- Returns:
- Current startNumber value. Default value is 1
-
setStyle
The style of list item marker. If "custom-image", theimage
should be specified.- Parameters:
style
- New style value. Default value is null- Returns:
ListProperties
instance, for chaining setter calls
-
getStyle
The style of list item marker. If "custom-image", theimage
should be specified.- Returns:
- Current style value. Default value is null
-