|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.image.ImageGalleryElement
The ImageGalleryElement
represents an element in the
image gallery.
Field Summary | |
protected java.util.ArrayList |
data
The data. |
protected Format |
format
The image format. |
protected java.lang.String |
group_title
The group title. |
protected MonoImage |
image
The image. |
protected java.util.ArrayList |
list_anchor
The list of image anchors. |
protected ImageGalleryElement[] |
sub_elements
The list of sub elements. |
protected java.lang.String |
title
The title. |
protected java.net.URL |
url
The image URL. |
Constructor Summary | |
ImageGalleryElement(MonoImage image,
java.net.URL url,
Format format)
Constructs a single ImageGalleryElement . |
|
ImageGalleryElement(java.lang.String group_title,
java.util.Vector sub_elements)
Constructs a multi ImageGalleryElement . |
Method Summary | |
void |
addData(java.lang.String data)
Adds a data. |
void |
addImageAnchor(HtmlImageAnchor anchor)
Adds an image anchor. |
java.lang.String[] |
getData()
Gets the data. |
ImageGalleryElement[] |
getElements()
Gets the list of sub elements. |
Format |
getFormat()
Gets the image format. |
java.lang.String |
getGroupTitle()
Gets the group title. |
MonoImage |
getImage()
Gets the image. |
HtmlImageAnchor[] |
getImageAnchors()
Gets the list of image anchors. |
java.lang.String |
getTitle()
Gets the title. |
java.net.URL |
getURL()
Gets the image URL. |
boolean |
isSingle()
Returns true when the element is a single element. |
void |
setData(java.util.Vector data)
Sets the data. |
void |
setTitle(java.lang.String title)
Sets the title. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected MonoImage image
protected java.net.URL url
protected Format format
protected java.util.ArrayList list_anchor
protected ImageGalleryElement[] sub_elements
protected java.lang.String group_title
protected java.lang.String title
protected java.util.ArrayList data
Constructor Detail |
public ImageGalleryElement(MonoImage image, java.net.URL url, Format format)
ImageGalleryElement
.image
- the image.url
- the image URL.format
- the image format.public ImageGalleryElement(java.lang.String group_title, java.util.Vector sub_elements)
ImageGalleryElement
.group_title
- the group title.sub_elements
- the list of sub elements.Method Detail |
public boolean isSingle()
public MonoImage getImage()
public java.net.URL getURL()
public Format getFormat()
public HtmlImageAnchor[] getImageAnchors()
public void addImageAnchor(HtmlImageAnchor anchor)
anchor
- the image anchor.public ImageGalleryElement[] getElements()
public java.lang.String getGroupTitle()
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title.public java.lang.String[] getData()
public void setData(java.util.Vector data)
data
- the list of data.public void addData(java.lang.String data)
data
- the data.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |