Class HorizontalAlignmentBindingConvertor


  • public class HorizontalAlignmentBindingConvertor
    extends org.pentaho.ui.xul.binding.BindingConvertor<org.pentaho.reporting.engine.classic.core.ElementAlignment,​Integer>
    Author:
    wseyler

    Handles conversion between the an ElementAlignment type and an Integer that represents the current selection in the GUI

    • Nested Class Summary

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

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

      • HorizontalAlignmentBindingConvertor

        public HorizontalAlignmentBindingConvertor()
    • Method Detail

      • sourceToTarget

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

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