Class Mat5ArrayDimensions

    • Constructor Detail

      • Mat5ArrayDimensions

        public Mat5ArrayDimensions()
        Initializes the index with no index (empty string).
      • Mat5ArrayDimensions

        public Mat5ArrayDimensions​(String index)
        Initializes the index with the specified string.
        Parameters:
        index - the index
      • Mat5ArrayDimensions

        public Mat5ArrayDimensions​(int[] index)
        Initializes the index with the specified index array.
        Parameters:
        index - the index
    • 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
      • indexValue

        public int[] indexValue()
        Returns the value as dimensional index. Uses -1 for unspecified/empty dimensions (eg for iterating).
        Returns:
        the array of positions, empty array if nothing specified
      • 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