Package org.pushingpixels.flamingo.api.common

Examples of org.pushingpixels.flamingo.api.common.JCommandButton


  }

  private JCommandButton getConfigurationButton() {
   
    if (configurationButton == null) {
      configurationButton = new JCommandButton(Messages.getString("OptionsAndHelp.Configuration.text"), new help_configuration());
      configurationButton.addActionListener(new ActionButtonListener(m_mediator,ActionFactory.ACTIONID_SHOWCONFIG, AbstractViewEvent.CONFIG, configurationButton));   
      setTooltip(configurationButton, "OptionsAndHelp.Configuration");
    }
   
    return configurationButton;
View Full Code Here


  }

  private JCommandButton getManualButton() {
   
    if (manualButton == null) {
      manualButton = new JCommandButton(Messages.getString("OptionsAndHelp.Manual.text"), new help_manual());
      manualButton.addActionListener(new ActionButtonListener(m_mediator,ActionFactory.ACTIONID_SHOWHELPINDEX, AbstractViewEvent.HELP, manualButton));
      setTooltip(manualButton, "OptionsAndHelp.Manual");
    }
   
    return manualButton;
View Full Code Here

  }

  private JCommandButton getContentsButton() {
   
    if (contentsButton == null) {
      contentsButton = new JCommandButton(Messages.getString("OptionsAndHelp.Contents.text"),new help_contents());
      contentsButton.addActionListener(new ActionButtonListener(m_mediator,ActionFactory.ACTIONID_SHOWHELPCONTENTS, AbstractViewEvent.HELP_CONTENTS, contentsButton));
      setTooltip(contentsButton, "OptionsAndHelp.Contents");
    }
   
    return contentsButton;
View Full Code Here

  }

  private JCommandButton getSampleNetsButton() {
   
    if (sampleNetsButton == null) {
      sampleNetsButton = new JCommandButton(Messages.getString("OptionsAndHelp.SampleNets.text"),new help_smaplenets());
      sampleNetsButton.setCommandButtonKind(JCommandButton.CommandButtonKind.POPUP_ONLY);
      sampleNetsButton.setPopupCallback(new PopupPanelCallback() {
        @Override
        public JPopupPanel getPopupPanel(JCommandButton commandButton) {
              return getSampleMenu();       
View Full Code Here

  }

  private JCommandButton getReportBugButton() {
   
    if (reportBugButton == null) {
      reportBugButton = new JCommandButton(Messages.getString("OptionsAndHelp.ReportBug.text"), new help_reportbug());
      reportBugButton.addActionListener(new ActionButtonListener(m_mediator,ActionFactory.ACTIONID_SHOWBUGREPORT, AbstractViewEvent.BUGREPORT, reportBugButton));
      setTooltip(reportBugButton, "OptionsAndHelp.ReportBug");
    }
   
    return reportBugButton;
View Full Code Here

  }

  private JCommandButton getAboutButton() {
   
    if (aboutButton == null) {
      aboutButton = new JCommandButton(Messages.getString("OptionsAndHelp.About.text"), new help_about());
      aboutButton.addActionListener(new ActionButtonListener(m_mediator,ActionFactory.ACTIONID_SHOWABOUT, AbstractViewEvent.ABOUT, aboutButton));
      setTooltip(aboutButton, "OptionsAndHelp.About");
    }
   
    return aboutButton;
View Full Code Here

  }

  private JCommandButton getTokengameStartButton() {
   
    if (tokengameStartButton == null) {
      tokengameStartButton = new JCommandButton(Messages.getString("Tools.tokengame.text"), new analyze_tokengame());
      tokengameStartListener = new ActionButtonListener(m_mediator, ActionFactory.ACTIONID_OPEN_TOKENGAME, AbstractViewEvent.OPEN_TOKENGAME, getTokengameStartButton());
      tokengameStartButton.addActionListener(tokengameStartListener);
      setTooltip(tokengameStartButton, "Tools.tokengame");
    }
   
View Full Code Here

  }

  private JCommandButton getBackwardButton() {
   
    if (backwardButton == null) {
      backwardButton = new JCommandButton(Messages.getString("Tokengame.StepBand.BackwardButton.text"), new tokengame_play_seek_backward());
      backwardButton.addActionListener(new ActionButtonListener(m_mediator,ActionFactory.ACTIONID_TOKENGAME_BACKWARD, AbstractViewEvent.TOKENGAME_BACKWARD, backwardButton));     
      setTooltip(backwardButton, "Tokengame.StepBand.BackwardButton");
    }
   
    return backwardButton;
View Full Code Here

  }

  private JCommandButton getJumpIntoSubProcessButton() {
   
    if (jumpIntoSubProcessButton == null) {
      jumpIntoSubProcessButton = new JCommandButton(Messages.getString("Tokengame.StepBand.JumpIntoSubProcessButton.text"), new tokengame_play_jump_into_subprocess());
      jumpIntoSubProcessButton.addActionListener(new ActionButtonListener(m_mediator,ActionFactory.ACTIONID_TOKENGAME_JUMPINTO, AbstractViewEvent.TOKENGAME_JUMPINTO, jumpIntoSubProcessButton));     
      setTooltip(jumpIntoSubProcessButton, "Tokengame.StepBand.JumpIntoSubProcessButton");
    }
   
    return jumpIntoSubProcessButton;
View Full Code Here

  }

  private JCommandButton getForwardButton() {
   
    if (forwardButton == null) {
      forwardButton = new JCommandButton(Messages.getString("Tokengame.StepBand.ForwardButton.text"), new tokengame_play_seek_forward());
      forwardButton.addActionListener(new ActionButtonListener(m_mediator,ActionFactory.ACTIONID_TOKENGAME_FORWARD, AbstractViewEvent.TOKENGAME_FORWARD, forwardButton));     
      setTooltip(forwardButton, "Tokengame.StepBand.ForwardButton");
    }
   
    return forwardButton;
View Full Code Here

TOP

Related Classes of org.pushingpixels.flamingo.api.common.JCommandButton

Copyright © 2018 www.massapicom. 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.