Examples of row()


Examples of com.badlogic.gdx.scenes.scene2d.ui.Table.row()

                    done = true;
                    loadScreen();
                }
            });

            table.row().height(20);
            table.add(nameTextField).center().width(250).pad(55f);
            table.row().height(50);
            table.add(quitButton).center().width(300).pad(5f);
        }
View Full Code Here

Examples of com.facebook.presto.operator.RowPageBuilder.row()

        ObjectMapper mapper = new ObjectMapper();
        RowPageBuilder builder = RowPageBuilder.rowPageBuilder(BigintType.BIGINT, VarcharType.VARCHAR, VarcharType.VARCHAR);
        Random rand = new Random(0);
        for (int i = 0; i < datapoints; i++) {
            long label = rand.nextDouble() < 0.5 ? 0 : 1;
            builder.row(label, mapper.writeValueAsString(ImmutableMap.of(0, label + rand.nextGaussian())), "C=1");
        }

        return builder.build();
    }
}
View Full Code Here

Examples of com.foundationdb.qp.operator.RowsBuilder.row()

    protected static RowsBuilder createBuilder(List<String[]> values) {
        TInstance[] tinsts = new TInstance[values.get(0).length];
        Arrays.fill(tinsts, MString.varchar());
        RowsBuilder rowsBuilder = new RowsBuilder(tinsts);
        for(String[] s : values) {
            rowsBuilder.row(s);
        }
        return rowsBuilder;
    }

    protected void runTest(API.SortOption sortOption, List<String[]> input, List<String[]> expected, boolean... fieldOrdering) {
View Full Code Here

Examples of com.mycila.testing.plugin.db.api.SqlResults.row()

    public void test_select() throws Exception {
        SqlResults results2 = db2.prepare("SELECT * FROM TESTTYPES").query();
        System.out.println("All results:\n" + results2);
        System.out.println("columns: " + results2.columnCount());
        System.out.println("rows: " + results2.columnCount());
        System.out.println("9th element of row 5: " + results2.row(4).column(8));
        System.out.println("name of column 4: " + results2.columnHeader(3).name());
    }
}
View Full Code Here

Examples of com.spotify.helios.cli.Table.row()

        final Map<String, HostStatus> sorted = Maps.newTreeMap();
        sorted.putAll(allAsMap(statuses));
        out.println(Json.asPrettyStringUnchecked(sorted));
      } else {
        final Table table = table(out);
        table.row("HOST", "STATUS", "DEPLOYED", "RUNNING",
                  "CPUS", "MEM", "LOAD AVG", "MEM USAGE", "OS", "HELIOS", "DOCKER");

        for (final Map.Entry<String, ListenableFuture<HostStatus>> e : statuses.entrySet()) {

          final String host = e.getKey();
View Full Code Here

Examples of com.trolltech.qt.core.QModelIndex.row()

 
 
  @SuppressWarnings("unused")
  private void deletePressed() {
    QModelIndex index = table.currentIndex();
    int row = index.row();
   
    QTableWidgetItem dirWidget = table.item(row, 0);
    String value = dirWidget.text();
    List<SharedNotebook> notebooks = conn.getSharedNotebookTable().getForNotebook(notebook.getGuid());
   
View Full Code Here

Examples of io.fabric8.utils.TablePrinter.row()

                    Manifest manifest = desiredState.getManifest();
                    if (manifest != null) {
                        List<ManifestContainer> containers = manifest.getContainers();
                        for (ManifestContainer container : containers) {
                            String image = container.getImage();
                            table.row(id, image, host, labels, status);

                            id = "";
                            host = "";
                            status = "";
                            labels = "";
View Full Code Here

Examples of jinngine.math.Matrix3.row()

    public void testRow() {
        final Matrix3 m = new Matrix3(
                1., 2., 3.,
                4., 5., 6.,
                7., 8., 9.);
        final Vector3 r1 = m.row(0);
        assertEquals(1., r1.x);
        assertEquals(2., r1.y);
        assertEquals(3., r1.z);
        final Vector3 r2 = m.row(1);
        assertNotSame(r1, r2); // Vector is not recycled
View Full Code Here

Examples of nallar.tickthreading.util.TableFormatter.row()

        .heading("P")
        .heading("L");
    for (TickManager tickManager : TickThreading.instance.getManagers()) {
      tickManager.writeStats(tf, statsHolder);
    }
    tf
        .row("Overall")
        .row(statsHolder.entities)
        .row(statsHolder.tileEntities)
        .row(statsHolder.chunks)
        .row(MinecraftServer.getServerConfigurationManager(MinecraftServer.getServer()).getCurrentPlayerCount())
View Full Code Here

Examples of net.java.dev.designgridlayout.DesignGridLayout.row()

        final JScrollPane jscrollGoalShapes = new JScrollPane(this.jlistGoalShapes);

        final JPanel editBoardOriginalPanel = new JPanel();
        final DesignGridLayout editBoardOriginalLayout = new DesignGridLayout(editBoardOriginalPanel);
        final JLabel jlabelBoardTiles = new JLabel(L10N.getString("lbl.BoardTiles.text"));
        editBoardOriginalLayout.row().left().add(jlabelBoardTiles);
        editBoardOriginalLayout.row().grid().add(new JScrollPane(this.jlistQuadrants[0]), new JScrollPane(this.jlistQuadrants[1])).add(jbutRandomLayout, 2);
        editBoardOriginalLayout.row().grid().add(new JScrollPane(this.jlistQuadrants[3]), new JScrollPane(this.jlistQuadrants[2])).empty(2);

        final JPanel editBoardFreestylePanel = new JPanel();
        final DesignGridLayout editBoardFreestyleLayout = new DesignGridLayout(editBoardFreestylePanel);
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.