public class APIEventListener extends Object implements EventListener
Constructor and Description |
---|
APIEventListener() |
Modifier and Type | Method and Description |
---|---|
APIEventListener |
addListener(EventListener listener) |
void |
fireEvent(Event e) |
protected void |
log(String message,
Event.Level level) |
protected void |
progress(int progress,
int total,
String message,
Event.Level level) |
APIEventListener |
removeListener(EventListener listener) |
public APIEventListener addListener(EventListener listener)
public APIEventListener removeListener(EventListener listener)
public void fireEvent(Event e)
fireEvent
in interface EventListener
protected void log(String message, Event.Level level)
protected void progress(int progress, int total, String message, Event.Level level)
Copyright © 2019. All rights reserved.