Class TwinColSelect

    • Constructor Detail

      • TwinColSelect

        public TwinColSelect()
        Deprecated.
      • TwinColSelect

        public TwinColSelect​(String caption)
        Deprecated.
        Parameters:
        caption -
      • TwinColSelect

        public TwinColSelect​(String caption,
                             Container dataSource)
        Deprecated.
        Parameters:
        caption -
        dataSource -
      • TwinColSelect

        public TwinColSelect​(String caption,
                             Collection<?> options)
        Deprecated.
        Parameters:
        caption -
        options -
    • Method Detail

      • setColumns

        @Deprecated
        public void setColumns​(int columns)
        Deprecated.
        As of 7.0. "Columns" does not reflect the exact number of characters that will be displayed. It is better to use setWidth together with "em" to control the width of the field.
        Sets the width of the component so that it displays approximately the given number of letters in each of the two selects.

        Calling setColumns(10); is roughly equivalent to calling setWidth((10*2+4)+"10em");

        Parameters:
        columns - the number of columns to set.
      • getColumns

        @Deprecated
        public int getColumns()
        Deprecated.
        As of 7.0. "Columns" does not reflect the exact number of characters that will be displayed. It is better to use setWidth together with "em" to control the width of the field.
        Gets the number of columns for the component.
        See Also:
        setColumns(int)
      • getRows

        public int getRows()
        Deprecated.
      • setRightColumnCaption

        public void setRightColumnCaption​(String rightColumnCaption)
        Deprecated.
        Sets the text shown above the right column.
        Parameters:
        rightColumnCaption - The text to show
      • getRightColumnCaption

        public String getRightColumnCaption()
        Deprecated.
        Returns the text shown above the right column.
        Returns:
        The text shown or null if not set.
      • setLeftColumnCaption

        public void setLeftColumnCaption​(String leftColumnCaption)
        Deprecated.
        Sets the text shown above the left column.
        Parameters:
        leftColumnCaption - The text to show
      • getLeftColumnCaption

        public String getLeftColumnCaption()
        Deprecated.
        Returns the text shown above the left column.
        Returns:
        The text shown or null if not set.