//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.TQt;

public class TQTableSelection implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQTableSelection(Class dummy){}

	public TQTableSelection() {
		newTQTableSelection();
	}
	private native void newTQTableSelection();
	public TQTableSelection(int start_row, int start_col, int end_row, int end_col) {
		newTQTableSelection(start_row,start_col,end_row,end_col);
	}
	private native void newTQTableSelection(int start_row, int start_col, int end_row, int end_col);
	public native void init(int row, int col);
	public native void expandTo(int row, int col);
	public native boolean op_equals(TQTableSelection s);
	public native boolean op_not_equals(TQTableSelection s);
	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 int numRows();
	public native int numCols();
	public native boolean isActive();
	public native boolean isEmpty();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
