All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.eNetwork.beans.HOD.event.MacroTickTockEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.ibm.eNetwork.beans.HOD.event.HODEvent
|
+----com.ibm.eNetwork.beans.HOD.event.MacroTickTockEvent
- public class MacroTickTockEvent
- extends HODEvent
MacroTickTockEvent is fired to MacroTickTockListeners by Macro when it
is waiting for a MacroScreen in a given MacroNextScreens object to
appear from the host. This event is fired every second until either a
screen appears or the Macro bean times out.
- See Also:
- MacroTickTockListener, Macro
-
MacroTickTockEvent(Macro, MacroNextScreens, int, int, int)
- Constructs a new MacroTickTockEvent object.
-
getElapsed()
- Returns the number of seconds elapsed for the next screen wait.
-
getNextScreens()
- Returns the MacroNextScreens object that contains the MacroScreen objects
that the Macro bean is expecting to appear from the host.
-
getRemaining()
- Returns the number of seconds remaining for the next screen wait.
-
getTotal()
- Returns the total number of seconds used for the next screen wait.
MacroTickTockEvent
public MacroTickTockEvent(Macro src,
MacroNextScreens mns,
int timeTot,
int timeElapsed,
int timeRemain)
- Constructs a new MacroTickTockEvent object.
getNextScreens
public MacroNextScreens getNextScreens()
- Returns the MacroNextScreens object that contains the MacroScreen objects
that the Macro bean is expecting to appear from the host.
- Returns:
- com.ibm.eNetwork.beans.HOD.MacroNextScreens next screens object currently used for the screen wait
getTotal
public int getTotal()
- Returns the total number of seconds used for the next screen wait.
- Returns:
- java.lang.int total seconds for wait
getElapsed
public int getElapsed()
- Returns the number of seconds elapsed for the next screen wait.
- Returns:
- java.lang.int seconds elapsed so far for wait
getRemaining
public int getRemaining()
- Returns the number of seconds remaining for the next screen wait.
- Returns:
- java.lang.int seconds remaining until Macro bean times out
All Packages Class Hierarchy This Package Previous Next Index