com.hammingweight.hammock.mocks.microedition.lcdui.game
Class MockLayer
java.lang.Object
javax.microedition.lcdui.game.Layer
com.hammingweight.hammock.mocks.microedition.lcdui.game.MockLayer
- All Implemented Interfaces:
- IMockObject
public class MockLayer
- extends javax.microedition.lcdui.game.Layer
- implements IMockObject
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 |
MTHD_MOVE_$_INT_INT
public static final MockMethod MTHD_MOVE_$_INT_INT
MTHD_PAINT_$_GRAPHICS
public static final MockMethod MTHD_PAINT_$_GRAPHICS
MTHD_SET_POSITION_$_INT_INT
public static final MockMethod MTHD_SET_POSITION_$_INT_INT
MTHD_SET_VISIBLE_$_BOOLEAN
public static final MockMethod MTHD_SET_VISIBLE_$_BOOLEAN
MockLayer
public MockLayer()
MockLayer
public MockLayer(IInvocationHandler handler)
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.
move
public void move(int arg0,
int arg1)
- Overrides:
move
in class javax.microedition.lcdui.game.Layer
paint
public void paint(javax.microedition.lcdui.Graphics arg0)
- Specified by:
paint
in class javax.microedition.lcdui.game.Layer
setPosition
public void setPosition(int arg0,
int arg1)
- Overrides:
setPosition
in class javax.microedition.lcdui.game.Layer
setVisible
public void setVisible(boolean arg0)
- Overrides:
setVisible
in class javax.microedition.lcdui.game.Layer