@Test public void internalFlush() { scenarioCellTextAreaDOMElementSpy.internalFlush(MULTIPART_VALUE); verify(eventBusMock, times(1)).fireEvent(isA(SetGridCellValueEvent.class)); }
protected void internalFlush(final String value) { final int rowIndex = context.getRowIndex(); final int columnIndex = context.getColumnIndex(); ((ScenarioGrid) gridWidget).getEventBus().fireEvent(new SetGridCellValueEvent(((ScenarioGrid) gridWidget).getGridWidget(), rowIndex, columnIndex, value)); }
ScenarioCellTextAreaDOMElement extends BaseDOMElement<String, TextArea> implements TakesValue<String>,
                                                                                                Focusable { protected void internalFlush(final String value) { final int rowIndex = context.getRowIndex(); final int columnIndex = context.getColumnIndex(); ((ScenarioGrid) gridWidget).getEventBus().fireEvent(new SetGridCellValueEvent(((ScenarioGrid) gridWidget).getGridWidget(), rowIndex, columnIndex, value)); } }
ScenarioCellTextAreaDOMElement extends BaseDOMElement<String, TextArea> implements TakesValue<String>,
                                                                                                Focusable { protected void internalFlush(final String value) { final int rowIndex = context.getRowIndex(); final int columnIndex = context.getColumnIndex(); ((ScenarioGrid) gridWidget).getEventBus().fireEvent(new SetGridCellValueEvent(((ScenarioGrid) gridWidget).getGridWidget(), rowIndex, columnIndex, value)); } ScenarioCellTextAreaDOMElement(final TextArea widget,
                                          final GridLayer gridLayer,
                                          final GridWidget gridWidget); }
ScenarioCellTextAreaDOMElement extends BaseDOMElement<String, TextArea> implements TakesValue<String>,
                                                                                                Focusable { protected void internalFlush(final String value) { final int rowIndex = context.getRowIndex(); final int columnIndex = context.getColumnIndex(); ((ScenarioGrid) gridWidget).getEventBus().fireEvent(new SetGridCellValueEvent(((ScenarioGrid) gridWidget).getGridWidget(), rowIndex, columnIndex, value)); } ScenarioCellTextAreaDOMElement(final TextArea widget,
                                          final GridLayer gridLayer,
                                          final GridWidget gridWidget); void init(); void setScenarioGridCell(ScenarioGridCell scenarioGridCell); @Override void initialise(final GridBodyCellRenderContext context); @Override String getValue(); @Override void setValue(final String value); @Override int getTabIndex(); @Override void setTabIndex(final int index); @Override void setAccessKey(final char key); @Override void setFocus(final boolean focused); @Override void flush(final String value); @Override void detach(); }
ScenarioCellTextAreaDOMElement extends BaseDOMElement<String, TextArea> implements TakesValue<String>,
                                                                                                Focusable { protected void internalFlush(final String value) { final int rowIndex = context.getRowIndex(); final int columnIndex = context.getColumnIndex(); ((ScenarioGrid) gridWidget).getEventBus().fireEvent(new SetGridCellValueEvent(((ScenarioGrid) gridWidget).getGridWidget(), rowIndex, columnIndex, value)); } ScenarioCellTextAreaDOMElement(final TextArea widget,
                                          final GridLayer gridLayer,
                                          final GridWidget gridWidget); void init(); void setScenarioGridCell(ScenarioGridCell scenarioGridCell); @Override void initialise(final GridBodyCellRenderContext context); @Override String getValue(); @Override void setValue(final String value); @Override int getTabIndex(); @Override void setTabIndex(final int index); @Override void setAccessKey(final char key); @Override void setFocus(final boolean focused); @Override void flush(final String value); @Override void detach();  }