|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--com.ibm.eNetwork.beans.HOD.event.HODEvent | +--com.ibm.eNetwork.beans.HOD.event.MacroStateEvent
MacroExtractEvent is fired to MacroRuntimeListeners by Macro when Macro's state changes. This event is useful for controlling GUI feedback implemented on top of Macro.
MacroRuntimeListener
,
Macro
, Serialized FormField Summary | |
---|---|
static int |
STATE_DISCONNECTED
Macro state constant that when returned from getState(), indicates that the Macro bean is not wired properly. |
static int |
STATE_EMPTY
Macro state constant that when returned from getState(), indicates that there is no macro currently in the Macro bean. |
static int |
STATE_INTERNAL_ERROR
State property value. |
static int |
STATE_PLAY_ERROR
Macro state constant that when returned from getState(), indicates that the Macro bean was playing, but the macro failed to complete successfully. |
static int |
STATE_PLAY_PAUSED
Macro state constant that when returned from getState(), indicates a macro is playing, but is paused. |
static int |
STATE_PLAYING
Macro state constant that when returned from getState(), indicates a macro is loaded and running. |
static int |
STATE_RECORD_ERROR
State property value. |
static int |
STATE_RECORD_PAUSED
Macro state constant that when returned from getState(), indicates a macro is recording, but is paused. |
static int |
STATE_RECORDING
Macro state constant that when returned from getState(), indicates a macro is currently being recorded. |
static int |
STATE_STOPPED
Macro state constant that when returned from getState(), indicates a macro is loaded, but stopped. |
static int |
STATE_USER_ERROR
State property value. |
Constructor Summary | |
---|---|
MacroStateEvent(Macro src,
int s)
Constructs a new MacroStateEvent object. |
Method Summary | |
---|---|
com.ibm.eNetwork.ECL.ECLErr |
getECLErr()
Retrieve the ECLErr that was the cause of the MacroEvent.STATE_PLAY_ERROR. |
java.lang.String |
getLine()
Retrieve the line of the Macro. |
MacroScreen |
getMacroScreen()
Return the current MacroScreen object for the state. |
int |
getState()
Retrieve the state of the Macro. |
void |
setECLErr(com.ibm.eNetwork.ECL.ECLErr error)
Set the ECLErr that was the cause of the MacroEvent.STATE_PLAY_ERROR. |
void |
setLine(java.lang.String str)
Set the line of the Macro. |
void |
setMacroScreen(MacroScreen ms)
Set the current MacroScreen object for the state. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int STATE_STOPPED
public static final int STATE_PLAYING
public static final int STATE_RECORDING
public static final int STATE_PLAY_PAUSED
public static final int STATE_RECORD_PAUSED
public static final int STATE_EMPTY
public static final int STATE_DISCONNECTED
public static final int STATE_PLAY_ERROR
public static final int STATE_RECORD_ERROR
public static final int STATE_INTERNAL_ERROR
public static final int STATE_USER_ERROR
Constructor Detail |
public MacroStateEvent(Macro src, int s)
Method Detail |
public int getState()
public java.lang.String getLine()
public void setLine(java.lang.String str)
String
- Macro linepublic com.ibm.eNetwork.ECL.ECLErr getECLErr()
public void setECLErr(com.ibm.eNetwork.ECL.ECLErr error)
ECLErr
- ECLErrpublic void setMacroScreen(MacroScreen ms)
ms
- MacroScreenpublic MacroScreen getMacroScreen()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |