Package org.projectforge.web.wicket.converter

Examples of org.projectforge.web.wicket.converter.IntegerPercentConverter


            data, "progress"), 0, 100) {
          @SuppressWarnings({ "unchecked", "rawtypes"})
          @Override
          public IConverter getConverter(final Class type)
          {
            return new IntegerPercentConverter(0);
          }
        };
        WicketUtils.setSize(progressField, 3);
        fs.add(progressField);
      }
View Full Code Here


    final MinMaxNumberField<Integer> progressField = new MinMaxNumberField<Integer>("progress", new PropertyModel<Integer>(ganttObject,
        "progress"), 0, 100) {
      @Override
      public IConverter getConverter(final Class type)
      {
        return new IntegerPercentConverter(0);
      }
    };
    addColumn(item, progressField, null);
    new RejectSaveLinksFragment("rejectSaveProgress", item, progressField, task,
        task != null ? NumberHelper.getAsString(task.getProgress()) : "") {
View Full Code Here

TOP

Related Classes of org.projectforge.web.wicket.converter.IntegerPercentConverter

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.