Package adams.core

Class ByteFormatString

    • Constructor Detail

      • ByteFormatString

        public ByteFormatString()
        Initializes the string with "0".
      • ByteFormatString

        public ByteFormatString​(String s)
        Initializes the object with the string to parse.
        Parameters:
        s - the string to parse
    • 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:
        always true
      • 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
      • toByteFormat

        public ByteFormat toByteFormat()
        Returns a configured ByteFormat object.
        Returns:
        the configured object
      • hasFavoritesSupport

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