All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.eNetwork.beans.HOD.MacroActionMouseClick
java.lang.Object
|
+----com.ibm.eNetwork.beans.HOD.MacroAction
|
+----com.ibm.eNetwork.beans.HOD.MacroActionMouseClick
- public class MacroActionMouseClick
- extends MacroAction
This class represents one mouse click action associated with
a MacroScreen object. The click action is used for simulating
a user mouse click on the Terminal bean. The essentially just
sets the cursor at a given row and column position.
- See Also:
- Macro
-
MacroActionMouseClick()
- Constructs an empty instance of a macro mouse click action.
-
MacroActionMouseClick(int, int)
- Constructs an working instance of a macro mouse click action.
-
execute()
- Executes the macro mouse click action.
-
format(int, boolean)
- Formats the action object's contents into a readable string.
-
getCol()
- Returns the column position for the mouse click action.
-
getRow()
- Returns the row position for the mouse click action.
-
setCol(int)
- Sets the column position for the mouse click action.
-
setRow(int)
- Sets the row position for the mouse click action.
MacroActionMouseClick
public MacroActionMouseClick()
- Constructs an empty instance of a macro mouse click action.
If you use this constructor, you must call all the set methods of this
class to properly set up the action.
MacroActionMouseClick
public MacroActionMouseClick(int argRow,
int argCol)
- Constructs an working instance of a macro mouse click action.
If you use this constructor, you must call all the set methods of this
class to properly set up the action.
- Parameters:
- argRow - row position for the mouse click
- argCol - row position for the mouse click
getRow
public int getRow()
- Returns the row position for the mouse click action.
- Returns:
- mouse row position
setRow
public void setRow(int argRow)
- Sets the row position for the mouse click action.
- Parameters:
- argRow - row position where the mouse starts
getCol
public int getCol()
- Returns the column position for the mouse click action.
- Returns:
- mouse column position
setCol
public void setCol(int argCol)
- Sets the column position for the mouse click action.
- Parameters:
- argCol - column position where the mouse starts
execute
public void execute()
- Executes the macro mouse click action. Does nothing if ECLSession is not set.
- Overrides:
- execute in class MacroAction
- See Also:
- setECLSession
format
public String format(int argType,
boolean displayAll)
- Formats the action object's contents into a readable string. Intended
for visual feedback, as with the MacroDebugActionEvent class.
- Parameters:
- argType - reserved, currently only XML strings are supported
- displayAll - if true, optional parameters are formatted also
- Returns:
- formatted string that reflects the contents of the action
- Overrides:
- format in class MacroAction
All Packages Class Hierarchy This Package Previous Next Index