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 Object
implements ImageInformationIF

INTERNAL: Default implementation of the ImageInformationIF interface.


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

Field Detail

name

protected String name

relative_url

protected String relative_url

width

protected String width

height

protected String height

border

protected String border

align

protected String align
Constructor Detail

ImageInformation

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

getName

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

Specified by:
getName in interface ImageInformationIF

getRelativeURL

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

Specified by:
getRelativeURL in interface ImageInformationIF

getWidth

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

Specified by:
getWidth in interface ImageInformationIF

getHeight

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

Specified by:
getHeight in interface ImageInformationIF

getBorder

public 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 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 Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2012 Ontopia.