Class PreferenceValidationForMargins

  • All Implemented Interfaces:

    public class PreferenceValidationForMargins
    extends PreferenceDefinitionMinMax
    This class validates Margin preferences for Print and PDF. It makes sure that there is a printable area of at least 0.5 inches. It also checks that the value is within the min and max settings specified.
    • Type: real
    • Extra attributes: mn, mx
    MicroStrategy Web 8.0.0
    • Constructor Detail

      • PreferenceValidationForMargins

        public PreferenceValidationForMargins()
    • Method Detail

      • validateTransmute

        protected java.lang.String validateTransmute​(java.lang.String value,
                                                     Preferences pref,
                                                     java.lang.Object validationObject)
                                              throws PreferencesException
        Description copied from class: PreferenceDefinitionImpl
        This method is triggered by callback when setting preference values. By default, this method doesn't do anything. The returned value will be used to set the preference value - this facilitates preprocessing such as trimming strings, or date time reformating.
        validateTransmute in class PreferenceDefinitionMinMax
        transmuted preference value