org.jbehave.web.selenium
Class LocalFrameContextView
java.lang.Object
org.jbehave.web.selenium.LocalFrameContextView
- All Implemented Interfaces:
- ContextView
public class LocalFrameContextView
- extends Object
- implements ContextView
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalFrameContextView
public LocalFrameContextView()
- Creates view frame of default size - (380 x 85)
sized
public LocalFrameContextView sized(int width,
int height)
- Builder-style way to set the preferred size for the frame
- Parameters:
width
- widthheight
- 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 screeny
- 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.