com.atlassian.confluence.it
Class ImageLink

java.lang.Object
  extended by com.atlassian.confluence.it.SimpleLink
      extended by com.atlassian.confluence.it.ImageLink

public class ImageLink
extends SimpleLink

A link which contains an image. TODO: add in the src attribute when the test is able to use it to do assertions.


Constructor Summary
ImageLink(java.lang.String text, java.lang.String href, com.atlassian.fugue.Pair<java.lang.Integer,java.lang.Integer> dimension)
           
 
Method Summary
 java.lang.Integer getHeight()
           
 java.lang.Integer getWidth()
           
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.confluence.it.SimpleLink
equals, getHref, getText, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageLink

public ImageLink(java.lang.String text,
                 java.lang.String href,
                 com.atlassian.fugue.Pair<java.lang.Integer,java.lang.Integer> dimension)
Parameters:
text -
href -
dimension - left() is width, right() is height. Either may be null.
Method Detail

getWidth

public java.lang.Integer getWidth()

getHeight

public java.lang.Integer getHeight()

toString

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


Copyright © 2003-2013 Atlassian. All Rights Reserved.