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
 
Method Summary
 void clickBorderButton(boolean on)
           
 void clickLargeButton()
           
 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, 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
isPresent, waitUntilVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

launchFromClickOnImage

public static ImagePropertyPanel launchFromClickOnImage(TinyMce tinyMce,
                                                        String imageFileName)

clickSmallButton

public void clickSmallButton()

clickMediumButton

public void clickMediumButton()

clickLargeButton

public void clickLargeButton()

clickOriginalButton

public void clickOriginalButton()

clickBorderButton

public void clickBorderButton(boolean on)

getAnchorImageHeight

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


waitForAnchorImageHeight

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


getTop

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

Returns:
top pixels


Copyright © 2003-2011 Atlassian. All Rights Reserved.