Esempio n. 1
0
  protected JComponent createMasterPanel() {
    final FormLayout layout =
        new FormLayout(
            "l:p,2dlu,f:max(p;50dlu):g(.3) ,3dlu " + "l:p,2dlu,f:max(p;50dlu):g(.3) ", "");
    final DefaultFormBuilder builder = new DefaultFormBuilder(layout);
    builder.setDefaultDialogBorder();
    builder.setRowGroupingEnabled(true);
    builder.append("Fecha", fecha);
    builder.append("F. Pago", formaDePago, true);
    builder.append("Banco", bancoOrigen);
    builder.append("Referencia", referencia, true);
    builder.append("Cuenta Depósito", cuentaDeposito, true);
    builder.append("Importe", importe);
    builder.append("Pago", buildPagosbox(model.getPagoMPModel().getModel("depositoRow")), true);
    builder.append("Disponible", disponible);
    builder.append("Por pagar", saldoTotal);
    builder.append("Pendiente", saldoPendiente, true);

    final CellConstraints cc = new CellConstraints();
    builder.append("Comentario");
    builder.appendRow(new RowSpec("17dlu"));
    builder.add(new JScrollPane(comentario), cc.xywh(builder.getColumn(), builder.getRow(), 5, 2));
    builder.nextLine(2);
    builder.append("Condonar", condonar);
    builder.append("Tipo de Facturas", tipoDoctos, true);
    ComponentUtils.decorateSpecialFocusTraversal(builder.getPanel());
    return builder.getPanel();
  }
  @Override
  protected void appendProperties(DefaultFormBuilder builder) {
    builder.append("Template", _template);
    builder.append(_templateButton);
    builder.nextLine();

    builder.append("Parameters");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");

    builder.nextLine();
    builder.append("");

    builder.nextRow(-6);
    JScrollPane scrollPane = new JScrollPane(_parameters);
    CellConstraints cc = new CellConstraints();
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7));
    builder.nextRow(6);
    builder.nextLine();

    builder.append("Property Sets");
    builder.append(_propertySets, 3);
    builder.nextLine();

    builder.append("Properties");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");

    builder.nextLine();
    builder.append("");

    builder.nextRow(-6);
    scrollPane = new JScrollPane(_properties);
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7));
    builder.nextRow(6);
    builder.nextLine();
  }
Esempio n. 3
0
  @Override
  protected void appendProperties(DefaultFormBuilder builder) {
    CellConstraints cc = new CellConstraints();

    builder.append("Hostname");
    builder.append(_hostname, 3);
    builder.nextLine();

    builder.appendSeparator("Deployed Applications");
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextRow(-14);
    JScrollPane scrollPane = new JScrollPane(_applications);
    scrollPane.setToolTipText(_applications.getToolTipText());
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 14));
    builder.nextRow(14);
    builder.nextLine();

    builder.appendSeparator("Dynamic Well-Known Objects");
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextRow(-14);
    scrollPane = new JScrollPane(_objects);
    scrollPane.setToolTipText(_objects.getToolTipText());
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 14));
    builder.nextRow(14);
    builder.nextLine();

    builder.appendSeparator("Dynamic Object Adapters");
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextRow(-14);
    scrollPane = new JScrollPane(_adapters);
    scrollPane.setToolTipText(_adapters.getToolTipText());
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 14));
    builder.nextRow(14);
    builder.nextLine();
  }
Esempio n. 4
0
  protected void appendProperties(DefaultFormBuilder builder) {
    builder.appendSeparator("Runtime Status");

    builder.append("Status");
    builder.append(_currentStatus, 3);
    builder.nextLine();

    builder.append("Published Endpoints");
    builder.append(_currentEndpoints, 3);
    builder.nextLine();

    builder.appendSeparator("Configuration");

    builder.append("Description");
    builder.nextLine();
    builder.append("");
    builder.nextRow(-2);
    CellConstraints cc = new CellConstraints();
    JScrollPane scrollPane = new JScrollPane(_description);
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 3));
    builder.nextRow(2);
    builder.nextLine();

    builder.append("Adapter ID");
    builder.append(_id, 3);
    builder.nextLine();

    builder.append("Replica Group");
    builder.append(_replicaGroupId, 3);
    builder.nextLine();

    builder.append("Priority");
    builder.append(_priority, 3);
    builder.nextLine();

    builder.append("Endpoints");
    builder.append(_endpoints, 3);
    builder.nextLine();

    builder.append("Published Endpoints");
    builder.append(_publishedEndpoints, 3);
    builder.nextLine();

    builder.append("", _registerProcess);
    builder.nextLine();
    builder.append("", _serverLifetime);
    builder.nextLine();

    builder.append("Well-known Objects");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextRow(-6);
    scrollPane = new JScrollPane(_objects);
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7));
    builder.nextRow(6);
    builder.nextLine();

    builder.append("Allocatable Objects");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextRow(-6);
    scrollPane = new JScrollPane(_allocatables);
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7));
    builder.nextRow(6);
    builder.nextLine();
  }