com.hammingweight.hammock.mocks.microedition.lcdui.game
Class MockLayerManager
java.lang.Object
javax.microedition.lcdui.game.LayerManager
com.hammingweight.hammock.mocks.microedition.lcdui.game.MockLayerManager
- All Implemented Interfaces:
- IMockObject
public class MockLayerManager
- extends javax.microedition.lcdui.game.LayerManager
- implements IMockObject
Method Summary |
void |
append(javax.microedition.lcdui.game.Layer arg0)
|
IInvocationHandler |
getInvocationHandler()
Gets the invocation handler that the mock object uses to evaluate method
invocations. |
javax.microedition.lcdui.game.Layer |
getLayerAt(int arg0)
|
int |
getSize()
|
void |
insert(javax.microedition.lcdui.game.Layer arg0,
int arg1)
|
void |
paint(javax.microedition.lcdui.Graphics arg0,
int arg1,
int arg2)
|
void |
remove(javax.microedition.lcdui.game.Layer arg0)
|
void |
setInvocationHandler(IInvocationHandler handler)
Sets the invocation handler that the mock object should use to evaluate
method invocations. |
void |
setViewWindow(int arg0,
int arg1,
int arg2,
int arg3)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MTHD_APPEND_$_LAYER
public static final MockMethod MTHD_APPEND_$_LAYER
MTHD_GET_LAYER_AT_$_INT
public static final MockMethod MTHD_GET_LAYER_AT_$_INT
MTHD_GET_SIZE
public static final MockMethod MTHD_GET_SIZE
MTHD_INSERT_$_LAYER_INT
public static final MockMethod MTHD_INSERT_$_LAYER_INT
MTHD_PAINT_$_GRAPHICS_INT_INT
public static final MockMethod MTHD_PAINT_$_GRAPHICS_INT_INT
MTHD_REMOVE_$_LAYER
public static final MockMethod MTHD_REMOVE_$_LAYER
MTHD_SET_VIEW_WINDOW_$_INT_INT_INT_INT
public static final MockMethod MTHD_SET_VIEW_WINDOW_$_INT_INT_INT_INT
MockLayerManager
public MockLayerManager()
MockLayerManager
public MockLayerManager(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.
append
public void append(javax.microedition.lcdui.game.Layer arg0)
- Overrides:
append
in class javax.microedition.lcdui.game.LayerManager
getLayerAt
public javax.microedition.lcdui.game.Layer getLayerAt(int arg0)
- Overrides:
getLayerAt
in class javax.microedition.lcdui.game.LayerManager
getSize
public int getSize()
- Overrides:
getSize
in class javax.microedition.lcdui.game.LayerManager
insert
public void insert(javax.microedition.lcdui.game.Layer arg0,
int arg1)
- Overrides:
insert
in class javax.microedition.lcdui.game.LayerManager
paint
public void paint(javax.microedition.lcdui.Graphics arg0,
int arg1,
int arg2)
- Overrides:
paint
in class javax.microedition.lcdui.game.LayerManager
remove
public void remove(javax.microedition.lcdui.game.Layer arg0)
- Overrides:
remove
in class javax.microedition.lcdui.game.LayerManager
setViewWindow
public void setViewWindow(int arg0,
int arg1,
int arg2,
int arg3)
- Overrides:
setViewWindow
in class javax.microedition.lcdui.game.LayerManager