/***************************************************************************
                            QTableSelection.java -  description
                             -------------------
    begin                : Sun Nov  3 10:27:27 2002
    copyright            : (C) 2000-2002 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Nov  3 10:27:27 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

public class  QTableSelection implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;

	protected QTableSelection(Class dummy){}

	private native void newQTableSelection();
	public QTableSelection() {
		newQTableSelection();
	}
	private native void newQTableSelection( int start_row, int start_col, int end_row, int end_col);
	public QTableSelection( int start_row, int start_col, int end_row, int end_col) {
		newQTableSelection( start_row, start_col, end_row, end_col);
	}

	public native void init( int row, int col);
	public native void expandTo( int row, int col);
	public native int topRow();
	public native int bottomRow();
	public native int leftCol();
	public native int rightCol();
	public native int anchorRow();
	public native int anchorCol();
	public native boolean isActive();
}
