Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.netbeans.jemmy.drivers
Interface WindowDriver

public interface WindowDriver

Defines how to work with windows.

Method Summary
`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

    public void activate(ComponentOperator oper)

  Activates a window.
  Parameters:
    `oper` - Window operator.

### close

    public void close(ComponentOperator oper)

  Closes a window.
  Parameters:
    `oper` - Window operator.

### move

    public void move(ComponentOperator oper,
                     int x,
                     int y)

  Change window location.
  Parameters:
    `oper` - Window operator.
    `x` - New x coordinate
    `y` - New y coordinate

### resize

    public void resize(ComponentOperator oper,
                       int width,
                       int height)

  Change window size.
  Parameters:
    `oper` - Window operator.
    `width` - New window width.
    `height` - New window height.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD