Examples of Row


Examples of org.apache.pivot.wtk.GridPane.Row

            }

            @SuppressWarnings("unused")
            private Row createGridRow() {
                Row row = new Row();
                try {
                    // note that this method doesn't use ApplicationContext cache for images ...
                    row.add(new PushButton(new ButtonData(Image.load(new File("clock_icon.png").toURI().toURL()), "Clock")));
                    row.add(new PushButton(new ButtonData(Image.load(new File("clock_icon.png").toURI().toURL()), "Clock")));
                    row.add(new PushButton(new ButtonData(Image.load(new File("clock_icon.png").toURI().toURL()), "Clock")));
                } catch (MalformedURLException e) {
                    e.printStackTrace();
                } catch (TaskExecutionException e) {
                    e.printStackTrace();
                }
View Full Code Here

Examples of org.apache.poi.ss.usermodel.Row

    return true;
  }

  private Cell getCellAt(final short x, final int y)
  {
    final Row row = getRowAt(y);
    final Cell cell = row.getCell(x);
    if (cell != null)
    {
      return cell;
    }
    return row.createCell(x);
  }
View Full Code Here

Examples of org.concordion.internal.Row

    private void executeTable(final CommandCall commandCall, final Evaluator evaluator, final ResultRecorder resultRecorder) {
        final TableSupport tableSupport = new TableSupport(commandCall);

        // this is the bit that's different: also execute on the header
        tableRow.set(TableRow.HEADER);
        final Row headerRow = tableSupport.getLastHeaderRow();
        commandCall.setElement(headerRow.getElement());
        commandCall.execute(evaluator, resultRecorder);

        // the rest is copied from Concordion's original implementation
        tableRow.set(TableRow.BODY);
        final Row[] detailRows = tableSupport.getDetailRows();
View Full Code Here

Examples of org.crank.crud.controller.Row

    petClinicLeadCrud.clear();
    DataModel model = petClinicLeadCrud.getModel();
    assert model != null : "The model is not null";
    List<Row> list = (List<Row>) model.getWrappedData();
    assert list.size() > 0 : "There is some data in here";
    Row row = list.get(0);
    PetClinicInquiry pci = (PetClinicInquiry) row.get("inquiry");
    assert pci.getAnotherProp().startsWith("testInquiry") : "Data seems correct";
   
  }
View Full Code Here

Examples of org.displaytag.model.Row

        // get the correct iterator (full or partial list according to the exportFull field)
        RowIterator rowIterator = this.model.getRowIterator(this.exportFull);
        // iterator on rows
        while (rowIterator.hasNext())
        {
            Row row = rowIterator.next();

            // iterator on columns
            ColumnIterator columnIterator = row.getColumnIterator(this.model.getHeaderCellList());

            while (columnIterator.hasNext())
            {
                Column column = columnIterator.nextColumn();
View Full Code Here

Examples of org.drools.planner.examples.nqueens.domain.Row

            messagePanel.add(rowListField, BorderLayout.CENTER);
            int result = JOptionPane.showConfirmDialog(NQueensPanel.this.getRootPane(), messagePanel,
                    "Queen in column " + queen.getColumn().getIndex(),
                    JOptionPane.OK_CANCEL_OPTION);
            if (result == JOptionPane.OK_OPTION) {
                Row toRow = (Row) rowListField.getSelectedItem();
                Move move = new RowChangeMove(queen, toRow);
                solutionBusiness.doMove(move);
                solverAndPersistenceFrame.resetScreen();
            }
        }
View Full Code Here

Examples of org.drools.runtime.rule.Row

    public void rowRemoved(Row row) {
        int index = this.data.indexOf( row );
        // create the change event
        updates.beginEvent();
        // do the actual remove
        Row removed = data.remove( index );
        updates.elementDeleted(index, removed);
       
        updates.commitEvent();

    }
View Full Code Here

Examples of org.dspace.app.xmlui.wing.element.Row

          contextPath+"/admin/epeople",Division.METHOD_POST,"primary administrative groups");
      deleted.setHead(T_head);
      deleted.addPara(T_para);
     
      Table table = deleted.addTable("groups-list",groups.size() + 1, 3);
        Row header = table.addRow(Row.ROLE_HEADER);
        header.addCell().addContent(T_column1);
        header.addCell().addContent(T_column2);
        header.addCell().addContent(T_column3);
        header.addCell().addContent(T_column4);
       
      for (Group group : groups)
      { 
        Row row = table.addRow();
        row.addCell().addContent(group.getID());
          row.addCell().addContent(group.getName());
          row.addCell().addContent(group.getMembers().length);
          row.addCell().addContent(group.getMemberGroups().length);
      }
     
      Para buttons = deleted.addPara();
      buttons.addButton("submit_confirm").setValue(T_submit_confirm);
      buttons.addButton("submit_cancel").setValue(T_submit_cancel);
View Full Code Here

Examples of org.eclipse.egit.ui.common.ExistingOrNewPage.Row

        .getLocation().toOSString();
    String projectPath3 = workspace.getRoot().getProject(projectName3)
        .getLocation().toOSString();
    existingOrNewPage.assertContents(
        new Row[] {
            new Row(true, projectName1, projectPath1, ".."
                + File.separator + ".git"),
            new Row(false, projectName2, projectPath2, "", new Row[] {
                new Row(false, ".", "", ".git"),
                new Row(false, "..", "", ".." + File.separator
                    + ".git")}),
            new Row(false, projectName3, projectPath3, "", new Row[] {
                new Row(true, ".", "", ".git"),
                new Row(false, "..", "", ".." + File.separator
                    + ".git")
            })}, "");

    bot.tree().getAllItems()[1].getItems()[0].check();
    existingOrNewPage.assertEnabling(false, false, true);
View Full Code Here

Examples of org.ektorp.ViewResult.Row

final class CouchDbDocumentConverter extends ColumnNameAsKeysRowConverter {

    @Override
    protected Object get(Document document, String columnName) {
        if (CouchDbDataContext.FIELD_ID.equals(columnName)) {
            Row row = (Row) document.getSourceObject();
            return row.getId();
        }
        // TODO Auto-generated method stub
        return super.get(document, columnName);
    }
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.