/* * (non-Javadoc) * * @see org.lobobrowser.html.layout.CommonWidgetLayout#createRenderable(org. * lobobrowser .html.renderer.RBlockViewport, * org.lobobrowser.html.domimpl.HTMLElementImpl) */ @Override protected RElement createRenderable(RBlockViewport bodyLayout, HTMLElementImpl markupElement) { HTMLBaseInputElement bie = (HTMLBaseInputElement) markupElement; BaseInputControl control = new InputTextAreaControl(bie); bie.setInputContext(control); return new RUIControl( markupElement, control, bodyLayout.getContainer(), bodyLayout.getFrameContext(), bodyLayout.getUserAgentContext()); }
/* * (non-Javadoc) * * @see org.lobobrowser.html.layout.CommonWidgetLayout#createRenderable(org. * lobobrowser .html.renderer.RBlockViewport, * org.lobobrowser.html.domimpl.HTMLElementImpl) */ @Override protected RElement createRenderable(RBlockViewport bodyLayout, HTMLElementImpl markupElement) { HTMLBaseInputElement bie = (HTMLBaseInputElement) markupElement; BaseInputControl uiControl = createInputControl(bie); if (uiControl == null) { return null; } bie.setInputContext(uiControl); return new RUIControl( markupElement, uiControl, bodyLayout.getContainer(), bodyLayout.getFrameContext(), bodyLayout.getUserAgentContext()); }