Examples of JXHyperlink


Examples of org.jdesktop.swingx.JXHyperlink

            spinner.setEditor(editor);
            return spinner;
        }

        private AbstractButton createNavigationButton() {
            JXHyperlink b = new JXHyperlink();
            b.setContentAreaFilled(false);
            b.setBorder(BorderFactory.createEmptyBorder());
            b.setRolloverEnabled(true);
            b.setFocusable(false);
            return b;
        }

Examples of org.jdesktop.swingx.JXHyperlink

                BorderFactory.createEmptyBorder(10, 10, 10, 10));
    }

    @Override
    public Component createAction(Action action) {
        JXHyperlink link = new JXHyperlink(action) {
            @Override
            public void updateUI() {
                super.updateUI();
                // ensure the ui of this link is correctly update on l&f changes
                configure(this);

Examples of org.jdesktop.swingx.JXHyperlink

            if (zoomOutLink != null)
                zoomOutLink.setFont(font);
        }

        private JXHyperlink createZoomLink() {
            JXHyperlink zoomOutLink = new JXHyperlink();
            Color textColor = new Color(16, 66, 104);
            zoomOutLink.setUnclickedColor(textColor);
            zoomOutLink.setClickedColor(textColor);
            zoomOutLink.setFocusable(false);
            return zoomOutLink;
        }

Examples of org.jdesktop.swingx.JXHyperlink

            zoomOutLink.setFocusable(false);
            return zoomOutLink;
        }

        private AbstractButton createNavigationButton() {
            JXHyperlink b = new JXHyperlink();
            b.setContentAreaFilled(false);
            b.setBorder(BorderFactory.createEmptyBorder());
            b.setRolloverEnabled(true);
            b.setFocusable(false);
            return b;
        }

Examples of org.jdesktop.swingx.JXHyperlink

        if (zoomOutLink != null)
            zoomOutLink.setFont(font);
    }

    private JXHyperlink createZoomLink() {
        JXHyperlink zoomOutLink = new JXHyperlink();
        Color textColor = new Color(16, 66, 104);
        zoomOutLink.setUnclickedColor(textColor);
        zoomOutLink.setClickedColor(textColor);
        zoomOutLink.setFocusable(false);
        return zoomOutLink;
    }

Examples of org.jdesktop.swingx.JXHyperlink

        zoomOutLink.setFocusable(false);
        return zoomOutLink;
    }

    private AbstractButton createNavigationButton() {
        JXHyperlink b = new JXHyperlink();
        b.setContentAreaFilled(false);
        b.setBorder(BorderFactory.createEmptyBorder());
        b.setRolloverEnabled(true);
        b.setFocusable(false);
        return b;
    }

Examples of org.jdesktop.swingx.JXHyperlink

   
    private void initComponents() {
        setTitle("Configuraci�n");
        JXTaskPaneContainer taskPaneContainer = new JXTaskPaneContainer();
        taskPanePrincipal.setTitle("B�sico");
        taskPanePrincipal.add(new JXHyperlink(new SampleAction("Par�metros","Establecer par�metros aplicaci�n","param")));
        taskPanePrincipal.add(new JXHyperlink(new SampleAction("Palabras clave", "Palabras clave y colores","claves")));
       
        taskPaneMenu.setTitle("Menus");
        taskPaneMenu.add(new JXHyperlink(new SampleAction("Men� explorador", "Edici�n del menu de usuario","menu")));
       
        JXTaskPane taskPaneAyuda = new JXTaskPane();
        taskPaneAyuda.setTitle("Ayuda");
        taskPaneAyuda.add(new JXHyperlink(new SampleAction("Menus", "Configuraci�n menus","help:Menus")) );
        taskPaneAyuda.add(new JXHyperlink(new SampleAction("Comandos", "Configuraci�n de comandos","help:Comandos")));
        taskPaneAyuda.add(new JXHyperlink(new SampleAction("About", "Ayuda sobre explorador","about")));
       
       
       
       
       

Examples of org.jdesktop.swingx.JXHyperlink

    gbc_autoCompletionComboBox.fill = GridBagConstraints.HORIZONTAL;
    gbc_autoCompletionComboBox.gridx = 1;
    gbc_autoCompletionComboBox.gridy = 1;
    this.add(this.autoCompletionComboBox, gbc_autoCompletionComboBox);
   
    this.hprlnkAddCustomer = new JXHyperlink();
    this.hprlnkAddCustomer.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        doHprlnkAddCustomerActionPerformed(e);
      }
    });

