@Test public void init() { verify(styleMock, times(1)).setWidth(100, Style.Unit.PCT); verify(styleMock, times(1)).setHeight(100, Style.Unit.PCT); verify(styleMock, times(1)).setFontSize(12, Style.Unit.PX); verify(styleMock, times(1)).setProperty("resize", "none"); verify(simplePanelMock, times(1)).setWidget(eq(textAreaMock)); }
public void init() { final Style style = widget.getElement().getStyle(); style.setWidth(100, Style.Unit.PCT); style.setHeight(100, Style.Unit.PCT); style.setFontSize(12, Style.Unit.PX); style.setProperty("resize", "none"); getContainer().setWidget(widget); }
ScenarioCellTextAreaDOMElement extends BaseDOMElement<String, TextArea> implements TakesValue<String>,
                                                                                                Focusable { public void init() { final Style style = widget.getElement().getStyle(); style.setWidth(100, Style.Unit.PCT); style.setHeight(100, Style.Unit.PCT); style.setFontSize(12, Style.Unit.PX); style.setProperty("resize", "none"); getContainer().setWidget(widget); } }
ScenarioCellTextAreaDOMElement extends BaseDOMElement<String, TextArea> implements TakesValue<String>,
                                                                                                Focusable { public void init() { final Style style = widget.getElement().getStyle(); style.setWidth(100, Style.Unit.PCT); style.setHeight(100, Style.Unit.PCT); style.setFontSize(12, Style.Unit.PX); style.setProperty("resize", "none"); getContainer().setWidget(widget); } ScenarioCellTextAreaDOMElement(final TextArea widget,
                                          final GridLayer gridLayer,
                                          final GridWidget gridWidget); }
ScenarioCellTextAreaDOMElement extends BaseDOMElement<String, TextArea> implements TakesValue<String>,
                                                                                                Focusable { public void init() { final Style style = widget.getElement().getStyle(); style.setWidth(100, Style.Unit.PCT); style.setHeight(100, Style.Unit.PCT); style.setFontSize(12, Style.Unit.PX); style.setProperty("resize", "none"); getContainer().setWidget(widget); } 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 { public void init() { final Style style = widget.getElement().getStyle(); style.setWidth(100, Style.Unit.PCT); style.setHeight(100, Style.Unit.PCT); style.setFontSize(12, Style.Unit.PX); style.setProperty("resize", "none"); getContainer().setWidget(widget); } 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();  }