Examples of SelectionListener

@author Portet to jme3 by user starcom "Paul Kashofer Austria" @see ImageGraphics
  • com.sun.dtv.lwuit.events.SelectionListener
    Invoked to indicate a selection change in the list model @author Chen Fishbein
  • diva.canvas.interactor.SelectionListener
    A model for graph selections which can be listened to. @author Michael Shilman @version $Id: SelectionListener.java,v 1.9 2005/07/08 19:54:56 cxh Exp $
  • edu.stanford.bmir.protege.web.client.ui.selection.SelectionListener
    Listener interface for the generic {@link Selectable} interface.
  • edu.stanford.smi.protege.util.SelectionListener
  • org.eclipse.swt.events.SelectionListener
    Classes which implement this interface provide methods that deal with the events that are generated when selection occurs in a control.

    After creating an instance of a class that implements this interface it can be added to a control using the addSelectionListener method and removed using the removeSelectionListener method. When selection occurs in a control the appropriate method will be invoked.

    @see SelectionAdapter @see SelectionEvent
  • org.jitterbit.ui.selection.SelectionListener
    Listens to selection changes. @author Torgil @since 1.2
  • org.restlet.util.SelectionListener
    Callback interface when a NIO selection occurs on the selectable object. @author Jerome Louvel
  • org.woped.qualanalysis.paraphrasing.action.SelectionListener

  • Examples of org.eclipse.swt.events.SelectionListener

               });
           }
          
           final Button btnReset = new Button(main, SWT.PUSH);
           btnReset.setText("Forget Default Profile Choice");
           btnReset.addSelectionListener(new SelectionListener() {
            public void widgetSelected(SelectionEvent e) {
              device.setDefaultTranscodeProfile(null);
              btnReset.setEnabled(false);
            }
         
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

        createOn.setBackgroundMode(SWT.INHERIT_FORCE);

        button = new Button(createOn, SWT.CHECK);
        checked = false;

        button.addSelectionListener(new SelectionListener() {
          public void widgetSelected(SelectionEvent e) {
            checked = button.getSelection();
            for (SWTSkinCheckboxListener l : buttonListeners) {
              try {
                l.checkboxChanged(SWTSkinObjectCheckbox.this, checked);
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

          button.setLayoutData(Utils.getFilledFormData());
        } else {
          c = button;
        }
       
        button.addSelectionListener(new SelectionListener() {
          public void widgetSelected(SelectionEvent e) {
            Object[] listeners = buttonListeners.toArray();
            for (int i = 0; i < listeners.length; i++) {
              ButtonListenerAdapter l = (ButtonListenerAdapter) listeners[i];
              l.pressed(null);
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

        GridLayout gLayout2 = new GridLayout(3, false);
        gLayout2.marginHeight = 16;
        gLayout2.marginWidth = 16;
        toolbarPanel.setLayout(gLayout2);

        defaultButtonListener = new SelectionListener() {
          public void widgetSelected(SelectionEvent e) {
            if (true == BUTTON_OK.equals(e.widget.getData("button.id"))) {
              performOK();
            } else if (true == BUTTON_CANCEL.equals(e.widget.getData("button.id"))) {
              performCancel();
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

        for (int i=0;i<viewVivaldis.length;i++){
          viewVivaldis[i].initialize(folder);
          itemVivaldis[i].setControl(viewVivaldis[i].getComposite());
        }
       
        folder.addSelectionListener(new SelectionListener() {
          public void widgetSelected(SelectionEvent e) {
            refresh();
          }
          public void widgetDefaultSelected(SelectionEvent e) {
          }
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

        super(toolBar,  SWT.NONE);

        change_icon();
       
        SWTServerListWrapper.getInstance().setConnectButton(this);
        addSelectionListener(new SelectionListener() {

          public void widgetDefaultSelected(SelectionEvent arg0) {}

          public void widgetSelected(SelectionEvent arg0) {
           
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

        button_ok.setLayoutData(grid_data);
       
        button_ok.setFont(skin.getButtonFont());
        button_ok.setImage(skin.getButtonImage(SkinConstants.OK_BUTTON_IMAGE));
        button_ok.setText(Localizer._("mainwindow.button.ok"));
        button_ok.addSelectionListener(new SelectionListener() {
        public void widgetDefaultSelected(SelectionEvent arg0) {
          }

          public void widgetSelected(SelectionEvent arg0) {
            String server_ip = text_server_ip.getText();
            if (!AddressUtils.isValidIP(server_ip)) {
              MessageBox dialog = new MessageBox(shell,
                          SWT.OK | SWT.ICON_WARNING);
              dialog.setMessage(Localizer._("serveraddwindow.wrong_server_address"));
              dialog.open();
              return ;
            }
           
            if (!AddressUtils.isValidPort(text_port.getText())) {
              MessageBox dialog = new MessageBox(shell,
              SWT.OK | SWT.ICON_WARNING);
              dialog.setMessage(Localizer._("serveraddwindow.wrong_server_port"));
              dialog.open();
              return ;
            }
            int server_port = Integer.parseInt(text_port.getText());
            try {
              _core.getServerManager().newServer(server_ip, server_port);
            } catch (ServerManagerException e) {
              Utils.showWarningMessage(shell, "", e.getMessage());
            }
           
            shell.close();
        } });
       
        Button button_cancel = new Button(buttons_composite,SWT.NONE);
        button_cancel.setImage(skin.getButtonImage(SkinConstants.CANCEL_BUTTON_IMAGE));
        button_cancel.setText(Localizer._("mainwindow.button.cancel"));
       
        button_cancel.addSelectionListener(new SelectionListener() {

          public void widgetDefaultSelected(SelectionEvent arg0) {
          }

          public void widgetSelected(SelectionEvent arg0) {
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

        fReadState.setText(Messages.StateConditionControl_READ);
        fReadState.setToolTipText(Messages.StateConditionControl_READ_INFO);
        fReadState.setLayoutData(new GridData(SWT.BEGINNING, SWT.CENTER, false, true));

        /* Selection Listener to issue modify events */
        SelectionListener selectionListener = new SelectionAdapter() {
          @Override
          public void widgetSelected(SelectionEvent e) {
            notifyListeners(SWT.Modify, new Event());
          }
        };
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

        fReadState.setText("Read");
        fReadState.setSelection(fSelectedStates != null && fSelectedStates.contains(INews.State.READ));
        fReadState.setLayoutData(new GridData(SWT.BEGINNING, SWT.CENTER, false, true));

        /* Selection Listener to issue modify events */
        SelectionListener selectionListener = new SelectionAdapter() {
          @Override
          public void widgetSelected(SelectionEvent e) {
            notifyListeners(SWT.Modify, new Event());
          }
        };
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

        fReadState.setText("Read");
        fReadState.setToolTipText("News that have been read");
        fReadState.setLayoutData(new GridData(SWT.BEGINNING, SWT.CENTER, false, true));

        /* Selection Listener to issue modify events */
        SelectionListener selectionListener = new SelectionAdapter() {
          @Override
          public void widgetSelected(SelectionEvent e) {
            notifyListeners(SWT.Modify, new Event());
          }
        };
    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.