All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.hi.customizer.beans.event.CustomMacroEvent

com.ibm.hi.customizer.beans.event.CustomEvent
   |
   +----com.ibm.hi.customizer.beans.event.CustomMacroEvent

public class CustomMacroEvent
extends CustomEvent
This event is fired by CustomTerminal to indicate that a macro event has occurred. Macro events may be assigned to buttons in customized screens.

See Also:
CustomListener

Variable Index

 o CLONE_SESSION
Static macro type to clone the current session
 o CLOSE_WINDOW
Static macro type to close the current window
 o RECEIVE_FILE
Static macro type to receive a file from the host
 o RUN_APPLET
Static macro type to run an applet
 o SEND_FILE
Static macro type to send a file to the host
 o TRANSFER_DEFAULTS
Static macro type to display the file transfer defaults

Constructor Index

 o CustomMacroEvent(Object, int, String)
Constructs a new CustomEvent with the specified source, type and screen ID.
 o CustomMacroEvent(Object, int, String, Object)
Constructs a new CustomEvent with the specified source, type, id, and data object.
 o CustomMacroEvent(Object, int, String, SCCustomComponent, String, Object)
Constructs a new CustomMacroEvent with the specified source, type, screen ID, custom component, string, and data object.

Method Index

 o getClassName()
Returns the class name associated with this event.
 o getMacroType()
Returns the macro type for this macro event.

Variables

 o CLOSE_WINDOW
 public static final int CLOSE_WINDOW
Static macro type to close the current window

 o RUN_APPLET
 public static final int RUN_APPLET
Static macro type to run an applet

 o CLONE_SESSION
 public static final int CLONE_SESSION
Static macro type to clone the current session

 o SEND_FILE
 public static final int SEND_FILE
Static macro type to send a file to the host

 o RECEIVE_FILE
 public static final int RECEIVE_FILE
Static macro type to receive a file from the host

 o TRANSFER_DEFAULTS
 public static final int TRANSFER_DEFAULTS
Static macro type to display the file transfer defaults

Constructors

 o CustomMacroEvent
 public CustomMacroEvent(Object source,
                         int type,
                         String id,
                         SCCustomComponent comp,
                         String string,
                         Object data)
Constructs a new CustomMacroEvent with the specified source, type, screen ID, custom component, string, and data object.

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

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

Methods

 o getClassName
 public String getClassName()
Returns the class name associated with this event. If there is no class name, an empty string is returned. This is only valid for the RUN_APPLET macro type. If you call this method on any other type of CustomMacroEvent, null is returned.

 o getMacroType
 public int getMacroType()
Returns the macro type for this macro event.


All Packages  Class Hierarchy  This Package  Previous  Next  Index