All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.hi.customizer.beans.event.CustomEvent
com.ibm.hi.customizer.beans.event.CustomEvent
- public class CustomEvent
This event is fired by CustomTerminal to indicate that a screen, status,
or macro event has occurred.
- See Also:
- CustomListener
-
MACRO_EVENT
- Static base value for macro event types
-
MACRO_EVENT_MASK
- Static value for macro event mask
-
SCREEN_EVENT
- Static base value for screen event types
-
SCREEN_EVENT_MASK
- Static value for screen event mask
-
STATUS_EVENT
- Static base value for status event types
-
STATUS_EVENT_MASK
- Static value for status event mask
-
CustomEvent(Object, int, String, SCCustomComponent)
- Constructs a new CustomEvent with the specified source and type.
-
CustomEvent(Object, int, String, SCCustomComponent, String, Object)
- Constructs a new CustomEvent with the specified source and type.
-
getComponent()
- Returns the Custom Component associated with this event.
-
getData()
- Returns any custom data associated with this event.
-
getScreenID()
- Returns the screen ID associated with this event.
-
getType()
- Returns the event type.
SCREEN_EVENT
public static final int SCREEN_EVENT
- Static base value for screen event types
STATUS_EVENT
public static final int STATUS_EVENT
- Static base value for status event types
MACRO_EVENT
public static final int MACRO_EVENT
- Static base value for macro event types
SCREEN_EVENT_MASK
public static final int SCREEN_EVENT_MASK
- Static value for screen event mask
STATUS_EVENT_MASK
public static final int STATUS_EVENT_MASK
- Static value for status event mask
MACRO_EVENT_MASK
public static final int MACRO_EVENT_MASK
- Static value for macro event mask
CustomEvent
public CustomEvent(Object source,
int type,
String id,
SCCustomComponent comp,
String string,
Object data)
- Constructs a new CustomEvent with the specified source and type.
CustomEvent
public CustomEvent(Object source,
int type,
String id,
SCCustomComponent comp)
- Constructs a new CustomEvent with the specified source and type.
getType
public int getType()
- Returns the event type.
getScreenID
public String getScreenID()
- Returns the screen ID associated with this event. If no screen ID exists,
then null is returned.
getComponent
public SCCustomComponent getComponent()
- Returns the Custom Component associated with this event.
getData
public Object getData()
- Returns any custom data associated with this event. The data can be null.
All Packages Class Hierarchy This Package Previous Next Index