Interface Toolbox.IToolConstructor

Enclosing class:
Toolbox
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Toolbox.IToolConstructor
ITool Constructor wrapper interface, where the constructor takes a parent toolbox argument. Use with: MyTool::new
  • Method Summary

    Modifier and Type
    Method
    Description
    ctor(IToolbox parent)
    Constructor function that takes a parent toolbox
  • Method Details

    • ctor

      ITool ctor(IToolbox parent)
      Constructor function that takes a parent toolbox
      Parameters:
      parent - The toolbox that should contain this tool
      Returns:
      A new tool within the parent toolbox