Package org.projectforge.web.wicket.flowlayout

Examples of org.projectforge.web.wicket.flowlayout.IconPanel


            style = "color: red;";
          }
        }
        final CheckBox checkBox = new CheckBox("kost2artSelect", new PropertyModel<Boolean>(kost2Art, "selected"));
        colItem.add(checkBox);
        final IconPanel image = new IconPanel("acceptImage", IconType.ACCEPT);
        image.setTooltip(new ResourceModel("fibu.projekt.edit.kost2DoesAlreadyExists"));
        colItem.add(image);
        if (kost2Art.isExistsAlready() == true) {
          checkBox.setVisible(false);
        } else {
          image.setVisibilityAllowed(false);
        }
        final Label kost2artNummerLabel = new Label("kost2artNummer", StringHelper.format2DigitNumber(kost2Art.getId()));
        colItem.add(kost2artNummerLabel);
        final Label kost2artNameLabel = new Label("kost2artName", kost2Art.isFakturiert() == true ? kost2Art.getName() : kost2Art.getName()
            + " (nf)");
View Full Code Here


      public void populateItem(final Item<ICellPopulator<LiquidityEntryDO>> item, final String componentId,
          final IModel<LiquidityEntryDO> rowModel)
      {
        final LiquidityEntryDO entry = rowModel.getObject();
        if (entry.isPaid() == true) {
          item.add(new IconPanel(componentId, IconType.ACCEPT));
        } else {
          item.add(createInvisibleDummyComponent(componentId));
        }
        cellItemListener.populateItem(item, componentId, rowModel);
      }
View Full Code Here

TOP

Related Classes of org.projectforge.web.wicket.flowlayout.IconPanel

Copyright © 2018 www.massapicom. 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.