Class NonStrictDisplay

    • Method Detail

      • isStrict

        public boolean isStrict()
        Return false. This actor displays "undefined" when the input receiver has status unknown.
        Specified by:
        isStrict in interface Executable
        Overrides:
        isStrict in class AtomicActor<TypedIOPort>
        Returns:
        False.
      • _getInputString

        protected java.lang.String _getInputString​(int i)
                                            throws IllegalActionException
        Return a string describing the input on channel i. This is a protected method to allow subclasses to override how inputs are observed.
        Overrides:
        _getInputString in class Display
        Parameters:
        i - The channel
        Returns:
        A string representation of the input, or the string "absent" or "unknown" if the input is absent or unknown.
        Throws:
        IllegalActionException - If reading the input fails.