com.hammingweight.hammock.mocks.microedition.lcdui.game
Class MockTiledLayer

java.lang.Object
  extended by javax.microedition.lcdui.game.Layer
      extended by javax.microedition.lcdui.game.TiledLayer
          extended by com.hammingweight.hammock.mocks.microedition.lcdui.game.MockTiledLayer
All Implemented Interfaces:
IMockObject

public class MockTiledLayer
extends javax.microedition.lcdui.game.TiledLayer
implements IMockObject


Field Summary
static MockMethod MTHD_CREATE_ANIMATED_TILE_$_INT
           
static MockMethod MTHD_FILL_CELLS_$_INT_INT_INT_INT_INT
           
static MockMethod MTHD_GET_ANIMATED_TILE_$_INT
           
static MockMethod MTHD_GET_CELL_$_INT_INT
           
static MockMethod MTHD_MOVE_$_INT_INT
           
static MockMethod MTHD_SET_ANIMATED_TILE_$_INT_INT
           
static MockMethod MTHD_SET_CELL_$_INT_INT_INT
           
static MockMethod MTHD_SET_POSITION_$_INT_INT
           
static MockMethod MTHD_SET_STATIC_TILE_SET_$_IMAGE_INT_INT
           
static MockMethod MTHD_SET_VISIBLE_$_BOOLEAN
           
 
Constructor Summary
MockTiledLayer(int arg0, int arg1, javax.microedition.lcdui.Image arg2, int arg3, int arg4)
           
MockTiledLayer(int arg0, int arg1, javax.microedition.lcdui.Image arg2, int arg3, int arg4, IInvocationHandler handler)
           
 
Method Summary
 int createAnimatedTile(int arg0)
           
 void fillCells(int arg0, int arg1, int arg2, int arg3, int arg4)
           
 int getAnimatedTile(int arg0)
           
 int getCell(int arg0, int arg1)
           
 IInvocationHandler getInvocationHandler()
          Gets the invocation handler that the mock object uses to evaluate method invocations.
 void move(int arg0, int arg1)
           
 void setAnimatedTile(int arg0, int arg1)
           
 void setCell(int arg0, int arg1, int arg2)
           
 void setInvocationHandler(IInvocationHandler handler)
          Sets the invocation handler that the mock object should use to evaluate method invocations.
 void setPosition(int arg0, int arg1)
           
 void setStaticTileSet(javax.microedition.lcdui.Image arg0, int arg1, int arg2)
           
 void setVisible(boolean arg0)
           
 
Methods inherited from class javax.microedition.lcdui.game.TiledLayer
getCellHeight, getCellWidth, getColumns, getRows, paint
 
Methods inherited from class javax.microedition.lcdui.game.Layer
getHeight, getWidth, getX, getY, isVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MTHD_CREATE_ANIMATED_TILE_$_INT

public static final MockMethod MTHD_CREATE_ANIMATED_TILE_$_INT

MTHD_FILL_CELLS_$_INT_INT_INT_INT_INT

public static final MockMethod MTHD_FILL_CELLS_$_INT_INT_INT_INT_INT

MTHD_GET_ANIMATED_TILE_$_INT

public static final MockMethod MTHD_GET_ANIMATED_TILE_$_INT

MTHD_GET_CELL_$_INT_INT

public static final MockMethod MTHD_GET_CELL_$_INT_INT

MTHD_MOVE_$_INT_INT

public static final MockMethod MTHD_MOVE_$_INT_INT

MTHD_SET_ANIMATED_TILE_$_INT_INT

public static final MockMethod MTHD_SET_ANIMATED_TILE_$_INT_INT

MTHD_SET_CELL_$_INT_INT_INT

public static final MockMethod MTHD_SET_CELL_$_INT_INT_INT

MTHD_SET_POSITION_$_INT_INT

public static final MockMethod MTHD_SET_POSITION_$_INT_INT

MTHD_SET_STATIC_TILE_SET_$_IMAGE_INT_INT

public static final MockMethod MTHD_SET_STATIC_TILE_SET_$_IMAGE_INT_INT

MTHD_SET_VISIBLE_$_BOOLEAN

public static final MockMethod MTHD_SET_VISIBLE_$_BOOLEAN
Constructor Detail

MockTiledLayer

public MockTiledLayer(int arg0,
                      int arg1,
                      javax.microedition.lcdui.Image arg2,
                      int arg3,
                      int arg4)

MockTiledLayer

public MockTiledLayer(int arg0,
                      int arg1,
                      javax.microedition.lcdui.Image arg2,
                      int arg3,
                      int arg4,
                      IInvocationHandler handler)
Method Detail

setInvocationHandler

public final void setInvocationHandler(IInvocationHandler handler)
Description copied from interface: IMockObject
Sets the invocation handler that the mock object should use to evaluate method invocations.

Specified by:
setInvocationHandler in interface IMockObject
Parameters:
handler - The invocation handler to be used by the mock object.

getInvocationHandler

public final IInvocationHandler getInvocationHandler()
Description copied from interface: IMockObject
Gets the invocation handler that the mock object uses to evaluate method invocations.

Specified by:
getInvocationHandler in interface IMockObject
Returns:
The invocation handler used by the mock object.

createAnimatedTile

public int createAnimatedTile(int arg0)
Overrides:
createAnimatedTile in class javax.microedition.lcdui.game.TiledLayer

fillCells

public void fillCells(int arg0,
                      int arg1,
                      int arg2,
                      int arg3,
                      int arg4)
Overrides:
fillCells in class javax.microedition.lcdui.game.TiledLayer

getAnimatedTile

public int getAnimatedTile(int arg0)
Overrides:
getAnimatedTile in class javax.microedition.lcdui.game.TiledLayer

getCell

public int getCell(int arg0,
                   int arg1)
Overrides:
getCell in class javax.microedition.lcdui.game.TiledLayer

move

public void move(int arg0,
                 int arg1)
Overrides:
move in class javax.microedition.lcdui.game.Layer

setAnimatedTile

public void setAnimatedTile(int arg0,
                            int arg1)
Overrides:
setAnimatedTile in class javax.microedition.lcdui.game.TiledLayer

setCell

public void setCell(int arg0,
                    int arg1,
                    int arg2)
Overrides:
setCell in class javax.microedition.lcdui.game.TiledLayer

setPosition

public void setPosition(int arg0,
                        int arg1)
Overrides:
setPosition in class javax.microedition.lcdui.game.Layer

setStaticTileSet

public void setStaticTileSet(javax.microedition.lcdui.Image arg0,
                             int arg1,
                             int arg2)
Overrides:
setStaticTileSet in class javax.microedition.lcdui.game.TiledLayer

setVisible

public void setVisible(boolean arg0)
Overrides:
setVisible in class javax.microedition.lcdui.game.Layer