Package de.forsthaus.backend.model

Examples of de.forsthaus.backend.model.ApplicationNews


  final class ItemRenderer implements ListitemRenderer {

    @Override
    public void render(Listitem item, Object data) throws Exception {

      ApplicationNews applicationNews = (ApplicationNews) data;

      Listcell lc;
      Label lb;

      lc = new Listcell();
      lc.setStyle("text-align: left; padding-left: 3px;");
      lb = new Label();
      lb.setParent(lc);
      lb.setValue(ZksampleDateFormat.getDateFormater().format(applicationNews.getDate()));
      lc.setParent(item);

      lc = new Listcell();
      lc.setStyle("text-align: left; padding-left: 3px;");
      lb = new Label();
      lb.setParent(lc);
      lb.setValue(applicationNews.getText().toString());
      lc.setParent(item);

      item.setValue(data);
      // ComponentsCtrl.applyForward(item,
      // "onDoubleClick=onDoubleClicked");
View Full Code Here

TOP

Related Classes of de.forsthaus.backend.model.ApplicationNews

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.