Class NumericalControl

  • All Implemented Interfaces:
    ECPControlSWT

    @Deprecated
    public class NumericalControl
    extends AbstractTextControl
    Deprecated.
    This class is used as a common class for all number controls.
    Author:
    Eugen Neufeld, emueller
    • Constructor Detail

      • NumericalControl

        public NumericalControl()
        Deprecated.
    • Method Detail

      • getTextWidgetStyle

        protected int getTextWidgetStyle()
        Deprecated.
        Description copied from class: AbstractTextControl
        The style to apply to the text widget. This can be changed by the concrete classes.
        Overrides:
        getTextWidgetStyle in class AbstractTextControl
        Returns:
        the style to apply
      • getTextVariantID

        protected java.lang.String getTextVariantID()
        Deprecated.
        Description copied from class: AbstractTextControl
        The VariantId to use e.g. for RAP
        Specified by:
        getTextVariantID in class AbstractTextControl
        Returns:
        the String identifying this control
      • getUnsetLabelText

        protected java.lang.String getUnsetLabelText()
        Deprecated.
        Description copied from class: SWTControl
        Returns the string for the unset label.
        Specified by:
        getUnsetLabelText in class SWTControl
        Returns:
        The unset label text
      • getUnsetButtonTooltip

        protected java.lang.String getUnsetButtonTooltip()
        Deprecated.
        Description copied from class: SWTControl
        Returns the string for the unset button tooltip.
        Specified by:
        getUnsetButtonTooltip in class SWTControl
        Returns:
        The unset button tooltip
      • customizeText

        protected void customizeText​(org.eclipse.swt.widgets.Text text)
        Deprecated.
        Description copied from class: AbstractTextControl
        This method allows to set custom values to the text field, e.g. a tooltip or a validation.
        Overrides:
        customizeText in class AbstractTextControl
        Parameters:
        text - the text widget to customize
      • bindValue

        public org.eclipse.core.databinding.Binding bindValue()
        Deprecated.
        Description copied from class: SWTControl
        Triggers the control to perform the databinding.
        Overrides:
        bindValue in class AbstractTextControl
        Returns:
        The Binding