Class HasRows

    • Field Detail

      • m_MinRows

        protected int m_MinRows
        the minimum number of rows.
      • m_MaxRows

        protected int m_MaxRows
        the maximum number of rows.
    • Constructor Detail

      • HasRows

        public HasRows()
    • Method Detail

      • setMinRows

        public void setMinRows​(int value)
        Sets the minimum number of rows the spreadsheet has to have.
        Parameters:
        value - the number of rows (-1: no lower bound)
      • getMinRows

        public int getMinRows()
        Returns the minimum number of rows the spreadsheet has to have
        Returns:
        the number of rows (-1: no lower bound)
      • minRowsTipText

        public String minRowsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setMaxRows

        public void setMaxRows​(int value)
        Sets the maximum number of rows the spreadsheet can have.
        Parameters:
        value - the number of rows (-1: no upper bound)
      • getMaxRows

        public int getMaxRows()
        Returns the maximum number of rows the spreadsheet can have.
        Returns:
        the number of rows (-1: no upper bound)
      • maxRowsTipText

        public String maxRowsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • doEvaluate

        protected boolean doEvaluate​(Actor owner,
                                     Token token)
        Performs the actual evaluation.
        Specified by:
        doEvaluate in class AbstractBooleanCondition
        Parameters:
        owner - the owning actor
        token - the current token passing through
        Returns:
        the result of the evaluation