com.atlassian.confluence.selenium.client
Class ImagePropertyPanel

java.lang.Object
  extended by com.atlassian.confluence.selenium.client.PropertyPanel
      extended by com.atlassian.confluence.selenium.client.ImagePropertyPanel

public class ImagePropertyPanel
extends PropertyPanel


Nested Class Summary
static class ImagePropertyPanel.Size
           
 
Field Summary
 
Fields inherited from class com.atlassian.confluence.selenium.client.PropertyPanel
client, PROPERTY_PANEL_SELECTOR, PROPERTY_PANEL_SHADOW_SELECTOR, tinyMce
 
Constructor Summary
ImagePropertyPanel(TinyMce tinyMce, java.lang.String imageFileName)
           
 
Method Summary
 void clickBorderButton(boolean on)
           
 void clickLargeButton()
           
 LinkBrowser clickLink()
           
 void clickMediumButton()
           
 void clickOriginalButton()
           
 void clickSmallButton()
           
 int getAnchorImageHeight()
          Returns the height of the property panel's anchor image.
 int getTop()
          Returns the CSS top position of the Property Panel element.
static ImagePropertyPanel launchFromClickOnImage(TinyMce tinyMce, java.lang.String imageFileName)
           
 void waitForAnchorImageHeight(int height)
          Waits until the panel's anchor image is the expected height.
 
Methods inherited from class com.atlassian.confluence.selenium.client.PropertyPanel
getPropertyPanelSelector, getTopOffset, isPresent, waitUntilHidden, waitUntilVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImagePropertyPanel

public ImagePropertyPanel(TinyMce tinyMce,
                          java.lang.String imageFileName)
Method Detail

launchFromClickOnImage

public static ImagePropertyPanel launchFromClickOnImage(TinyMce tinyMce,
                                                        java.lang.String imageFileName)

clickSmallButton

public void clickSmallButton()

clickMediumButton

public void clickMediumButton()

clickLargeButton

public void clickLargeButton()

clickOriginalButton

public void clickOriginalButton()

clickBorderButton

public void clickBorderButton(boolean on)

clickLink

public LinkBrowser clickLink()

getAnchorImageHeight

public int getAnchorImageHeight()
Returns the height of the property panel's anchor image.

Returns:
image height

waitForAnchorImageHeight

public void waitForAnchorImageHeight(int height)
Waits until the panel's anchor image is the expected height.

Parameters:
height - expected height

getTop

public int getTop()
Returns the CSS top position of the Property Panel element.

Returns:
top pixels


Copyright © 2003-2014 Atlassian. All Rights Reserved.