Examples of addActionListener()


Examples of org.jabusuite.webclient.controls.toolbar.BtnToolbar.addActionListener()

    @Override
    protected void fillToolbar() {
        super.fillToolbar();
        if (ClientGlobals.getUser().isRoot()) {
            BtnToolbar btnImportJobs = new BtnToolbar("edit.png");
            btnImportJobs.addActionListener(new ActionListener() {

                public void actionPerformed(ActionEvent arg0) {
                    importJobs("/etc/openJBS/berufe.html");
                    reload();
                }
View Full Code Here

Examples of org.jabusuite.webclient.controls.toolpane.JbsObjectToolPaneButton.addActionListener()

    protected void fillToolpane() {
        super.fillToolpane();
     
        JbsObjectToolPaneButton btnGoogleMaps = new JbsObjectToolPaneButton("globe.png", JbsL10N.getString("Address.showMap"), true);
        btnGoogleMaps.setToolTipText(JbsL10N.getString("Address.showMapTooltip"));
        btnGoogleMaps.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                Address address = (Address) getSelectedJbsBaseObject();
                JbsGoogleMapsWindow window = new JbsGoogleMapsWindow();
                window.setAddress(address);
View Full Code Here

Examples of org.jabusuite.webclient.datalist.FmJbsBaseObjectList.addActionListener()

                FmJbsBaseObjectList fmSelectGroup = new FmJbsBaseObjectList(JbsL10N.getString("JbsUserGroup.selectGroup"));
                PnUserGroupList pnUserGroupList = new PnUserGroupList();
                pnUserGroupList.setToolPaneVisible(ClientGlobals.getUser().isRoot());
                fmSelectGroup.setPnList(pnUserGroupList);
                fmSelectGroup.showForm();
                fmSelectGroup.addActionListener(new ActionListener() {

                    private static final long serialVersionUID = 1L;

                    public void actionPerformed(ActionEvent arg0) {
                        System.out.println(arg0.getActionCommand());
View Full Code Here

Examples of org.jabusuite.webclient.reporting.FmJbsReportOptions.addActionListener()

        }
    }
   
    protected void printUnprinted(final DunningsPrinter dunningsPrinter) {
        final FmJbsReportOptions fmReportOptions = new FmJbsReportOptions("dunning");
        fmReportOptions.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                if (arg0.getActionCommand().equals(JbsDialogWindowOKCancel.ACTION_OK)) {
                    dunningsPrinter.setPageTemplate(fmReportOptions.getSelectedPageTemplate());
                    dunningsPrinter.setReportTemplate(fmReportOptions.getSelectedReportTemplate());
View Full Code Here

Examples of org.jabusuite.webclient.transaction.invoice.FmInvoiceEdit.addActionListener()

                case 6:
                    final JbsButton btnShowInvoice = new JbsButton("Ansehen");
                    btnShowInvoice.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent arg0) {
                            FmInvoiceEdit fmInvoiceEdit = new FmInvoiceEdit();
                            fmInvoiceEdit.addActionListener(new ActionListener() {
                                public void actionPerformed(ActionEvent arg0) {
                                    //tblInvoices.mustReload();
                                }
                            });
                            fmInvoiceEdit.showForm(DlgState.dsEdit, invoice);
View Full Code Here

Examples of org.jabusuite.webclient.windows.JbsOptionPane.addActionListener()

            final DunningsPrinter dunningsPrinter = new DunningsPrinter(ClientGlobals.getUser(), ClientGlobals.getCompany());
            if (dunningsPrinter.getDunnings().size()==0) {
                JbsOptionPane.showMessageDialog(this, JbsL10N.getString("Dunning.noUnprintedDunnings"), JbsL10N.getString("Dunning.printTitle"), JbsOptionPane.INFORMATION_MESSAGE);
            } else {
                JbsOptionPane dlg = JbsOptionPane.showConfirmDialog(this, JbsL10N.getString("Dunning.printUnprintedRequest"), JbsL10N.getString("Dunning.printTitle"), JbsOptionPane.YES_NO_OPTION);
                dlg.addActionListener(new ActionListener() {

                    public void actionPerformed(ActionEvent arg0) {
                        if (arg0.getActionCommand().equals(JbsOptionPane.YES_OPTION)) {
                           
                           
View Full Code Here

Examples of org.jabusuite.webclient.wizard.FmWizard.addActionListener()

       
    }
   
    protected void doDunning() {
        FmWizard fmWizard = new FmWizard(new DunningWizard(), JbsL10N.getString("DunningWizard.title"));
        fmWizard.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                logger.debug("Reloading");
                reload();
            }
View Full Code Here

Examples of org.jamesii.gui.utils.FlatButton.addActionListener()

    panel.add(textField, BorderLayout.CENTER);

    FlatButton button = new FlatButton("...");
    panel.add(button, BorderLayout.LINE_END);

    button.addActionListener(this);

    return panel;
  }

  @Override
View Full Code Here

Examples of org.jbpm.jsf.core.ui.UITaskForm.addActionListener()

            buttonTargetValueExpression = buttonTargetTagAttribute.getValueExpression(ctx, String.class);
        } else {
            buttonTargetValueExpression = null;
        }
        UITaskForm taskForm = ((UITaskForm)c);
        taskForm.addActionListener(new JbpmActionListenerWrapper(
            new TaskFormButtonActionListener(transitionTargetValueExpression, buttonTargetValueExpression),
            null,
            null,
            null
        ));
View Full Code Here

Examples of org.jdesktop.swing.JXDatePicker.addActionListener()

    }
   
    private Component createDateComponent(final DateOption option) {
        final JXDatePicker result = new JXDatePicker();
        result.setDate(option.getValue());
        result.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                option.setValue(((JXDatePicker)e.getSource()).getDate());
            }
        });
        if (option instanceof ChangeValueDispatcher) {
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.