Package com.iizigo.vs

Class PatternHelper


  • public class PatternHelper
    extends java.lang.Object
    The pattern combo helper.
    Author:
    Christopher Mindus
    • Constructor Detail

      • PatternHelper

        public PatternHelper​(IzCCombo combo)
        Constructor.
        Parameters:
        combo - The combo.
    • Method Detail

      • populateCombo

        public void populateCombo()
        Populates the combobox when it is focused. There is no way in SWT to do this when drop-down is about to be displayed!
      • update

        public void update​(PatternProp pp,
                           Value.Type valueType,
                           boolean updateCombo)
        Sets the pattern that has been modified in the combo.
        Parameters:
        valueType - The value type for the pattern.
      • getResolvedPattern

        public java.lang.String getResolvedPattern()
        Gets the resolved pattern to use.
        Returns:
        The pattern string, or null for none.
      • getValueType

        public Value.Type getValueType()
        Gets the current value type.