Examples of addItem()


Examples of de.nava.informa.core.ChannelIF.addItem()

    ChannelIF channel = new Channel("Niko's log");
    SimpleChannelObserver observer = new SimpleChannelObserver();
    ((ChannelObservableIF) channel).addObserver(observer);
    assertEquals(0, channel.getItems().size());
    ItemIF item = new Item("Bongo", "Rongoo", null);
    channel.addItem(item);
    assertEquals(1, channel.getItems().size());
    assertTrue(channel.getItems().contains(item));
    assertEquals(item, observer.getMyAddedItem());
   
  }
View Full Code Here

Examples of de.nava.informa.impl.basic.Channel.addItem()

    ChannelIF channel = new Channel("Niko's log");
    SimpleChannelObserver observer = new SimpleChannelObserver();
    ((ChannelObservableIF) channel).addObserver(observer);
    assertEquals(0, channel.getItems().size());
    ItemIF item = new Item("Bongo", "Rongoo", null);
    channel.addItem(item);
    assertEquals(1, channel.getItems().size());
    assertTrue(channel.getItems().contains(item));
    assertEquals(item, observer.getMyAddedItem());
   
  }
View Full Code Here

Examples of de.sciss.gui.MultiStateButton.addItem()

      }
    });
   
    ggLimiter = new MultiStateButton();
    ggLimiter.setNumColumns( 8 );
    ggLimiter.addItem( "Limiter" );
// NOTE: BUG WITH CUSTOM COMPOSITE ON WIN-XP!!!
//    ggLimiter.addItem( "Limiter", null, new Color( 0xFF, 0xFA, 0x9D ), new Color( 0xFA, 0xE7, 0x9D ));
ggLimiter.addItem( "Limiter", null, new Color( 0xFF, 0xFA, 0x9D ));
    ggLimiter.addActionListener( new ActionListener() {
      public void actionPerformed( ActionEvent e ) {
View Full Code Here

Examples of de.sciss.gui.PrefComboBox.addItem()

    final PrefComboBox      ggGainType  = new PrefComboBox();
//    final Application      app      = AbstractApplication.getApplication();
   
    ggGain.addSpace( ParamSpace.spcAmpDecibels );
    ggGain.addSpace( ParamSpace.spcAmpPercentF );
    ggGainType.addItem( new StringItem( GAIN_ABSOLUTE, getResourceString( "plugInGainAbsolute" )));
    ggGainType.addItem( new StringItem( GAIN_NORMALIZED, getResourceString( "plugInGainNormalized" )));
   
    p.add( new JLabel( getResourceString( "plugInGain" ), SwingConstants.RIGHT ));
    p.add( ggGain );
    p.add( ggGainType );
View Full Code Here

Examples of de.willuhn.jameica.gui.parts.ContextMenu.addItem()

      }
    });
    this.setMulti(false);
   
    ContextMenu menu = new ContextMenu();
    menu.addItem(new CheckedSingleContextMenuItem(i18n.tr("�ffnen"),new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        if (context == null || !(context instanceof ConfigObject))
          return;
View Full Code Here

Examples of de.willuhn.jameica.gui.parts.TablePart.addItem()

        return;
      }

      List<EinnahmeAusgabe> list = this.getWerte();
      for (EinnahmeAusgabe ea:list)
        table.addItem(ea);
    }
    catch (RemoteException re)
    {
      Logger.error("unable to redraw table",re);
      Application.getMessagingFactory().sendMessage(new StatusBarMessage(i18n.tr("Fehler beim Aktualisieren"), StatusBarMessage.TYPE_ERROR));
View Full Code Here

Examples of de.willuhn.jameica.hbci.gui.parts.UmsatzList.addItem()

          UmsatzList list = ((UmsatzList)getUmsatzListe());
          list.removeAll();
          Konto k = getKonto();
          DBIterator i = k.getUmsaetze();
          while (i.hasNext())
            list.addItem(i.next());
          list.sort();
        }
        catch (RemoteException e)
        {
          Logger.error("error while reloading umsatz list",e);
View Full Code Here

Examples of edu.stanford.bmir.protege.web.client.ui.library.popupmenu.PopupMenu.addItem()

    }

    @UiHandler("projectSettingsItem")
    protected void handleProjectSettingsItemClicked(ClickEvent clickEvent) {
        PopupMenu popupMenu = new PopupMenu();
        popupMenu.addItem("Project details...", new ClickHandler() {
            @Override
            public void onClick(ClickEvent event) {
                showProjectDetailsHandler.handleShowProjectDetails();
            }
        });
View Full Code Here

Examples of edu.uga.galileo.voci.model.ItemManager.addItem()

              if ((errors.size() == 0)
                  && (fieldMessages.size() == 0)) {
                try {
                  if (item.getId() == -1) {
                    itemManager.addItem(user, item,
                        parentId);
                    request.setAttribute("successMessage",
                        "Item successfully added.");
                  } else {
                    itemManager.updateItem(item,
View Full Code Here

Examples of fr.soleil.comete.swing.ComboBox.addItem()

        JFrame frame = new JFrame("Comete V2 TestPanel");

        JMenuBar menuBar = new JMenuBar();
        final ComboBox sourceProducerList = new ComboBox();

        sourceProducerList.addItem(SimulatedDataSourceProducer.SOURCE_PRODUCER_ID);
        sourceProducerList.addItem(TangoDAOFactory.SOURCE_PRODUCER_ID);
        testpanel.switchConnections(SimulatedDataSourceProducer.SOURCE_PRODUCER_ID);

        menuBar.add(sourceProducerList);
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.