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(String text, String href, com.atlassian.fugue.Pair<Integer,Integer> dimension)
           
 
Method Summary
 Integer getHeight()
           
 Integer getWidth()
           
 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(String text,
                 String href,
                 com.atlassian.fugue.Pair<Integer,Integer> dimension)
Parameters:
text -
href -
dimension - left() is width, right() is height. Either may be null.
Method Detail

getWidth

public Integer getWidth()

getHeight

public Integer getHeight()

toString

public String toString()
Overrides:
toString in class SimpleLink


Copyright © 2003–2015 Atlassian. All rights reserved.