Examples of JXHyperlink


Examples of org.jdesktop.swingx.JXHyperlink

        public void actionPerformed(ActionEvent e) {
          ae.actionPerformed(e);
        }
      };
      // build it
      link = new JXHyperlink(linkAction);
      if (icon != null && desc == null) {
        ((JXHyperlink) link).setIcon(IconCache.get(icon));
      }
    } else {
      // build it

Examples of org.jdesktop.swingx.JXHyperlink

    init();
  }

  private void init() {
    this.setName("navigationPanel");
    this.textPanelLink = new JXHyperlink();
    this.textPanelLink.setName("textPanelLinkName");
    this.textPanelLink.setText("Show text panel");
    this.textTaskPanel = new JXTaskPane();
    this.textTaskPanel.setName("imageView");
    this.textTaskPanel.setTitle("Images");

Examples of org.jdesktop.swingx.JXHyperlink

    panelEast.add(new Label());
    panelEast.add(new Label("Stefan Laubenberger"));
    panelEast.add(new Label("Bullingerstrasse 53"));
    panelEast.add(new Label("CH-8004 Zürich"));
    panelEast.add(new Label());
    final JXHyperlink link = new JXHyperlink();
    final JXHyperlink mail = new JXHyperlink();
    try {
      link.setURI(new URI(HelperResource.URL));
      mail.setURI(new URI(HelperResource.MAIL));
    } catch (URISyntaxException ex) {
      //should never happen!
      log.error("Invalid URI", ex); //$NON-NLS-1$
    }
    panelEast.add(link);

Examples of org.jdesktop.swingx.JXHyperlink

    panelEast.add(new Label());
    panelEast.add(new Label("Stefan Laubenberger")); //$NON-NLS-1$
    panelEast.add(new Label("Bullingerstrasse 53")); //$NON-NLS-1$
    panelEast.add(new Label("CH-8004 Zürich")); //$NON-NLS-1$
    panelEast.add(new Label());
    final JXHyperlink link = new JXHyperlink();
    final JXHyperlink mail = new JXHyperlink();
    try {
      link.setURI(new URI(HelperResource.URL));
//      link.setURI(view.getController().getModel().getUrl().toURI());
      mail.setURI(new URI(HelperResource.MAIL));
//      mail.setText(HelperResource.MAIL);
    } catch (URISyntaxException ex) {
      //should never happen!
      log.error("Invalid URI", ex); //$NON-NLS-1$
    }

Examples of org.jdesktop.swingx.JXHyperlink

    panelEast.add(new Label());
    panelEast.add(new Label("Stefan Laubenberger"));
    panelEast.add(new Label("Bullingerstrasse 53"));
    panelEast.add(new Label("CH-8004 Zürich"));
    panelEast.add(new Label());
    final JXHyperlink link = new JXHyperlink();
    final JXHyperlink mail = new JXHyperlink();
    try {
      link.setURI(new URI(HelperResource.URL));
      mail.setURI(new URI(HelperResource.MAIL));
    } catch (URISyntaxException ex) {
      //should never happen!
      log.error("Invalid URI", ex); //$NON-NLS-1$
    }
    panelEast.add(link);

Examples of org.jdesktop.swingx.JXHyperlink

    gbc_cbCustomer.fill = GridBagConstraints.HORIZONTAL;
    gbc_cbCustomer.gridx = 1;
    gbc_cbCustomer.gridy = 2;
    this.contentsPanel.add(this.cbCustomer, gbc_cbCustomer);

    this.hprlnkAddCustomer = new JXHyperlink();
    this.hprlnkAddCustomer.addActionListener(new ActionListener() {
      public void actionPerformed(final ActionEvent e) {
        doHprlnkAddCustomerActionPerformed(e);
      }
    });

Examples of org.jdesktop.swingx.JXHyperlink

  protected void initialize() {
    super.initialize();
    getPanelTasks()
        .setLayout(new MigLayout("", "[71px]", "[][][][]"));

    this.hprlnkEditEmployee = new JXHyperlink();
    this.hprlnkEditEmployee.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        doHprlnkEditEmployeeActionPerformed(e);
      }
    });
    this.hprlnkEditEmployee.setText("Edit Employee");
    getPanelTasks().add(this.hprlnkEditEmployee, "cell 0 0");

    this.hprlnkAttachments = new JXHyperlink();
    this.hprlnkAttachments.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        doHprlnkAttachmentsActionPerformed(e);
      }
    });
    this.hprlnkAttachments.setText("Attachments");
    getPanelTasks().add(this.hprlnkAttachments, "cell 0 1");

    this.hprlnkNotes = new JXHyperlink();
    this.hprlnkNotes.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        doHprlnkNotesActionPerformed(e);
      }
    });
    this.hprlnkNotes.setText("Notes");
    getPanelTasks().add(this.hprlnkNotes, "cell 0 2");

    this.hprlnkPayroll = new JXHyperlink();
    this.hprlnkPayroll.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        doHprlnkPayrollActionPerformed(e);
      }
    });

Examples of org.jdesktop.swingx.JXHyperlink

    getContentsPanel().add(this.lblAttachmenttype,"cell 0 4");

    this.cbAttachmentType = new JComboBox();
    getContentsPanel().add(this.cbAttachmentType,"cell 1 4,growx");
   
    this.hprlnkAddEdit = new JXHyperlink();
    this.hprlnkAddEdit.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        doHprlnkAddEditActionPerformed(e);
      }
    });

Examples of org.jdesktop.swingx.JXHyperlink

    TableCellEditor {

  @Override
  public Component getTableCellEditorComponent(final JTable table,
      Object value, boolean isSelected, final int row, int column) {
    JXHyperlink hyperlink = new JXHyperlink();
    hyperlink.setText("Delete");
    hyperlink.addActionListener(new ActionListener() {

      @Override
      public void actionPerformed(ActionEvent e) {
        if (row == 0)
          return;

Examples of org.jdesktop.swingx.JXHyperlink

    gbc_cbCustomer.gridx = 1;
    gbc_cbCustomer.gridy = 2;
    getFormPanel().add(this.cbCustomer, gbc_cbCustomer);
    this.cbCustomer.setName("cbCustomer");

    this.hprlnkNewCustomer = new JXHyperlink();
    GridBagConstraints gbc_hprlnkNewCustomer = new GridBagConstraints();
    gbc_hprlnkNewCustomer.insets = new Insets(0, 0, 5, 0);
    gbc_hprlnkNewCustomer.gridx = 2;
    gbc_hprlnkNewCustomer.gridy = 2;
    getFormPanel().add(this.hprlnkNewCustomer, gbc_hprlnkNewCustomer);
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.