Class LengthToIntegerBindingConverter


  • public class LengthToIntegerBindingConverter
    extends org.pentaho.ui.xul.binding.BindingConvertor<org.pentaho.reporting.engine.classic.wizard.model.Length,​Integer>
    Author:
    wseyler

    Provides a converter between the Length type and a string that represents the length

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.pentaho.ui.xul.binding.BindingConvertor

        org.pentaho.ui.xul.binding.BindingConvertor.Direction
    • Constructor Detail

      • LengthToIntegerBindingConverter

        public LengthToIntegerBindingConverter()
    • Method Detail

      • sourceToTarget

        public Integer sourceToTarget​(org.pentaho.reporting.engine.classic.wizard.model.Length value)
        Specified by:
        sourceToTarget in class org.pentaho.ui.xul.binding.BindingConvertor<org.pentaho.reporting.engine.classic.wizard.model.Length,​Integer>
      • targetToSource

        public org.pentaho.reporting.engine.classic.wizard.model.Length targetToSource​(Integer value)
        Specified by:
        targetToSource in class org.pentaho.ui.xul.binding.BindingConvertor<org.pentaho.reporting.engine.classic.wizard.model.Length,​Integer>