public class CarouselView extends java.lang.Object implements XMLView.ViewFactory
Name | Description | Required | Default |
---|---|---|---|
placeholder | The name of the placeholder image to be displayed while the images are loading. | No | image |
uiid | The UIID to use for the image component's style. | No | CarouselView |
For each image in the carousel, you would nest an <img>
tag.:
<carousel uiid="MyCarouselView">
<img src="http://example.com/img1.png"/>
<img src="http://example.com/img2.png"/>
<img src="http://example.com/img3.png"/>
</carousel>
Constructor and Description |
---|
CarouselView() |
Modifier and Type | Method and Description |
---|---|
com.codename1.ui.Component |
createView(com.codename1.xml.Element el,
XMLView context)
Creates a view from a model element.
|
public com.codename1.ui.Component createView(com.codename1.xml.Element el, XMLView context)
XMLView.ViewFactory
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.