Package org.wicketstuff.simile.timeline.model

Examples of org.wicketstuff.simile.timeline.model.BandInfoParameters


  private static final Log LOG = LogFactory.getLog(JsonTest.class);
 
  public void testGenerateJson()
  {
   
    BandInfoParameters object = new BandInfoParameters();
    List<BandInfoParameters> objects = new ArrayList<BandInfoParameters>();
    objects.add(object);
    LOG.info(new JsonUtils().convertBandInfos(objects));
  }
View Full Code Here


  public Timeline(String id, IModel model) {
    super(id, new CompoundPropertyModel(model));

    List<BandInfoParameters> bandInfo = new ArrayList<BandInfoParameters>();
   
    BandInfoParameters upperBand = new BandInfoParameters();
    upperBand.setIntervalPixels(70);
    upperBand.setHighlight(true);
    bandInfo.add(upperBand);
   
    BandInfoParameters lowerBand = new BandInfoParameters();
    lowerBand.setIntervalUnit(DateTime.YEAR);
    lowerBand.setIntervalPixels(200);
    lowerBand.setWidth("200px");
    bandInfo.add(lowerBand);
   
    init(id, model, bandInfo);
  }
View Full Code Here

  {
    super(id, new CompoundPropertyModel<TimelineModel>(model));

    List<BandInfoParameters> bandInfo = new ArrayList<BandInfoParameters>();

    BandInfoParameters upperBand = new BandInfoParameters();
    upperBand.setIntervalPixels(70);
    upperBand.setHighlight(true);
    bandInfo.add(upperBand);

    BandInfoParameters lowerBand = new BandInfoParameters();
    lowerBand.setIntervalUnit(DateTime.YEAR);
    lowerBand.setIntervalPixels(200);
    lowerBand.setWidth("200px");
    bandInfo.add(lowerBand);

    init(id, model, bandInfo);
  }
View Full Code Here

{
  private static final Logger LOGGER = LoggerFactory.getLogger(JsonTest.class);

  public void testGenerateJson()
  {
    BandInfoParameters object = new BandInfoParameters();
    List<BandInfoParameters> objects = new ArrayList<BandInfoParameters>();
    objects.add(object);
    LOGGER.info(new JsonUtils().convertBandInfos(objects));
  }
View Full Code Here

TOP

Related Classes of org.wicketstuff.simile.timeline.model.BandInfoParameters

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.