Class MatrixSubset

    • Field Detail

      • m_Rows

        protected Range m_Rows
        the rows.
      • m_Columns

        protected Range m_Columns
        the columns.
    • Constructor Detail

      • MatrixSubset

        public MatrixSubset()
        Initializes the subset with all rows/cols.
      • MatrixSubset

        public MatrixSubset​(String subset)
        Initializes the subset with the specified subset.
        Parameters:
        subset - the subset to use
    • Method Detail

      • parseRange

        protected Range parseRange​(String part)
        Checks whether a row/column specification is valid.
        Parameters:
        part - the part to check
        Returns:
        the range, null if invalid format
      • split

        protected String[] split​(String value)
        Splits the subset expression.
        Parameters:
        value - the expression
        Returns:
        the parts, 0-length if failed to split
      • 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
      • 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
      • rowsValue

        public Range rowsValue()
        Returns the rows range.
        Returns:
        the range
      • columnsValue

        public Range columnsValue()
        Returns the columns range.
        Returns:
        the range
      • 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