Element { public static final PGrid newPGrid() { return f.newPGrid(); }  static final void setElementFactory(final ElementFactory ef); static final PAbsolutePanel newPAbsolutePanel(); static final PAnchor newPAnchor(final String text, final String href); static final PAnchor newPAnchor(final String text); static final PAnchor newPAnchor(); static final PButton newPButton(final String text, final String html); static final PButton newPButton(final String text); static final PButton newPButton(); static final PCheckBox newPCheckBox(); static final PCheckBox newPCheckBox(final String label); static final PDateBox newPDateBox(final PDatePicker picker, final SimpleDateFormat dateFormat,
                                             final boolean keepDayTimeNeeded); static final PDateBox newPDateBox(final PDatePicker picker, final SimpleDateFormat dateFormat); static final PDateBox newPDateBox(final SimpleDateFormat dateFormat, final boolean keepDayTimeNeeded); static final PDateBox newPDateBox(final SimpleDateFormat dateFormat); static final PDateBox newPDateBox(); static final PDatePicker newPDatePicker(); static final PDecoratedPopupPanel newPDecoratedPopupPanel(final boolean autoHide); static final PDecoratorPanel newPDecoratorPanel(); static final PDialogBox newPDialogBox(); static final PDialogBox newPDialogBox(final boolean autoHide); static final PDisclosurePanel newPDisclosurePanel(final String headerText); static final PDockLayoutPanel newPDockLayoutPanel(final PUnit unit); static final PElement newPElement(final String tagName); static final PFileUpload newPFileUpload(); static final PFlexTable newPFlexTable(); static final PFlowPanel newPFlowPanel(); static final PFocusPanel newPFocusPanel(); static final PGrid newPGrid(); static final PGrid newPGrid(final int rows, final int columns); static final PHeaderPanel newPHeaderPanel(); static final PHorizontalPanel newPHorizontalPanel(); static final PHTML newPHTML(final String html, final boolean wordWrap); static final PHTML newPHTML(final String html); static final PHTML newPHTML(); static final PImage newPImage(final String url, final int left, final int top, final int width, final int height); static final PImage newPImage(final String url); static final PImage newPImage(final PImage.ClassPathURL classpathURL); static final PImage newPImage(); static final PLabel newPLabel(); static final PLabel newPLabel(final String text); static final PFunctionalLabel newPFunctionalLabel(final TextFunction textFunction); static final PFunctionalLabel newPFunctionalLabel(final TextFunction textFunction, final Object... args); static final PLayoutPanel newPLayoutPanel(); static final PListBox newPListBox(); static final PListBox newPListBox(final boolean containsEmptyItem); static final PMenuBar newPMenuBar(); static final PMenuBar newPMenuBar(final boolean vertical); static final PMenuItem newPMenuItem(final String text, final boolean asHTML); static final PMenuItem newPMenuItem(final String text, final PMenuBar subMenu); static final PMenuItem newPMenuItem(final String text); static final PMenuItem newPMenuItem(final String text, final boolean asHTML, final Runnable cmd); static final PMenuItem newPMenuItem(final String text, final boolean asHTML, final PMenuBar subMenu); static final PMenuItem newPMenuItem(final String text, final Runnable cmd); static final PMenuItemSeparator newPMenuItemSeparator(); static final PPasswordTextBox newPPasswordTextBox(); static final PPasswordTextBox newPPasswordTextBox(final String text); static final PPopupPanel newPPopupPanel(final boolean autoHide); static final PPopupPanel newPPopupPanel(); static final PPushButton newPPushButton(final PImage image); static final PRadioButton newPRadioButton(); static final PRadioButton newPRadioButton(final String label); static final PRadioButtonGroup newPRadioButtonGroup(final String name); static final PRichTextArea newPRichTextArea(); static final PRichTextToolbar newPRichTextToolbar(final PRichTextArea richTextArea); static final PScrollPanel newPScrollPanel(); static final PSimpleLayoutPanel newPSimpleLayoutPanel(); static final PSimplePanel newPSimplePanel(); static final PSplitLayoutPanel newPSplitLayoutPanel(); static final PStackLayoutPanel newPStackLayoutPanel(final PUnit unit); static final PSuggestBox newPSuggestBox(); static final PSuggestBox newPSuggestBox(final PSuggestOracle suggestOracle); static final PTabLayoutPanel newPTabLayoutPanel(); static final PTabPanel newPTabPanel(); static final PTextArea newPTextArea(); static final PTextArea newPTextArea(final String text); static final PTextBox newPTextBox(); static final PTextBox newPTextBox(final String text); static final PTree newPTree(); static final PTreeItem newPTreeItem(final String text); static final PTreeItem newPTreeItem(final PWidget widget); static final PTreeItem newPTreeItem(); static final PVerticalPanel newPVerticalPanel(); static final PWindow newPWindow(final String name, final String features); static final PWindow newPWindow(final String url, final String name, final String features); static final PWindow newPWindow(final boolean relative, final String url, final String name, final String features); static final PWindow newPWindow(final PWindow parentWindow, final String name, final String features); static final PWindow newPWindow(final PWindow parentWindow, final String url, final String name, final String features); static final PWindow newPWindow(final PWindow parentWindow, final boolean relative, final String url, final String name,
                                           final String features); static final PFrame newPFrame(); static final PFrame newPFrame(final String url); static final PElement newA(); static final PElement newB(); static final PElement newH1(); static final PElement newH2(); static final PElement newH3(); static final PElement newH4(); static final PElement newH5(); static final PElement newHr(); static final PElement newUl(); static final PElement newLi(); static final PElement newDiv(); static final PElement newSpan(); static final PElement newP(); static final PElement newSmall(); static final PElement newBlockquote(); static final PElement newTable(); static final PElement newThead(); static final PElement newTh(); static final PElement newTbody(); static final PElement newTr(); static final PElement newTd(); static final PElement newForm(); static final PElement newInput(); static final PElement newSelect(); static final PElement newLabel(); static final PElement newButton(); static final PElement newIframe(); static final PElement newSvg(); static final PElement newLine(); static final PElement newCircle(); static final PElement newEllipse(); static final PElement newText(); static final PElement newCanvas(); static final PElement newScript(); static final PElement newStyle(); static final String E_A; static final String E_B; static final String E_H1; static final String E_H2; static final String E_H3; static final String E_H4; static final String E_H5; static final String E_HR; static final String E_UL; static final String E_LI; static final String E_DIV; static final String E_SPAN; static final String E_P; static final String E_SMALL; static final String E_BLOCKQUOTE; static final String E_TABLE; static final String E_TBODY; static final String E_THEAD; static final String E_TH; static final String E_TR; static final String E_TD; static final String E_FORM; static final String E_INPUT; static final String E_LABEL; static final String E_BUTTON; static final String E_SELECT; static final String E_IFRAME; static final String E_SVG; static final String E_LINE; static final String E_CIRCLE; static final String E_ELLIPSE; static final String E_TEXT; static final String E_CANVAS; static final String E_SCRIPT; static final String E_STYLE; static ElementFactory f; }
@Test public void testNewPGrid() { final PObject widget = Element.newPGrid(); assertEquals(WidgetType.GRID, widget.getWidgetType()); }