Class ConsoleEngine.WidgetCreator

  • All Implemented Interfaces:
    Binding, Widget
    Enclosing interface:
    ConsoleEngine

    public static class ConsoleEngine.WidgetCreator
    extends java.lang.Object
    implements Widget
    • Constructor Summary

      Constructors 
      Constructor Description
      WidgetCreator​(ConsoleEngine consoleEngine, java.lang.String function)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean apply()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • function

        private final java.lang.Object function
      • name

        private final java.lang.String name
    • Constructor Detail

      • WidgetCreator

        public WidgetCreator​(ConsoleEngine consoleEngine,
                             java.lang.String function)
    • Method Detail

      • apply

        public boolean apply()
        Specified by:
        apply in interface Widget
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object