org.flexdock.event
public class EventManager extends Object
Modifier and Type | Method and Description |
---|---|
void |
addEventHandler(EventHandler handler) |
void |
addEventListener(EventListener listener) |
static void |
addHandler(EventHandler handler) |
static void |
addListener(EventListener listener) |
static void |
dispatch(Event evt) |
static void |
dispatch(Event evt,
Object target) |
static void |
dispatch(Event evt,
Object[] targets) |
void |
dispatchEvent(Event evt) |
void |
dispatchEvent(Event evt,
Object target) |
void |
dispatchEvent(Event evt,
Object[] targets) |
static EventManager |
getInstance() |
void |
removeEventHandler(EventHandler handler) |
void |
removeEventListener(EventListener listener) |
static void |
removeHandler(EventHandler handler) |
static void |
removeListener(EventListener listener) |
public static EventManager getInstance()
public static void addHandler(EventHandler handler)
public static void removeHandler(EventHandler handler)
public static void addListener(EventListener listener)
public static void removeListener(EventListener listener)
public static void dispatch(Event evt)
public void addEventHandler(EventHandler handler)
public void removeEventHandler(EventHandler handler)
public void addEventListener(EventListener listener)
public void removeEventListener(EventListener listener)
public void dispatchEvent(Event evt)