public class LightBox
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
LightBox(java.lang.String name)
Instantiates a new light box.
|
Modifier and Type | Method and Description |
---|---|
void |
addImageItem(ImageItem imageItem)
Adds the image item.
|
void |
addTextItem(TextItem textItem)
Adds the text item.
|
java.util.Collection<ImageItem> |
getImageItems()
Gets the image items.
|
java.lang.String |
getName()
Gets the name.
|
java.util.Collection<TextItem> |
getTextItems()
Gets the text items.
|
public LightBox(java.lang.String name)
name
- the namepublic void addImageItem(ImageItem imageItem)
imageItem
- the image itempublic void addTextItem(TextItem textItem)
textItem
- the text itempublic java.util.Collection<ImageItem> getImageItems()
public java.lang.String getName()
public java.util.Collection<TextItem> getTextItems()