Update ControllerView.java

@FunctionalInterface
ControllerView< T extends ControllerView< T > >
This commit is contained in:
GoToLoop 2016-07-11 05:14:53 -03:00 committed by GitHub
parent 5956a93812
commit f3dd78f9c9

View File

@ -1,5 +1,3 @@
package controlP5;
/** /**
* controlP5 is a processing gui library. * controlP5 is a processing gui library.
* *
@ -25,6 +23,8 @@ package controlP5;
* *
*/ */
package controlP5;
import processing.core.PGraphics; import processing.core.PGraphics;
/** /**
@ -35,7 +35,7 @@ import processing.core.PGraphics;
* *
* @example use/ControlP5customDisplay * @example use/ControlP5customDisplay
*/ */
public interface ControllerView< T > { @FunctionalInterface public interface ControllerView< T extends ControllerView< T > > {
/** /**
* draws your custom controllers. display() will be called by a controller's draw() function and * draws your custom controllers. display() will be called by a controller's draw() function and