Examples of addSelectionListener()


Examples of ca.nanometrics.gflot.client.PlotWithOverview.addSelectionListener()

        } 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.aelitis.azureus.ui.swt.skin.SWTSkinButtonUtility.addSelectionListener()

    so = getSkinObject(ID + "-button-right");
    if (so != null) {
      so.setVisible(true);
      SWTSkinButtonUtility btnReadAll = new SWTSkinButtonUtility(so);
      btnReadAll.setTextID("v3.activity.button.readall");
      btnReadAll.addSelectionListener(new SWTSkinButtonUtility.ButtonListenerAdapter() {
        public void pressed(SWTSkinButtonUtility buttonUtility,
            SWTSkinObject skinObject, int stateMask) {
          VuzeActivitiesEntry[] allEntries = VuzeActivitiesManager.getAllEntries();
          for (int i = 0; i < allEntries.length; i++) {
            VuzeActivitiesEntry entry = allEntries[i];
View Full Code Here

Examples of com.ardor3d.extension.ui.UIComboBox.addSelectionListener()

        centerPanel.add(slider);
        centerPanel.add(lSliderValue);

        final UIComboBox combo = new UIComboBox(new DefaultComboBoxModel("alpha", "beta", "gamma", "delta"));
        combo.setLocalComponentWidth(120);
        combo.addSelectionListener(new SelectionListener<UIComboBox>() {
            @Override
            public void selectionChanged(final UIComboBox component, final Object newValue) {
                System.out.println("New combo value: " + newValue);
            }
        });
View Full Code Here

Examples of com.arjuna.ats.tools.objectstorebrowser.panels.ObjectStoreViewEntry.addSelectionListener()

        {
            ListEntryNode entryNode;
            ObjectStoreViewEntry icon;
            node.createEntry(entryNode = new ListEntryNode("["+count+"] "+current.type(), current, current.type()));
            entryNode.setIconPanelEntry(icon = new ObjectStoreViewEntry(wrapper.type(), (String)entryNode.getUserObject(), entryNode));
            icon.addSelectionListener(this);
            current = getList().peekNext(current);
            count++;
        }
    }
View Full Code Here

Examples of com.arjuna.ats.tools.toolsframework.iconpanel.IconPanelEntry.addSelectionListener()

      _domainPanels.put( on.getDomain(), domainGroup);
      _mbeanPanel.add( domainGroup );
    }

    IconPanelEntry ipe = domainGroup.getIconPanel().addIcon( new IconPanelEntry( new MBeanWrapper( on ), getIconFilename( on ) ) );
    ipe.addSelectionListener(this);
  }

  private void layoutAllGroups()
  {
    Component[] c = _mbeanPanel.getComponents();
View Full Code Here

Examples of com.extjs.gxt.desktop.client.Shortcut.addSelectionListener()

    Shortcut s1 = new Shortcut();
    s1.setText("Grid Window");
    s1.setId("grid-win-shortcut");
    s1.setData("window", gridWindow);
    s1.addSelectionListener(shortcutListener);
    desktop.addShortcut(s1);

    Shortcut s2 = new Shortcut();
    s2.setText("Accordion Window");
    s2.setId("acc-win-shortcut");
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.button.Button.addSelectionListener()

      //area.setWidth("500");
      //area.setHeight("500");
      add(area);
      buttonBar = new ButtonBar();
      Button clearButton = new Button("Clear");
      clearButton.addSelectionListener(new SelectionListener<ButtonEvent>()
    {
        public void componentSelected(ButtonEvent ce)
        {
          area.setText("");
        }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.button.ToggleButton.addSelectionListener()

    if (GXT.isAriaEnabled()) {
      item.setData("gxt-menutext", toolTipTitle);
    }

    item.setIcon(icon);
    item.addSelectionListener(btnListener);
    return item;
  }

  protected void doAttachChildren() {
    super.doAttachChildren();
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.button.ToolButton.addSelectionListener()

    store = new ListStore<ModelData>(loader);
   
    initComponent(uiBinder.createAndBindUi(this));
   
    ToolButton refreshButton = new ToolButton("x-tool-refresh");
    refreshButton.addSelectionListener(new SelectionListener<IconButtonEvent>() {
      @Override
      public void componentSelected(IconButtonEvent ce) {
        reloadGrid(true);
      }
    });
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.menu.CheckMenuItem.addSelectionListener()

      final TableColumn def = columnModel.getColumn(i);
      final CheckMenuItem check = new CheckMenuItem();
      check.setHideOnClick(false);
      check.setText(def.getText());
      check.setChecked(!def.isHidden());
      check.addSelectionListener(new SelectionListener<MenuEvent>() {

        public void componentSelected(MenuEvent ce) {
          def.setHidden(!check.isChecked());
          showColumn(def.index, !def.isHidden());
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.