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 autotest.common.table.SelectionManager.SelectionListener

                }

                public void onTableRefreshed() {}
            });

            availableSelection.addListener(new SelectionListener() {
                public void onAdd(Collection<JSONObject> objects) {
                    for (JSONObject row : objects) {
                        selectRow(row);
                    }
                    selectionRefresh();
    View Full Code Here

    Examples of ca.nanometrics.gflot.client.event.SelectionListener

            } else {
              selectedPointLabel.setText(INSTRUCTION);
            }
          }
        }, false);
        plot.addSelectionListener(new SelectionListener() {

          public void selected(double x1, double y1, double x2, double y2) {
            plot.setLinearSelection(x1, x2);
          }
        });
    View Full Code Here

    Examples of com.eteks.sweethome3d.model.SelectionListener

      /**
       * Adds selection listeners to this table.
       */
      private void addSelectionListeners(final FurnitureLibraryController controller) {  
        final SelectionListener controllerSelectionListener = new SelectionListener() {
            public void selectionChanged(SelectionEvent ev) {
              setSelectedFurniture(controller.getSelectedFurniture());       
            }
          };
        this.tableSelectionListener = new ListSelectionListener () {
    View Full Code Here

    Examples of com.eteks.sweethome3d.model.SelectionListener

        getContentPane().add(createToolBar(preferences, controller), BorderLayout.NORTH);
       
        // Map Enter accelerator of furniture library to furniture modification action
        furnitureLibraryView.getInputMap().put(KeyStroke.getKeyStroke("ENTER"), ActionType.MODIFY_FURNITURE);
        furnitureLibraryView.getActionMap().put(ActionType.MODIFY_FURNITURE, getActionMap().get(ActionType.MODIFY_FURNITURE));
        controller.getFurnitureLibraryController().addSelectionListener(new SelectionListener() {
            public void selectionChanged(SelectionEvent ev) {
              getActionMap().get(ActionType.DELETE).setEnabled(!ev.getSelectedItems().isEmpty());
              getActionMap().get(ActionType.MODIFY_FURNITURE).setEnabled(!ev.getSelectedItems().isEmpty());
            }
          });
    View Full Code Here

    Examples of com.eteks.sweethome3d.model.SelectionListener

      /**
       * Adds selection listeners to this table.
       */
      private void addSelectionListeners(final Home home,
                                         final FurnitureController controller) {  
        final SelectionListener homeSelectionListener = new SelectionListener() {
            public void selectionChanged(SelectionEvent ev) {
              updateTableSelectedFurniture(home.getSelectedItems());       
            }
          };
        this.tableSelectionListener = new ListSelectionListener () {
    View Full Code Here

    Examples of com.eteks.sweethome3d.model.SelectionListener

       */
      private JToggleButton.ToggleButtonModel createBoldStyleToggleModel(final Home home,
                                                                         final UserPreferences preferences) {
        return new JToggleButton.ToggleButtonModel() {
          {
            home.addSelectionListener(new SelectionListener() {
              public void selectionChanged(SelectionEvent ev) {
                fireStateChanged();
              }
            });
          }
    View Full Code Here

    Examples of com.eteks.sweethome3d.model.SelectionListener

       */
      private JToggleButton.ToggleButtonModel createItalicStyleToggleModel(final Home home,
                                                                           final UserPreferences preferences) {
        return new JToggleButton.ToggleButtonModel() {
          {
            home.addSelectionListener(new SelectionListener() {
              public void selectionChanged(SelectionEvent ev) {
                fireStateChanged();
              }
            });
          }
    View Full Code Here

    Examples of com.eteks.sweethome3d.model.SelectionListener

      public View getVerticalRulerView() {
        return getView().getVerticalRuler();
      }
     
      private void addModelListeners() {
        this.selectionListener = new SelectionListener() {
            public void selectionChanged(SelectionEvent ev) {
              if (getView() != null) {
                getView().makeSelectionVisible();
              }
            }
    View Full Code Here

    Examples of com.eteks.sweethome3d.model.SelectionListener

      /**
       * Adds the listeners that manage selection synchronization in this tree.
       */
      private void addSelectionListeners(final FurnitureCatalog catalog,
                                         final FurnitureCatalogController controller) {
        final SelectionListener modelSelectionListener = new SelectionListener() {
            public void selectionChanged(SelectionEvent selectionEvent) {
              updateTreeSelectedFurniture(catalog, controller);       
            }
          };
        this.treeSelectionListener = new TreeSelectionListener () {
    View Full Code Here

    Examples of com.eteks.sweethome3d.model.SelectionListener

      /**
       * Adds the listeners that manage selection synchronization in this tree.
       */
      private void addSelectionListeners(final FurnitureCatalog catalog,
                                         final FurnitureCatalogController controller) {
        final SelectionListener modelSelectionListener = new SelectionListener() {
            public void selectionChanged(SelectionEvent selectionEvent) {
              updateListSelectedFurniture(catalog, controller);       
            }
          };
        this.listSelectionListener = new ListSelectionListener() {
    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.