Package org.netbeans.jemmy.drivers
Interface WindowDriver
-
- All Known Implementing Classes:
DefaultInternalFrameDriver,DefaultWindowDriver
public interface WindowDriverDefines how to work with windows.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidactivate(ComponentOperator oper)Activates a window.voidclose(ComponentOperator oper)Closes a window.voidmove(ComponentOperator oper, int x, int y)Change window location.voidresize(ComponentOperator oper, int width, int height)Change window size.
-
-
-
Method Detail
-
activate
void activate(ComponentOperator oper)
Activates a window.- Parameters:
oper- Window operator.
-
close
void close(ComponentOperator oper)
Closes a window.- Parameters:
oper- Window operator.
-
move
void move(ComponentOperator oper, int x, int y)
Change window location.- Parameters:
oper- Window operator.x- New x coordinatey- New y coordinate
-
resize
void resize(ComponentOperator oper, int width, int height)
Change window size.- Parameters:
oper- Window operator.width- New window width.height- New window height.
-
-