TableDriver.java revision 13978:1993af50385d
154359Sroberto/*
254359Sroberto * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
354359Sroberto * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4280849Scy *
554359Sroberto * This code is free software; you can redistribute it and/or modify it
654359Sroberto * under the terms of the GNU General Public License version 2 only, as
754359Sroberto * published by the Free Software Foundation.
854359Sroberto *
954359Sroberto * This code is distributed in the hope that it will be useful, but WITHOUT
1054359Sroberto * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1154359Sroberto * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
1254359Sroberto * version 2 for more details (a copy is included in the LICENSE file that
1354359Sroberto * accompanied this code).
1454359Sroberto *
1554359Sroberto * You should have received a copy of the GNU General Public License version
1654359Sroberto * 2 along with this work; if not, write to the Free Software Foundation,
1754359Sroberto * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1854359Sroberto *
1954359Sroberto * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2054359Sroberto * or visit www.oracle.com if you need additional information or have any
2154359Sroberto * questions.
2254359Sroberto */
2354359Srobertopackage org.netbeans.jemmy.drivers;
2454359Sroberto
2554359Srobertoimport org.netbeans.jemmy.operators.ComponentOperator;
2654359Sroberto
2754359Sroberto/**
2854359Sroberto * Defines how to work with tables.
2954359Sroberto */
3054359Srobertopublic interface TableDriver {
3154359Sroberto
3254359Sroberto    /**
3354359Sroberto     * Selects a cell.
3454359Sroberto     *
3554359Sroberto     * @param oper Table operator.
3654359Sroberto     * @param row Cell row index.
3754359Sroberto     * @param column Cell column index.
38280849Scy     */
3954359Sroberto    public void selectCell(ComponentOperator oper, int row, int column);
4054359Sroberto
4154359Sroberto    /**
4254359Sroberto     * Edits a cell.
4354359Sroberto     *
4454359Sroberto     * @param oper Table operator.
4554359Sroberto     * @param row Cell row index.
4654359Sroberto     * @param column Cell column index.
4754359Sroberto     * @param value New value.
4854359Sroberto     */
4954359Sroberto    public void editCell(ComponentOperator oper, int row, int column, Object value);
5054359Sroberto}
5154359Sroberto