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

Variable Index

 o MACRO_EVENT
Static base value for macro event types
 o MACRO_EVENT_MASK
Static value for macro event mask
 o SCREEN_EVENT
Static base value for screen event types
 o SCREEN_EVENT_MASK
Static value for screen event mask
 o STATUS_EVENT
Static base value for status event types
 o STATUS_EVENT_MASK
Static value for status event mask

Constructor Index

 o CustomEvent(Object, int, String, SCCustomComponent)
Constructs a new CustomEvent with the specified source and type.
 o CustomEvent(Object, int, String, SCCustomComponent, String, Object)
Constructs a new CustomEvent with the specified source and type.

Method Index

 o getComponent()
Returns the Custom Component associated with this event.
 o getData()
Returns any custom data associated with this event.
 o getScreenID()
Returns the screen ID associated with this event.
 o getType()
Returns the event type.

Variables

 o SCREEN_EVENT
 public static final int SCREEN_EVENT
Static base value for screen event types

 o STATUS_EVENT
 public static final int STATUS_EVENT
Static base value for status event types

 o MACRO_EVENT
 public static final int MACRO_EVENT
Static base value for macro event types

 o SCREEN_EVENT_MASK
 public static final int SCREEN_EVENT_MASK
Static value for screen event mask

 o STATUS_EVENT_MASK
 public static final int STATUS_EVENT_MASK
Static value for status event mask

 o MACRO_EVENT_MASK
 public static final int MACRO_EVENT_MASK
Static value for macro event mask

Constructors

 o 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.

 o CustomEvent
 public CustomEvent(Object source,
                    int type,
                    String id,
                    SCCustomComponent comp)
Constructs a new CustomEvent with the specified source and type.

Methods

 o getType
 public int getType()
Returns the event type.

 o getScreenID
 public String getScreenID()
Returns the screen ID associated with this event. If no screen ID exists, then null is returned.

 o getComponent
 public SCCustomComponent getComponent()
Returns the Custom Component associated with this event.

 o 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