Examples of Button


Examples of de.fu_berlin.inf.dpp.videosharing.activities.MouseClickedVideoActivity.Button

            public void mouseClicked(MouseEvent e) {
                if (lastImageDimension == null)
                    return;

                Button pressedButton = null;

                switch (e.getButton()) {
                case MouseEvent.BUTTON1:
                    pressedButton = Button.LEFT;
                    break;
View Full Code Here

Examples of de.willuhn.jameica.gui.parts.Button

    c.addInput(version);
    c.addInput(target);
    c.addInput(msg);
   
    ButtonArea buttons = new ButtonArea();
    this.ok = new Button(i18n.tr("Export starten"),new Action()
    {
      public void handleAction(Object context) throws ApplicationException
      {
        painVersion = (PainVersion) version.getValue();
        if (painVersion == null)
View Full Code Here

Examples of dwlab.controllers.Button

  }
 
 
  @Override
  public Button createButton( Button.Name buttonName ) {
    Button newButton = new Button( buttonName );
    for( ButtonAction action: controllers ) {
      for( Button button: action.buttonList ) {
        if( button.equals( button ) ) return button;
      }
    }
   
    if( currentPlatform != null ) newButton.init();

    return newButton;
  }
View Full Code Here

Examples of fr.soleil.comete.swing.Button

        setLayout(new GridBagLayout());
        final TitledBorder titledBorder = new TitledBorder("Custom parameters");
        titledBorder.setTitleFont(new Font("Arial", Font.ITALIC, 15));
        setBorder(titledBorder);

        Button addButton = new Button();
        addButton.setText("+");

        GridBagConstraints addButtonGridBagConstraints = new GridBagConstraints();
        addButtonGridBagConstraints.gridx = 0;
        addButtonGridBagConstraints.gridy = GridBagConstraints.RELATIVE;
        addButtonGridBagConstraints.fill = GridBagConstraints.NONE;
        addButtonGridBagConstraints.anchor = GridBagConstraints.CENTER;
        addButtonGridBagConstraints.gridwidth = 3;

        this.add(addButton, addButtonGridBagConstraints);

        addButton.setEnabled(isEnabled);

        addButton.addButtonListener(new IButtonListener() {

            @Override
            public void actionPerformed(EventObject arg0) {
                final JDialog dialog = new JDialog(JOptionPane.getRootFrame(), "Add custom parameter", true);
View Full Code Here

Examples of java.awt.Button

            c.actionPerformed(new ActionEvent(this, 0, "console"));
            assertContains(lastUrl, ":9002");
            lastUrl = "-";
            // double-click prevention is 100 ms
            Thread.sleep(200);
            MouseEvent me = new MouseEvent(new Button(), 0, 0, 0, 0, 0, 0, false, MouseEvent.BUTTON1);
            c.mouseClicked(me);
            assertContains(lastUrl, ":9002");
            lastUrl = "-";
            // no delay - ignore because it looks like a double click
            c.mouseClicked(me);
View Full Code Here

Examples of javafx.scene.control.Button

     * @return a tool bar that will display the image name (using the label) and a zoom button
     */
    protected ToolBar createToolBar() {
      final ToolBar toolBar = new ToolBar();
      toolBar.setOpacity(toolBarPosition == TOOLBAR_POSITION_TOP ? 0.7 : 0.9);
      final Button zoomButton = createViewOriginalButton();
      if (zoomButton != null) {
        toolBar.getItems().addAll(zoomButton, label);
      } else {
        toolBar.getItems().add(label);
      }
View Full Code Here

Examples of jcurses.widgets.Button

        super(x, y, width, height, false, title);
        this.windowWidth = width;
        chatLog = new TextArea();
        chatLog.setColors(new CharColor(CharColor.WHITE, CharColor.BLACK));
        textField = new TextField();
        button = new Button("Send");
        button.setShortCut('\n');
        button.addListener(this);

        int innerHeight = height - 5;
        GridLayoutManager manager = new GridLayoutManager(1, innerHeight);
View Full Code Here

Examples of jfix.zk.Button

      container.appendChild(newViewButton());
    }
  }

  private Component newDumpButton() {
    return new Button(I18N.get("Dump"), Images.DriveCdrom,
        new ActionListener() {
          public void actionPerformed(Event evt) {
            Filedownload.save(Backups.dump(JeaseSession
                .getContainer()));
          }
View Full Code Here

Examples of loxia.struts2.taglib.model.Button

    protected String target;
    protected String popfor;

    @Override
  public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
    return new Button(stack,req,res);
  }
View Full Code Here

Examples of mdes.slick.sui.Button

    m_name.setFont(GameClient.getFontSmall());
    m_name.setForeground(Color.white);
    m_name.pack();
    m_name.setLocation(0,0);
    getContentPane().add(m_name);
    m_remove = new Button("Remove");
    m_remove.setSize(100,25);
    m_remove.setLocation(0, m_name.getY() + m_name.getTextHeight() + 3);
    getContentPane().add(m_remove);
    m_whisper = new Button("Whisper");
    m_whisper.setSize(100,25);
    m_whisper.setLocation(0, m_remove.getY() + m_remove.getHeight());
    m_whisper.setEnabled(online);
    getContentPane().add(m_whisper);
    m_cancel = new Button("Cancel");
    m_cancel.setSize(100,25);
    m_cancel.setLocation(0, m_whisper.getY() + m_cancel.getHeight());
    getContentPane().add(m_cancel);
    setBackground(new Color(0,0,0,150));
    setSize(100, 103 + m_name.getTextHeight());
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.