com.hammingweight.hammock.mocks.microedition.lcdui
Class MockAlertType
java.lang.Object
javax.microedition.lcdui.AlertType
com.hammingweight.hammock.mocks.microedition.lcdui.MockAlertType
- All Implemented Interfaces:
- IMockObject
public class MockAlertType
- extends javax.microedition.lcdui.AlertType
- implements IMockObject
Fields inherited from class javax.microedition.lcdui.AlertType |
ALARM, CONFIRMATION, ERROR, INFO, WARNING |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MTHD_PLAY_SOUND_$_DISPLAY
public static final MockMethod MTHD_PLAY_SOUND_$_DISPLAY
MockAlertType
public MockAlertType()
MockAlertType
public MockAlertType(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.
playSound
public boolean playSound(javax.microedition.lcdui.Display arg0)
- Overrides:
playSound
in class javax.microedition.lcdui.AlertType