Examples of org.jdesktop.swingx.JXHyperlink

   
    this.taskPane = new JXTaskPane();
    this.taskPane.setTitle(BUNDLE_MAIN_FRAME.getString("MainAppFrame.taskPane.title")); //$NON-NLS-1$
    this.taskPaneContainer.add(this.taskPane);
   
    this.hprlnkCustomersList = new JXHyperlink();
    this.hprlnkCustomersList.addActionListener(new ActionListener() {
      public void actionPerformed(final ActionEvent e) {
        doHprlnkCustomersListActionPerformed(e);
      }
    });
   
    this.hprlnkNewCustomer = new JXHyperlink();
    this.hprlnkNewCustomer.addActionListener(new ActionListener() {
      public void actionPerformed(final ActionEvent e) {
        doHprlnkNewCustomerActionPerformed(e);
      }
    });
    this.hprlnkNewCustomer.setText(BUNDLE_MAIN_FRAME.getString("MainAppFrame.hprlnkNewCustomer.text")); //$NON-NLS-1$
    this.taskPane.add(this.hprlnkNewCustomer, BorderLayout.NORTH);
    this.hprlnkCustomersList.setText(BUNDLE_MAIN_FRAME.getString("MainAppFrame.hprlnkCustomersList.text")); //$NON-NLS-1$
    this.taskPane.add(this.hprlnkCustomersList, BorderLayout.NORTH);
   
    this.taskPane_1 = new JXTaskPane();
    this.taskPane_1.setTitle(BUNDLE_MAIN_FRAME.getString("MainAppFrame.taskPane_1.title")); //$NON-NLS-1$
    this.taskPaneContainer.add(this.taskPane_1);
   
    this.hprlnkNewThoub = new JXHyperlink();
    this.hprlnkNewThoub.addActionListener(new ActionListener() {
      public void actionPerformed(final ActionEvent e) {
        doHprlnkNewThoubActionPerformed(e);
      }
    });
    this.hprlnkNewThoub.setText(BUNDLE_MAIN_FRAME.getString("MainAppFrame.hprlnkNewThoub.text")); //$NON-NLS-1$
    this.taskPane_1.add(this.hprlnkNewThoub, BorderLayout.NORTH);
   
    this.hprlnkCustomerThoubs = new JXHyperlink();
    this.hprlnkCustomerThoubs.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        doHprlnkCustomerThoubsActionPerformed(e);
      }
    });

Examples of org.jdesktop.swingx.JXHyperlink

        graph.readUnlock();

        //Level links   
        for (int i = 0; i < levelSize.length; i++) {

            JXHyperlink link = new JXHyperlink();
            link.setClickedColor(new java.awt.Color(0, 51, 255));
            link.setText(levelStr + " " + i + " (" + levelSize[i] + " " + nodesStr + ")");
            link.setHorizontalAlignment(javax.swing.SwingConstants.LEADING);
            final int lvl = i;
            link.addActionListener(new ActionListener() {

                public void actionPerformed(ActionEvent e) {
                    GraphModel model = Lookup.getDefault().lookup(GraphController.class).getModel();
                    HierarchicalGraph graph = model.getHierarchicalGraphVisible();
                    graph.resetViewToLevel(lvl);
                }
            });
            GridBagConstraints gdc = new GridBagConstraints(0, i, 1, 1, 1, 0, GridBagConstraints.PAGE_START, GridBagConstraints.HORIZONTAL, new Insets(0, 4, 0, 0), 0, 0);
            levelViewPanel.add(link, gdc);
        }

        //Leaves
        JXHyperlink link = new JXHyperlink();
        link.setClickedColor(new java.awt.Color(0, 51, 255));
        link.setText(leavesStr);
        link.setHorizontalAlignment(javax.swing.SwingConstants.LEADING);
        link.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent e) {
                GraphModel model = Lookup.getDefault().lookup(GraphController.class).getModel();
                HierarchicalGraph graph = model.getHierarchicalGraphVisible();
                graph.resetViewToLeaves();
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.