Package org.netbeans.jemmy.drivers
Interface WindowDriver
-
- All Known Implementing Classes:
DefaultInternalFrameDriver
,DefaultWindowDriver
public interface WindowDriver
Defines how to work with windows.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
activate(ComponentOperator oper)
Activates a window.void
close(ComponentOperator oper)
Closes a window.void
move(ComponentOperator oper, int x, int y)
Change window location.void
resize(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.
-
-