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 testIterator() throws Exception {
          FixedTableModel model = new FixedTableModel(100, 100, TableOrder.COLUMN_MAJOR);
  
          RectF tableRect = new RectF(0, 0, 1000, 2000);
  
          Iterator<RectF> it = model.getIterator(tableRect, 5);
  
          assertTrue(it.hasNext());
          RectF cellRect = it.next();
  
          assertTrue(it.hasNext());
          cellRect = it.next();
  
          assertTrue(it.hasNext());
          cellRect = it.next();
  
          assertTrue(it.hasNext());
          cellRect = it.next();
  
          assertTrue(it.hasNext());
          cellRect = it.next();
  
          assertFalse(it.hasNext());
          try {
              cellRect = it.next();
              fail("Expected IndexOutOfBoundsException");
          } catch(IndexOutOfBoundsException ex) {
              // this was expected
          }
      }
test_case.class_method_signature: FixedTableModelTest.testIterator()
test_case.full_signature: @Test public void testIterator()
test_case.identifier: testIterator
test_case.invocations: getIterator assertTrue hasNext next assertTrue hasNext next assertTrue hasNext next assertTrue hasNext next assertTrue hasNext next assertFalse hasNext next fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIterator()
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)