Class FunctionToNextFunctionModel

    • Constructor Detail

      • FunctionToNextFunctionModel

        public FunctionToNextFunctionModel()
        Default constructor.
      • FunctionToNextFunctionModel

        public FunctionToNextFunctionModel​(java.lang.String nextFunctionName)
        Convenience constructor for new non-linked instance.
        Parameters:
        nextFunctionName - Next function name.
      • FunctionToNextFunctionModel

        public FunctionToNextFunctionModel​(java.lang.String nextFunctionName,
                                           int x,
                                           int y)
        Convenience constructor for new non-linked instance allowing XY initialising.
        Parameters:
        nextFunctionName - Next function name.
        x - Horizontal location.
        y - Vertical location.
      • FunctionToNextFunctionModel

        public FunctionToNextFunctionModel​(java.lang.String nextFunctionName,
                                           FunctionModel previousFunction,
                                           FunctionModel nextFunction)
        Convenience constructor.
        Parameters:
        nextFunctionName - Next function name.
        previousFunction - Previous function.
        nextFunction - Next function.
      • FunctionToNextFunctionModel

        public FunctionToNextFunctionModel​(java.lang.String nextFunctionName,
                                           FunctionModel previousFunction,
                                           FunctionModel nextFunction,
                                           int x,
                                           int y)
        Convenience constructor allowing XY initialising.
        Parameters:
        nextFunctionName - Next function name.
        previousFunction - Previous function.
        nextFunction - Next function.
        x - Horizontal location.
        y - Vertical location.
    • Method Detail

      • getNextFunctionName

        public java.lang.String getNextFunctionName()
        Returns:
        Next function name.
      • setNextFunctionName

        public void setNextFunctionName​(java.lang.String nextFunctionName)
        Parameters:
        nextFunctionName - Next function name.
      • getPreviousFunction

        public FunctionModel getPreviousFunction()
        Returns:
        Previous function.
      • setPreviousFunction

        public void setPreviousFunction​(FunctionModel previousFunction)
        Parameters:
        previousFunction - Previous function.
      • getNextFunction

        public FunctionModel getNextFunction()
        Returns:
        Next function.
      • setNextFunction

        public void setNextFunction​(FunctionModel nextFunction)
        Parameters:
        nextFunction - Next function.
      • isRemovable

        public boolean isRemovable()
        Description copied from interface: ConnectionModel
        Indicates if this connection is removable.
        Specified by:
        isRemovable in interface ConnectionModel
        Returns:
        Indicates if removable.