@Test public void testInitialize() { tested.initialize(); assertEquals(buildStyleString(InlineTextEditorBoxViewImpl.ALIGN_MIDDLE, BOX_WIDTH, BOX_HEIGHT, InlineTextEditorBoxViewImpl.DEFAULT_FONT_FAMILY, InlineTextEditorBoxViewImpl.DEFAULT_FONT_SIZE), tested.buildStyle(BOX_WIDTH, BOX_HEIGHT)); }
@PostConstruct @Override public void initialize() { textBoxAlignment = ALIGN_MIDDLE; isMultiline = true; placeholder = translationService.getTranslation(StunnerWidgetsConstants.NameEditBoxWidgetViewImp_name); fontSize = DEFAULT_FONT_SIZE; fontFamily = DEFAULT_FONT_FAMILY; }
InlineTextEditorBoxViewImpl extends AbstractInlineTextEditorBoxView implements InlineEditorBoxView,
                   IsElement { @PostConstruct @Override public void initialize() { textBoxAlignment = ALIGN_MIDDLE; isMultiline = true; placeholder = translationService.getTranslation(StunnerWidgetsConstants.NameEditBoxWidgetViewImp_name); fontSize = DEFAULT_FONT_SIZE; fontFamily = DEFAULT_FONT_FAMILY; } }
InlineTextEditorBoxViewImpl extends AbstractInlineTextEditorBoxView implements InlineEditorBoxView,
                   IsElement { @PostConstruct @Override public void initialize() { textBoxAlignment = ALIGN_MIDDLE; isMultiline = true; placeholder = translationService.getTranslation(StunnerWidgetsConstants.NameEditBoxWidgetViewImp_name); fontSize = DEFAULT_FONT_SIZE; fontFamily = DEFAULT_FONT_FAMILY; } @Inject  InlineTextEditorBoxViewImpl(final TranslationService translationService);  InlineTextEditorBoxViewImpl(final TranslationService translationService,
                                       final Div editNameBox,
                                       final Div nameField,
                                       final Command showCommand,
                                       final Command hideCommand); }
InlineTextEditorBoxViewImpl extends AbstractInlineTextEditorBoxView implements InlineEditorBoxView,
                   IsElement { @PostConstruct @Override public void initialize() { textBoxAlignment = ALIGN_MIDDLE; isMultiline = true; placeholder = translationService.getTranslation(StunnerWidgetsConstants.NameEditBoxWidgetViewImp_name); fontSize = DEFAULT_FONT_SIZE; fontFamily = DEFAULT_FONT_FAMILY; } @Inject  InlineTextEditorBoxViewImpl(final TranslationService translationService);  InlineTextEditorBoxViewImpl(final TranslationService translationService,
                                       final Div editNameBox,
                                       final Div nameField,
                                       final Command showCommand,
                                       final Command hideCommand); @PostConstruct @Override void initialize(); @Override void init(Presenter presenter); @Override void setTextBoxInternalAlignment(final String alignment); @Override void setMultiline(final boolean isMultiline); @Override void setPlaceholder(final String placeholder); @Override void setFontSize(final double size); @Override void setFontFamily(final String fontFamily); @Override void show(final String name, final double width, final double height); @Override void rollback(); }
InlineTextEditorBoxViewImpl extends AbstractInlineTextEditorBoxView implements InlineEditorBoxView,
                   IsElement { @PostConstruct @Override public void initialize() { textBoxAlignment = ALIGN_MIDDLE; isMultiline = true; placeholder = translationService.getTranslation(StunnerWidgetsConstants.NameEditBoxWidgetViewImp_name); fontSize = DEFAULT_FONT_SIZE; fontFamily = DEFAULT_FONT_FAMILY; } @Inject  InlineTextEditorBoxViewImpl(final TranslationService translationService);  InlineTextEditorBoxViewImpl(final TranslationService translationService,
                                       final Div editNameBox,
                                       final Div nameField,
                                       final Command showCommand,
                                       final Command hideCommand); @PostConstruct @Override void initialize(); @Override void init(Presenter presenter); @Override void setTextBoxInternalAlignment(final String alignment); @Override void setMultiline(final boolean isMultiline); @Override void setPlaceholder(final String placeholder); @Override void setFontSize(final double size); @Override void setFontFamily(final String fontFamily); @Override void show(final String name, final double width, final double height); @Override void rollback(); static final String CARET_RETURN; static final String TEXT_ALIGN_CENTER; static final String TEXT_ALIGN_LEFT; static final String ALIGN_MIDDLE_STYLE; static final String ALIGN_LEFT_STYLE; static final String ALIGN_MIDDLE; static final String ALIGN_LEFT; static final String ALIGN_TOP; static final String DEFAULT_FONT_FAMILY; static final double DEFAULT_FONT_SIZE; }