AI2 Component
(Version nb184)
HandlesEventDispatching.java
Go to the documentation of this file.
1
// -*- mode: java; c-basic-offset: 2; -*-
2
// Copyright 2009-2011 Google, All Rights reserved
3
// Copyright 2011-2012 MIT, All rights reserved
4
// Released under the Apache License, Version 2.0
5
// http://www.apache.org/licenses/LICENSE-2.0
6
7
package
com.google.appinventor.components.runtime;
8
15
public
interface
HandlesEventDispatching
{
16
public
boolean
canDispatchEvent
(
Component
component, String eventName);
17
18
public
boolean
dispatchEvent
(
Component
component, String componentName, String eventName,
19
Object[] args);
20
21
void
dispatchErrorOccurredEvent
(
Component
component, String functionName,
int
errorCode,
22
Object... args);
23
33
void
dispatchGenericEvent
(
Component
component, String eventName,
boolean
notAlreadyHandled, Object[] args);
34
}
com.google.appinventor.components.runtime.HandlesEventDispatching.dispatchErrorOccurredEvent
void dispatchErrorOccurredEvent(Component component, String functionName, int errorCode, Object... args)
com.google.appinventor.components.runtime.HandlesEventDispatching
Definition:
HandlesEventDispatching.java:15
com.google.appinventor.components.runtime.HandlesEventDispatching.canDispatchEvent
boolean canDispatchEvent(Component component, String eventName)
com.google.appinventor.components.runtime.HandlesEventDispatching.dispatchEvent
boolean dispatchEvent(Component component, String componentName, String eventName, Object[] args)
com.google.appinventor.components.runtime.Component
Definition:
Component.java:17
com.google.appinventor.components.runtime.HandlesEventDispatching.dispatchGenericEvent
void dispatchGenericEvent(Component component, String eventName, boolean notAlreadyHandled, Object[] args)
com
google
appinventor
components
runtime
HandlesEventDispatching.java
Generated by
1.8.16