public class ParagraphView extends java.lang.Object implements XMLView.ViewFactory
Name | Description | Required | Default |
---|---|---|---|
uiid | The UIID to use for the text. | No | ParagraphView |
Note: A SpanLabel is used to render the paragraph. The uiid attribute specifies the SpanLabel's style. The actual text within the spanlabel appends "Text" to the UIID. E.g. if you specify the uiid to be ParagraphView, then the text's UIID will be ParagraphViewText.
<p uiid="MyParagraphView">This is some text to be displayed in a paragraph.</p>
Constructor and Description |
---|
ParagraphView() |
Modifier and Type | Method and Description |
---|---|
com.codename1.ui.Component |
createView(com.codename1.xml.Element el,
XMLView context)
Generates paragraph view.
|
public com.codename1.ui.Component createView(com.codename1.xml.Element el, XMLView context)
createView
in interface XMLView.ViewFactory
el
- The XML element from which to create the view.context
- The XMLView context in which the view is created.