Class BaseList

    • Constructor Detail

      • BaseList

        public BaseList()
        Initializes the list with length 0.
      • BaseList

        public BaseList​(String s)
        Initializes the object with the list to parse.
        Parameters:
        s - the list to parse
    • Method Detail

      • getConversion

        protected BaseList.Conversion getConversion()
        Returns the conversion of the string before setting its value.
        Returns:
        the type of conversion to apply
      • isValid

        public boolean isValid​(String value)
        Checks whether the string value is a valid presentation for this class.
        Overrides:
        isValid in class AbstractBaseString
        Parameters:
        value - the string value to check
        Returns:
        always true
      • convert

        protected String convert​(String value)
        Converts the string according to the specified conversion.
        Overrides:
        convert in class AbstractBaseString
        Parameters:
        value - the string to convert
        Returns:
        the converted string
        See Also:
        getConversion()
      • listValue

        public String[] listValue()
        Returns the list items.
        Returns:
        the list array
      • getTipText

        public String getTipText()
        Returns a tool tip for the GUI editor (ignored if null is returned).
        Specified by:
        getTipText in class AbstractBaseString
        Returns:
        the tool tip