Class StringControl

  • All Implemented Interfaces:
    ECPControlSWT

    @Deprecated
    public class StringControl
    extends AbstractTextControl
    Deprecated.
    The class describing a String control.
    Author:
    Eugen Neufeld
    • Constructor Detail

      • StringControl

        public StringControl()
        Deprecated.
    • Method Detail

      • getTextWidgetLayoutData

        protected org.eclipse.swt.layout.GridData getTextWidgetLayoutData()
        Deprecated.
        The LayoutData for the created Text widget. Can be changed by the concrete classes.
        Overrides:
        getTextWidgetLayoutData in class AbstractTextControl
        Returns:
        the GridData to apply
      • getTextWidgetStyle

        protected int getTextWidgetStyle()
        Deprecated.
        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