Class BaseClassname

    • Constructor Detail

      • BaseClassname

        public BaseClassname()
        Initializes the string with length 0.
      • BaseClassname

        public BaseClassname​(String s)
        Initializes the object with the string to parse.
        Parameters:
        s - the string to parse
      • BaseClassname

        public BaseClassname​(Class cls)
        Initializes the object with the class to use.
        Parameters:
        cls - the class to use
    • Method Detail

      • 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:
        true if non-null
      • 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
      • classValue

        public Class classValue()
        Returns the value as class.
        Returns:
        the class value, null if class invalid (or empty)
      • hasFavoritesSupport

        public boolean hasFavoritesSupport()
        Whether this object should have favorites support.
        Overrides:
        hasFavoritesSupport in class BaseObject
        Returns:
        true if to support favorites