org.jbehave.web.selenium
Class LocalFrameContextView

java.lang.Object
  extended by org.jbehave.web.selenium.LocalFrameContextView
All Implemented Interfaces:
ContextView

public class LocalFrameContextView
extends Object
implements ContextView


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jbehave.web.selenium.ContextView
ContextView.NULL
 
Constructor Summary
LocalFrameContextView()
          Creates view frame of default size - (380 x 85)
 
Method Summary
 void close()
           
 LocalFrameContextView located(int x, int y)
          Builder-style way to set the preferred location for the frame
 void show(String scenario, String step)
           
 LocalFrameContextView sized(int width, int height)
          Builder-style way to set the preferred size for the frame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalFrameContextView

public LocalFrameContextView()
Creates view frame of default size - (380 x 85)

Method Detail

sized

public LocalFrameContextView sized(int width,
                                   int height)
Builder-style way to set the preferred size for the frame

Parameters:
width - width
height - height
Returns:
The SwingContextView

located

public LocalFrameContextView located(int x,
                                     int y)
Builder-style way to set the preferred location for the frame

Parameters:
x - x position on screen
y - y position on screen
Returns:
The SwingContextView

show

public void show(String scenario,
                 String step)
Specified by:
show in interface ContextView

close

public void close()
Specified by:
close in interface ContextView


Copyright © 2012. All Rights Reserved.