Example usage for org.jfree.data DefaultKeyedValues2D removeRow

List of usage examples for org.jfree.data DefaultKeyedValues2D removeRow

Introduction

In this page you can find the example usage for org.jfree.data DefaultKeyedValues2D removeRow.

Prototype

public void removeRow(Comparable rowKey) 

Source Link

Document

Removes a row from the table.

Usage

From source file:org.jfree.data.DefaultKeyedValues2DTest.java

/**
 * Some basic checks for the removeRow() method.
 *//*from   w w  w .j a  v a  2  s.  c o  m*/
@Test
public void testRemoveRow() {
    DefaultKeyedValues2D d = new DefaultKeyedValues2D();
    boolean pass = false;
    try {
        d.removeRow(0);
    } catch (IndexOutOfBoundsException e) {
        pass = true;
    }
    assertTrue(pass);
}