test_class.file: androidplot-core/src/test/java/com/androidplot/ui/FixedTableModelTest.java
test_class.identifier: FixedTableModelTest
test_class.superclass: extends AndroidplotTest
test_case.body: @Test
      public void testRowMajor() throws Exception {
          FixedTableModel model = new FixedTableModel(300, 500, TableOrder.ROW_MAJOR);
  
          RectF tableRect = new RectF(0, 0, 1000, 2000);
  
          // test the numElement limit:
          Iterator<RectF> it = model.getIterator(tableRect, 5);
          assertTrue(it.hasNext());
          RectF cellRect = it.next();
          assertEquals(0f, cellRect.left);
          assertEquals(0f, cellRect.top);
          assertEquals(300f, cellRect.right);
          assertEquals(500f, cellRect.bottom);
  
          assertTrue(it.hasNext());
          cellRect = it.next();
          assertEquals(0f, cellRect.left);
          assertEquals(500f, cellRect.top);
          assertEquals(300f, cellRect.right);
          assertEquals(1000f, cellRect.bottom);
  
          assertTrue(it.hasNext());
          cellRect = it.next();
          assertEquals(0f, cellRect.left);
          assertEquals(1000f, cellRect.top);
          assertEquals(300f, cellRect.right);
          assertEquals(1500f, cellRect.bottom);
  
          assertTrue(it.hasNext());
          cellRect = it.next();
          assertEquals(0f, cellRect.left);
          assertEquals(1500f, cellRect.top);
          assertEquals(300f, cellRect.right);
          assertEquals(2000f, cellRect.bottom);
  
          // next column over
          assertTrue(it.hasNext());
          cellRect = it.next();
          assertEquals(300f, cellRect.left);
          assertEquals(0f, cellRect.top);
          assertEquals(600f, cellRect.right);
          assertEquals(500f, cellRect.bottom);
      }
test_case.class_method_signature: FixedTableModelTest.testRowMajor()
test_case.full_signature: @Test public void testRowMajor()
test_case.identifier: testRowMajor
test_case.invocations: getIterator assertTrue hasNext next assertEquals assertEquals assertEquals assertEquals assertTrue hasNext next assertEquals assertEquals assertEquals assertEquals assertTrue hasNext next assertEquals assertEquals assertEquals assertEquals assertTrue hasNext next assertEquals assertEquals assertEquals assertEquals assertTrue hasNext next assertEquals assertEquals assertEquals assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRowMajor()
focal_class.declarator: cellWidth
focal_class.modifier: private
focal_class.original_string: private float cellWidth;
focal_class.type: float
focal_class.var_name: cellWidth
focal_class.declarator: cellHeight
focal_class.modifier: private
focal_class.original_string: private float cellHeight;
focal_class.type: float
focal_class.var_name: cellHeight
focal_class.file: androidplot-core/src/main/java/com/androidplot/ui/FixedTableModel.java
focal_class.identifier: FixedTableModel
focal_class.class_method_signature: FixedTableModel.FixedTableModel(float cellWidth, float cellHeight, TableOrder order)
focal_class.full_signature: public  FixedTableModel(float cellWidth, float cellHeight, TableOrder order)
focal_class.identifier: FixedTableModel
focal_class.modifiers: public
focal_class.parameters: (float cellWidth, float cellHeight, TableOrder order)
focal_class.signature:  FixedTableModel(float cellWidth, float cellHeight, TableOrder order)
focal_class.class_method_signature: FixedTableModel.getIterator(RectF tableRect, int totalElements)
focal_class.full_signature: @Override public Iterator<RectF> getIterator(RectF tableRect, int totalElements)
focal_class.identifier: getIterator
focal_class.modifiers: @Override public
focal_class.parameters: (RectF tableRect, int totalElements)
focal_class.return: Iterator<RectF>
focal_class.signature: Iterator<RectF> getIterator(RectF tableRect, int totalElements)
focal_class.class_method_signature: FixedTableModel.getCellWidth()
focal_class.full_signature: public float getCellWidth()
focal_class.identifier: getCellWidth
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float getCellWidth()
focal_class.class_method_signature: FixedTableModel.setCellWidth(float cellWidth)
focal_class.full_signature: public void setCellWidth(float cellWidth)
focal_class.identifier: setCellWidth
focal_class.modifiers: public
focal_class.parameters: (float cellWidth)
focal_class.return: void
focal_class.signature: void setCellWidth(float cellWidth)
focal_class.class_method_signature: FixedTableModel.getCellHeight()
focal_class.full_signature: public float getCellHeight()
focal_class.identifier: getCellHeight
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float getCellHeight()
focal_class.class_method_signature: FixedTableModel.setCellHeight(float cellHeight)
focal_class.full_signature: public void setCellHeight(float cellHeight)
focal_class.identifier: setCellHeight
focal_class.modifiers: public
focal_class.parameters: (float cellHeight)
focal_class.return: void
focal_class.signature: void setCellHeight(float cellHeight)
focal_class.superclass: extends TableModel
focal_method.body: @Override
      public Iterator<RectF> getIterator(RectF tableRect, int totalElements) {
          return new FixedTableModelIterator(this, tableRect, totalElements);
      }
focal_method.class_method_signature: FixedTableModel.getIterator(RectF tableRect, int totalElements)
focal_method.full_signature: @Override public Iterator<RectF> getIterator(RectF tableRect, int totalElements)
focal_method.identifier: getIterator
focal_method.modifiers: @Override public
focal_method.parameters: (RectF tableRect, int totalElements)
focal_method.return: Iterator<RectF>
focal_method.signature: Iterator<RectF> getIterator(RectF tableRect, int totalElements)