com.atlassian.confluence.content.render.image
Class ImageDimensions

java.lang.Object
  extended by com.atlassian.confluence.content.render.image.ImageDimensions

public class ImageDimensions
extends Object

The height and width of an image or thumbnail.

Since:
5.3

Field Summary
static ImageDimensions EMPTY
           
 
Constructor Summary
ImageDimensions(int width, int height)
           
 
Method Summary
 boolean equals(Object o)
           
 int getHeight()
           
 int getWidth()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY

public static final ImageDimensions EMPTY
Constructor Detail

ImageDimensions

public ImageDimensions(int width,
                       int height)
Method Detail

getWidth

public int getWidth()

getHeight

public int getHeight()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.