Examples of actionPerformed()


Examples of org.h2.tools.Console.actionPerformed()

            lastUrl = "-";
            // no delay - ignore because it looks like a double click
            c.mouseClicked(me);
            assertEquals("-", lastUrl);
            // open the window
            c.actionPerformed(new ActionEvent(this, 0, "status"));
            c.actionPerformed(new ActionEvent(this, 0, "exit"));

            // check if the service was stopped
            c.runTool("-webPort", "9002");
            c.shutdown();
View Full Code Here

Examples of org.h2.tools.Console.actionPerformed()

            // no delay - ignore because it looks like a double click
            c.mouseClicked(me);
            assertEquals("-", lastUrl);
            // open the window
            c.actionPerformed(new ActionEvent(this, 0, "status"));
            c.actionPerformed(new ActionEvent(this, 0, "exit"));

            // check if the service was stopped
            c.runTool("-webPort", "9002");
            c.shutdown();
View Full Code Here

Examples of org.jamesii.gui.application.action.IActionAction.actionPerformed()

    TestAction ta = new TestAction();
    IActionAction a = new IActionAction(ta);
    assertNotNull(a);

    assertFalse(ta.executed);
    a.actionPerformed(null);
    assertTrue(ta.executed);
  }

}
View Full Code Here

Examples of org.jamesii.gui.experiment.actions.RunExpAction.actionPerformed()

      return;
    }
    RunExpAction reAction =
        new RunExpAction(exp, WindowManagerManager.getWindowManager(),
            observationManager, new IExperimentExecutionListener[] {}, null);
    reAction.actionPerformed(null);
  }

  /**
   * Configure experiment with default settings for execution via the user
   * interface (such as sim-step delay).
View Full Code Here

Examples of org.jamesii.gui.model.actions.OpenModelAction.actionPerformed()

                private final ActionListener action = new OpenModelAction(
                    dialog);

                @Override
                public void execute() {
                  action.actionPerformed(null);
                }
              });
        } catch (Throwable e) {
          SimSystem.report(e);
        }
View Full Code Here

Examples of org.jdesktop.swingx.action.OpenBrowserAction.actionPerformed()

    _viewOnlineButton = new JButton("View online", imageManager.getImageIcon("images/actions/website.png"));
    _viewOnlineButton.addActionListener(new ActionListener() {

      public void actionPerformed(ActionEvent event) {
        OpenBrowserAction actionListener = new OpenBrowserAction(_selectedRegex.createWebsiteUrl());
        actionListener.actionPerformed(event);
      }

    });
    _viewOnlineButton.setEnabled(false);
    _viewOnlineButton.setOpaque(false);
View Full Code Here

Examples of org.jdesktop.wonderland.client.contextmenu.ContextMenuActionListener.actionPerformed()

            if (menuItem != null && menuItem instanceof SimpleContextMenuItem) {
                // Only deal with SimpleMenuItems for now
                SimpleContextMenuItem scmi = (SimpleContextMenuItem)menuItem;
                ContextMenuActionListener listener = scmi.getActionListener();
                if (listener != null) {
                    listener.actionPerformed(
                            new ContextMenuItemEvent(menuItem, popupCell));
                }
            }
        }
View Full Code Here

Examples of org.jitterbit.integration.client.ui.interchange.component.start.OpenGettingStartedPageAction.actionPerformed()

            @Override
            public void run() {
                Action openConnectConsoleAction = Application.getBean(OpenJitterbitConnectConsoleAction.ID, Action.class);
                OpenGettingStartedPageAction action = new OpenGettingStartedPageAction(view, openConnectConsoleAction);
                action.actionPerformed(null);
            }
        };
        UiUtils.runOnEventThreadAndWait(job, new LoggingExceptionHandler(RestoreInitialPagesJob.class,
                        "Failed to open the Getting Started page."));
    }
View Full Code Here

Examples of org.joget.apps.form.model.FormAction.actionPerformed()

        if (element instanceof FormAction) {
            FormAction action = (FormAction) element;
            if (action != null) {
                boolean isActive = action.isActive(form, formData);
                if (isActive) {
                    updatedFormData = action.actionPerformed(form, formData);
                }
            }
        }
        // recurse into children
        Collection<Element> children = element.getChildren(formData);
View Full Code Here

Examples of org.jpedal.external.JPedalActionHandler.actionPerformed()

    Map jpedalActionHandlers = (Map) decode_pdf.getExternalHandler(Options.JPedalActionHandlers);
   
    if(jpedalActionHandlers != null) {
      JPedalActionHandler jpedalAction = (JPedalActionHandler) jpedalActionHandlers.get(ID);
      if (jpedalAction != null) {
        jpedalAction.actionPerformed(currentGUI, this);
        return null;
      }
    }
   
    switch(ID){
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.