net.ontopia.topicmaps.webed.impl.basic
Class ImageInformation

java.lang.Object
  extended by net.ontopia.topicmaps.webed.impl.basic.ImageInformation
All Implemented Interfaces:
ImageInformationIF

public class ImageInformation
extends java.lang.Object
implements ImageInformationIF

INTERNAL: Default implementation of the ImageInformationIF interface.


Field Summary
protected  java.lang.String align
           
protected  java.lang.String border
           
protected  java.lang.String height
           
protected  java.lang.String name
           
protected  java.lang.String relative_url
           
protected  java.lang.String width
           
 
Constructor Summary
ImageInformation(java.lang.String name, java.lang.String relative_url, java.lang.String width, java.lang.String height, java.lang.String border, java.lang.String align)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAlign()
          INTERNAL: Gets the align mode in which the image should be rendered.
 java.lang.String getBorder()
          INTERNAL: Gets the width of the border displayed around the image in pixels.
 java.lang.String getHeight()
          INTERNAL: Gets the height of the image in pixels.
 java.lang.String getName()
          INTERNAL: Gets the name of the image.
 java.lang.String getRelativeURL()
          INTERNAL: Gets the relative URL to the image location.
 java.lang.String getWidth()
          INTERNAL: Gets the width of the image in pixels.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

relative_url

protected java.lang.String relative_url

width

protected java.lang.String width

height

protected java.lang.String height

border

protected java.lang.String border

align

protected java.lang.String align
Constructor Detail

ImageInformation

public ImageInformation(java.lang.String name,
                        java.lang.String relative_url,
                        java.lang.String width,
                        java.lang.String height,
                        java.lang.String border,
                        java.lang.String align)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: ImageInformationIF
INTERNAL: Gets the name of the image.

Specified by:
getName in interface ImageInformationIF

getRelativeURL

public java.lang.String getRelativeURL()
Description copied from interface: ImageInformationIF
INTERNAL: Gets the relative URL to the image location.

Specified by:
getRelativeURL in interface ImageInformationIF

getWidth

public java.lang.String getWidth()
Description copied from interface: ImageInformationIF
INTERNAL: Gets the width of the image in pixels.

Specified by:
getWidth in interface ImageInformationIF

getHeight

public java.lang.String getHeight()
Description copied from interface: ImageInformationIF
INTERNAL: Gets the height of the image in pixels.

Specified by:
getHeight in interface ImageInformationIF

getBorder

public java.lang.String getBorder()
Description copied from interface: ImageInformationIF
INTERNAL: Gets the width of the border displayed around the image in pixels. Default is to display no border (equivalent to 0 pixels).

Specified by:
getBorder in interface ImageInformationIF

getAlign

public java.lang.String getAlign()
Description copied from interface: ImageInformationIF
INTERNAL: Gets the align mode in which the image should be rendered. Default mode is "middle".

Specified by:
getAlign in interface ImageInformationIF

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2000-2012 Ontopia.