function ScalingSettings(scalingTicketItem, fitToPageTicketItem) {
    print_preview.SettingsSection.call(this);

    /**
     * Used to read and write the scaling value.
     * @private {!print_preview.ticket_items.Scaling}
     */
    this.scalingTicketItem_ = scalingTicketItem;

    /**
     * Used to read the fit to page value
     * @private {!print_preview.ticket_items.FitToPage}
     */
    this.fitToPageTicketItem_ = fitToPageTicketItem;

    /**
     * The scaling percentage required to fit the document to page
     * @private {number}
     */
    this.fitToPageScaling_ = 100;

    /**
     * Timeout used to delay processing of the scaling input, in ms.
     * @private {?number}
     */
    this.textfieldTimeout_ = null;

    /**
     * Whether this component is enabled or not.
     * @private {boolean}
     */
    this.isEnabled_ = true;

    /**
     * Last valid scaling value. Used to restore value when fit to page is
     * unchecked. Must always be a valid scaling value.
     * @private {string}
     */
    this.lastValidScaling_ = '100';

    /**
     * The textfield input element
     * @private {?HTMLElement}
     */
    this.inputField_ = null;

    /**
     * The fit to page checkbox.
     * @private {?HTMLElement}
     */
    this.fitToPageCheckbox_ = null;
  }
/**
   * Component that renders the scaling settings UI.
   * @param {!print_preview.ticket_items.Scaling} scalingTicketItem
   *     Used to read and write the scaling value.
   * @param {!print_preview.ticket_items.FitToPage}
   *     fitToPageTicketItem Used to read the fit to page value.
   * @constructor
   * @extends {print_preview.SettingsSection}
   */
Component that renders the scaling settings UI.
@param {!print_preview.ticket_items.Scaling} scalingTicketItem
Used to read and write the scaling value.
Component that renders the scaling settings UI . @param { !print_preview . ticket_items . Scaling } scalingTicketItem Used to read and write the scaling value .
function ScalingSettings(scalingTicketItem, fitToPageTicketItem) {
    print_preview.SettingsSection.call(this);
    this.scalingTicketItem_ = scalingTicketItem;
    this.fitToPageTicketItem_ = fitToPageTicketItem;
    this.fitToPageScaling_ = 100;
    this.textfieldTimeout_ = null;
    this.isEnabled_ = true;
    this.lastValidScaling_ = '100';
    this.inputField_ = null;
    this.fitToPageCheckbox_ = null;
  }
function ScalingSettings ( scalingTicketItem , fitToPageTicketItem ) { print_preview . SettingsSection . call ( this ) ; this . scalingTicketItem_ = scalingTicketItem ; this . fitToPageTicketItem_ = fitToPageTicketItem ; this . fitToPageScaling_ = 100 ; this . textfieldTimeout_ = null ; this . isEnabled_ = true ; this . lastValidScaling_ = '100' ; this . inputField_ = null ; this . fitToPageCheckbox_ = null ; }
Component that renders the scaling settings UI.
Component that renders the scaling settings UI .
/**
     * Used to read and write the scaling value.
     * @private {!print_preview.ticket_items.Scaling}
     */ /**
     * Used to read the fit to page value
     * @private {!print_preview.ticket_items.FitToPage}
     */ /**
     * The scaling percentage required to fit the document to page
     * @private {number}
     */ /**
     * Timeout used to delay processing of the scaling input, in ms.
     * @private {?number}
     */ /**
     * Whether this component is enabled or not.
     * @private {boolean}
     */ /**
     * Last valid scaling value. Used to restore value when fit to page is
     * unchecked. Must always be a valid scaling value.
     * @private {string}
     */ /**
     * The textfield input element
     * @private {?HTMLElement}
     */ /**
     * The fit to page checkbox.
     * @private {?HTMLElement}
     */