In my code I have an interface Component to define types. I want to extend that interface with a class InputComponent that has to implement the framework of an API's InputListener.
I'm really at a loss and don't know what to do. To clarify:
public class InputListener implements EventListener {} // this is the API's implementation (details hidden)
public interface Component {}
public interface InputComponent extends Component implements XYZ {} // this should somehow work with the InputListener class
Could somebody give me some resources (links, information, anything at all) on how to do this?