Examples of IconNode


Examples of org.apache.myfaces.trinidadinternal.style.xml.parse.IconNode

    }

    // if icon is not null, create an IconNode

    if (icon != null)
      iconNodeList.add(new IconNode(selectorName, icon));
     
    return createStyleNode;

  }
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.style.xml.parse.IconNode

    }

    // if icon is not null, create an IconNode

    if (icon != null)
      iconNodeList.add(new IconNode(selectorName, icon));

    return createStyleNode;

  }
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.style.xml.parse.IconNode

    }

    // if icon is not null, create an IconNode

    if (icon != null)
      iconNodeList.add(new IconNode(selectorName, icon));
     
    return createStyleNode;

  }
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.laf.xml.parse.IconNode

    }

    // if icon is not null, create an IconNode

    if (icon != null)
      iconNodeList.add(new IconNode(selectorName, icon));
     
    return createStyleNode;

  }
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.laf.xml.parse.IconNode

    }

    // if icon is not null, create an IconNode

    if (icon != null)
      iconNodeList.add(new IconNode(selectorName, icon));
     
    return createStyleNode;

  }
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.laf.xml.parse.IconNode

    }

    // if icon is not null, create an IconNode

    if (icon != null)
      iconNodeList.add(new IconNode(selectorName, icon));
     
    return createStyleNode;

  }
View Full Code Here

Examples of view.helpers.IconNode

                if (e.getClickCount() == 1) {
                    switch (e.getButton()) {
                        case MouseEvent.BUTTON1: {
                            if (treeNavigator.getLastSelectedPathComponent() != null) {
                                String noSelecionado = ((IconNode) treeNavigator.getLastSelectedPathComponent()).toString();
                                IconNode no = ((IconNode) treeNavigator.getLastSelectedPathComponent());

                                if (noSelecionado.equals("Projeto")) {
                                    ProjetoPresenter projetoPresenter = new ProjetoPresenter(Main.this);
                                    projetoPresenter.setStrategy(new EdicaoProjeto(projeto.getId(), projetoPresenter.getView()));
                                    activePanel(projetoPresenter.getView());
                                } else if ((((ImageIcon) no.getIcon()).getDescription().contains("cenario2.png"))) {
                                    CenarioVolume cenario = projeto.getCenarioById(no.getId());
                                    CenarioVolumePresenter presenterEditaCenario = new CenarioVolumePresenter(Main.this);
                                    removeFrameVolume();
                                    presenterEditaCenario.setStrategy(new EdicaoCenario(projeto.getId(), cenario.getId(), presenterEditaCenario.getView()));
                                    activePanel(presenterEditaCenario.getView());
                                } else {
View Full Code Here

Examples of view.helpers.IconNode

        btnIndLocalNovoCenario.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                iLocal++;
                IconNode node = new IconNode("Cenário " + iLocal, true, new ImageIcon(Configuracao.getPath() + "images/cenario4.png"), IconNode.CENARIO_INDICELOCAL);
                addNode("Índice de Local", node);
            }
        });

        indLocalBand.addCommandButton(btnIndLocalNovoCenario, RibbonElementPriority.LOW);
View Full Code Here

Examples of view.helpers.IconNode

    private void createStatusBar() {
        stbMain.add(new JLabel("Pronto"), JXStatusBar.Constraint.ResizeBehavior.FILL);
    }

    private void addNode(String nodeName, IconNode icFilho) {
        IconNode icRoot = (IconNode) treeNavigator.getModel().getRoot();
        for (int i = 0; i < icRoot.getChildCount(); i++) {
            IconNode icNode = ((IconNode) icRoot.getChildAt(i));
            if (icNode.getUserObject().toString().equals(nodeName)) {
                icNode.add(icFilho);
                treeNavigator.updateUI();
                treeNavigator.expandAll();
            }
        }
    }
View Full Code Here

Examples of view.helpers.IconNode

        view.getDesktop().closeAll();
    }

    @Override
    public void updateTreeModel() {
        IconNode projetoNode = new IconNode("", false, null, 0);
        DefaultTreeModel model = new DefaultTreeModel(projetoNode);

        view.getTreeNavigator().setModel(model);
        view.getTreeNavigator().updateUI();
    }
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.