Examples of footer()


Examples of com.google.gwt.user.cellview.client.AbstractCellTable.Style.footer()

    Column<?, ?> sortedColumn = (sortedInfo == null) ? null : sortedInfo.getColumn();
    boolean isSortAscending = (sortedInfo == null) ? false : sortedInfo.isAscending();

    // Get the common style names.
    Style style = getTable().getResources().style();
    String className = isBuildingFooter() ? style.footer() : style.header();
    String sortableStyle = " " + style.sortableHeader();
    String sortedStyle =
        " " + (isSortAscending ? style.sortedHeaderAscending() : style.sortedHeaderDescending());

    // Setup the first column.
View Full Code Here

Examples of org.seleniuminspector.html.TableInspector.footer()

                "border-right: 1px solid #e0e0e0",
                "border-right: ? none ?",
                "border-right: ? none ?",
                "border-right: ? none ?"});

        table.footer().assertElementExists(false);
    }

     @Test
    public void testColumnGroups_styles() {
        testAppFunctionalPage("/components/datatable/dataTableColumnGroups.jsf");
View Full Code Here

Examples of org.seleniuminspector.html.TableInspector.footer()

        tabbedPane("formID:testSelector").setPageIndex(1, ServerLoadingMode.getInstance());

        TableInspector table = dataTable("formID:groupStylesTable");
        assertEquals("There should be two header rows", 2, table.header().rowCount());
        assertEquals("There should be 10 body rows", 10, table.body().rowCount());
        assertFalse("There should be no footer", table.footer().elementExists());

        table.header().row(0).assertCellParams(new TableCellParams[]{
                new TableCellParams(NBSP_CHAR),
                new TableCellParams("String Field 1"),
                new TableCellParams("String Field 2"),
View Full Code Here

Examples of org.seleniuminspector.html.TableInspector.footer()

        TableInspector table = dataTable("formID:twoFootersTable");
        TableSectionInspector body = table.body();
        assertFalse("There should be no header", table.header().elementExists());
        assertEquals("There should be 10 body rows", 10, body.rowCount());

        TableSectionInspector footer = table.footer();
        assertEquals("There should be 2 footer rows", 2, footer.rowCount());
        footer.row(0).assertCellStyles("border-top: 1px solid #a0a0a0");
        footer.row(0).assertCellStyles("border-bottom: ? none ?");
        footer.row(1).assertCellStyles("border-top: ? none ?");
        footer.row(1).assertCellStyles("border-bottom: ? none ?");
View Full Code Here

Examples of org.seleniuminspector.html.TableInspector.footer()

        footer.row(0).assertCellStyles("border-top: 1px solid #a0a0a0");
        footer.row(0).assertCellStyles("border-bottom: ? none ?");
        footer.row(1).assertCellStyles("border-top: ? none ?");
        footer.row(1).assertCellStyles("border-bottom: ? none ?");

        table.footer().row(0).assertCellParams(new TableCellParams[]{
                new TableCellParams(null, 1, 1, "background: DarkKhaki"),
                new TableCellParams("String Field 1", 1, 1, "background: DarkKhaki"),
                new TableCellParams("String Field 2", 1, 1, "background: DarkKhaki"),
                new TableCellParams("String Field 3", 1, 1, "background: DarkKhaki"),
                new TableCellParams("Int Field 1", 1, 1, "background: BurlyWood"),
View Full Code Here

Examples of org.seleniuminspector.html.TableInspector.footer()

                new TableCellParams("String Field 3", 1, 1, "background: DarkKhaki"),
                new TableCellParams("Int Field 1", 1, 1, "background: BurlyWood"),
                new TableCellParams("Int Field 2", 1, 1, "background: LightSalmon"),
                new TableCellParams("Int Field 3", 1, 1, "background: BurlyWood")
        });
        table.footer().row(1).assertCellParams(new TableCellParams[]{
                new TableCellParams("String Fields", 4, 1, "background: Olive"),
                new TableCellParams("Integer Fields", 3, 1, "background: Peru")
        });

        assertEquals("Checking number of columns", 7, table.getColumnCount());
View Full Code Here

Examples of org.seleniuminspector.html.TableInspector.footer()

                "border-right: ? none ?",
                "border-right: 1px solid silver",
                "border-right: ? none ?",
        });

        TableSectionInspector footer = table.footer();
        assertEquals("Checking the number of footer rows", 4, footer.rowCount());
        footer.row(0).assertCellStyles("border-top: 2px solid gray");
        footer.row(0).assertCellParams(new TableCellParams[]{
                new TableCellParams(NBSP_CHAR, 1, 3, "border-right: 2px solid gray"),
                new TableCellParams("String Field 1 (footer)", 1, 3, "border-right: 2px solid gray"),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.