Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Copyright 2012-2015 the original author or authors.
package org.assertj.swing.jide.grids;
import  com.jidesoft.grid.JideTable;

A Fixture for dealing with JideTables.

Peter Murray
public class JideTableFixture extends JTableFixture implements ExtendedTableFixture {
  public JideTableFixture(Robot robotString name) {
  public JideTableFixture(Robot robotJTable table) {
  public JideTable targetAsJideTable() {
	return (JideTable) target();
  public int selectedRow() {
	return target().getSelectedRow();
  public int[] selectedRows() {
  public int rows() {
	return target().getRowCount();
  public int columns() {
	return target().getColumnCount();
  public JideTableFixture requireSelection(int... rows) {
	return this;
  private void checkTableInstance() {
	if (!(target() instanceof JideTable)) {
	  throw new UnsupportedOperationException("The table instance is not a JideTable");
New to GrepCode? Check out our FAQ X