org.wicketstuff.minis.behavior.image
Class ImageDimension

java.lang.Object
  extended by org.wicketstuff.minis.behavior.image.ImageDimension
All Implemented Interfaces:
Serializable, IClusterable

public class ImageDimension
extends Object
implements IClusterable

A simple class that can represent a html img tag's width, height attributes.

Author:
akiraly
See Also:
Serialized Form

Constructor Summary
ImageDimension(String width, String height)
          Constructor.
 
Method Summary
 String getHeight()
          Getter.
 String getWidth()
          Getter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageDimension

public ImageDimension(String width,
                      String height)
Constructor.

Parameters:
width - width of the image
height - height of the image
Method Detail

getWidth

public String getWidth()
Getter.

Returns:
width of the image

getHeight

public String getHeight()
Getter.

Returns:
height of the image


Copyright © 2014. All rights reserved.