net.aerith.misao.io
Class HtmlImageAnchor

java.lang.Object
  |
  +--net.aerith.misao.io.HtmlImageAnchor

public class HtmlImageAnchor
extends java.lang.Object

The HtmlImageAnchor represents an anchor to the image file.


Field Summary
protected  Format format
          The format.
protected  MonoImage image
          The image.
protected  java.lang.String text
          The text.
protected  java.net.URL url
          The URL.
 
Constructor Summary
HtmlImageAnchor(MonoImage image, java.net.URL url, Format format, java.lang.String text)
          Constructs a HtmlImageAnchor.
 
Method Summary
 Format getFormat()
          Gets the format.
 MonoImage getImage()
          Gets the image.
 java.lang.String getText()
          Gets the text.
 java.net.URL getURL()
          Gets the URL.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

image

protected MonoImage image
The image.

url

protected java.net.URL url
The URL.

format

protected Format format
The format.

text

protected java.lang.String text
The text.
Constructor Detail

HtmlImageAnchor

public HtmlImageAnchor(MonoImage image,
                       java.net.URL url,
                       Format format,
                       java.lang.String text)
Constructs a HtmlImageAnchor.
Parameters:
image - the image.
url - the URL.
format - the format.
text - the text.
Method Detail

getImage

public MonoImage getImage()
Gets the image.
Returns:
the image.

getURL

public java.net.URL getURL()
Gets the URL.
Returns:
the URL.

getFormat

public Format getFormat()
Gets the format.
Returns:
the format.

getText

public java.lang.String getText()
Gets the text.
Returns:
the text.