Examples of addRow()


Examples of org.jasig.portal.utils.TableFormatter.addRow()

                new TableEntry<String>("Delete", "-", "s"));
               
        for (final Map.Entry<String, Set<Operations>> portalDataTypeEntry : portalDataTypes.entrySet()) {
            final String typeId = portalDataTypeEntry.getKey();
            final Set<Operations> ops = portalDataTypeEntry.getValue();
            tableFormatter.addRow(
                new TableEntry<String>(typeId, "-", "s"),
                new TableEntry<Boolean>(ops.contains(Operations.EXPORT), "-", "b"),
                new TableEntry<Boolean>(ops.contains(Operations.DELETE), "-", "b"));
        }
       
View Full Code Here

Examples of org.jbpm.formbuilder.client.form.items.TableLayoutFormItem.addRow()

            public void undoAction(UndoableEvent event) {
                TableLayoutFormItem item = (TableLayoutFormItem) event.getData("item");
                Integer selectedY = (Integer) event.getData("selectedY");
                List<FBFormItem> deletedRow = (List<FBFormItem>) event.getData("deletedRow");
                int rowNumber = item.getRowForYCoordinate(selectedY);
                item.addRow(rowNumber);
                item.insertRowElements(rowNumber, deletedRow);
            }
            @Override
            public void onEvent(UndoableEvent event) { }
            @Override
View Full Code Here

Examples of org.jfree.layouting.renderer.model.table.rows.TableRowModel.addRow()

          // that's one, for instance ...
          if (autoGeneratedRow == null)
          {
            autoGeneratedRow =
                    new TableRowRenderBox(EmptyBoxDefinition.getInstance(), true);
            rowModel.addRow(new TableRow());

            autoRowInfo = autoGeneratedRow.getRowInfoStructure();
            for (int emptyCellCnt = 0; emptyCellCnt < i; emptyCellCnt += 1)
            {
              final TableCellRenderBox autoCell =
View Full Code Here

Examples of org.jitterbit.application.ui.widget.BasicTwoColumnLabelDisplayer.addRow()

       
        private void showNodeInfo(GraphNodeUi2D nodeUi) {
            BasicTwoColumnLabelDisplayer ui = new BasicTwoColumnLabelDisplayer();
            Rectangle bounds = layout.getBounds(nodeUi.getNodeObject());
            Object node = nodeUi.getNodeObject();
            ui.addRow("Node: ", node != null ? node.toString() : "[null]");
            ui.addRow("Bounds: ", String.valueOf(bounds));
            ui.addRow("Minimum size: ", String.valueOf(nodeUi.getMinimumSize()));
            ui.addRow("Preferred size: ", String.valueOf(nodeUi.getPreferredSize()));
            for (GraphEdge in : getModel().getIncomingEdges(node)) {
                ui.addRow("Incoming route: ", in.toString());
View Full Code Here

Examples of org.jitterbit.ui.layout.DialogLayoutBuilder.addRow()

        private void layoutControls() {
            DialogLayoutBuilder grid = new DialogLayoutBuilder(5, 5);
            BoxBuilder row = BoxBuilder.horizontal();
            row.addAllWithSpace(10, fileNameField.getInputComponent(), createOptionsButton());
            grid.addRow(fileNameField.getLabel(), row.container());
            JComponent button = InvisiblePanel.newPanel(new KongaButton(generateXsdAction));
            grid.addRow(new JLabel(" "), button);
            layout.north(grid);
        }
View Full Code Here

Examples of org.jitterbit.ui.layout.NColumnPanel.addRow()

        NColumnPanel grid = new NColumnPanel(3);
        grid.setInsets(0, 0, 2, 0);
        grid.setXWeights(0.5, 0.0, 0.5);
        KongaLabel available = createLabel(ObjectSelectionPage.Labels.AVAILABLE_ITEMS, availableTables);
        KongaLabel selected = createLabel(ObjectSelectionPage.Labels.SELECTED_ITEMS, selectedTables);
        grid.addRow(available, null, selected);
        grid.setYWeights(1.0, 1.0, 1.0);
        grid.setFills(Fill.BOTH, Fill.VERTICAL, Fill.BOTH);
        grid.setInsets(1, 0, 10, 0, 10);
        grid.addRow(wrap(availableTables), layoutButtons(), wrap(selectedTables));
        grid.decorate(canvas);
View Full Code Here

Examples of org.jitterbit.ui.layout.TwoColumnPanel.addRow()

    private void layoutComponents() {
        TwoColumnPanel center = new TwoColumnPanel();
        Insets ins = new Insets(10, 5, 10, 5);
        center.setLeftInsets(ins);
        center.setRightInsets(ins);
        center.addRow(caption);
        center.addRow(textField, browseButton);
        BorderBuilder border = new BorderBuilder().empty(10).etched().empty(5);
        center.setBorder(border);
        center.addToParent(frame.getContentPane(), BorderLayout.CENTER);
        buttonPanel.setBorder(Empty.border(10, 10, 10, 10));
View Full Code Here

Examples of org.jivesoftware.smackx.ReportedData.addRow()

            if (eventType == XmlPullParser.START_TAG && parser.getName().equals("item")) {
                fields = new ArrayList<ReportedData.Field>();
            }
            else if (eventType == XmlPullParser.END_TAG && parser.getName().equals("item")) {
                ReportedData.Row row = new ReportedData.Row(fields);
                data.addRow(row);
            }
            else if (eventType == XmlPullParser.START_TAG) {
                String name = parser.getName();
                String value = parser.nextText();
View Full Code Here

Examples of org.jmanage.util.display.Table.addRow()

        }

        /* draw the table */
        Table table = getTable();
        table.setHeader(itemNames);
        table.addRow(itemValues);
        return table.draw();
    }

    protected abstract Table getTable();
}
View Full Code Here

Examples of org.kie.uberfire.client.common.FormStyleLayout.addRow()

        //Adding metadata here, seems redundant to add a new widget for metadata. Model does handle meta data separate.
        RuleMetadata[] meta = model.metadataList;
        if ( meta.length > 0 ) {
            HorizontalPanel hp = new HorizontalPanel();
            hp.add( new SmallLabel( GuidedRuleEditorResources.CONSTANTS.Metadata2() ) );
            layout.addRow( hp );
        }
        for ( int i = 0; i < meta.length; i++ ) {
            RuleMetadata rmd = meta[ i ];
            layout.addAttribute( rmd.getAttributeName(),
                                 getEditorWidget( rmd,
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.