example.payment.jbricks
Class Main

java.lang.Object
  extended by javax.microedition.midlet.MIDlet
      extended by example.payment.jbricks.Main
All Implemented Interfaces:
java.lang.Runnable, javax.microedition.lcdui.CommandListener, javax.microedition.payment.TransactionListener

public class Main
extends javax.microedition.midlet.MIDlet
implements javax.microedition.payment.TransactionListener, javax.microedition.lcdui.CommandListener, java.lang.Runnable

main wrapper


Constructor Summary
Main()
           
 
Method Summary
protected  void buyLevel(int count)
           
protected  void buyLife(int count)
           
 void commandAction(javax.microedition.lcdui.Command cmd, javax.microedition.lcdui.Displayable dis)
           
 void destroyApp(boolean unc)
           
protected  java.lang.String[] getHistory()
           
 void pauseApp()
           
 void processed(javax.microedition.payment.TransactionRecord record)
           
 void run()
           
protected  void setTransactionListenerNull(boolean b)
           
 void showCommandExit(boolean show)
           
 void startApp()
           
 
Methods inherited from class javax.microedition.midlet.MIDlet
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

showCommandExit

public void showCommandExit(boolean show)

startApp

public void startApp()
Specified by:
startApp in class javax.microedition.midlet.MIDlet

pauseApp

public void pauseApp()
Specified by:
pauseApp in class javax.microedition.midlet.MIDlet

destroyApp

public void destroyApp(boolean unc)
Specified by:
destroyApp in class javax.microedition.midlet.MIDlet

commandAction

public void commandAction(javax.microedition.lcdui.Command cmd,
                          javax.microedition.lcdui.Displayable dis)
Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener

processed

public void processed(javax.microedition.payment.TransactionRecord record)
Specified by:
processed in interface javax.microedition.payment.TransactionListener

run

public void run()
Specified by:
run in interface java.lang.Runnable

buyLife

protected void buyLife(int count)

buyLevel

protected void buyLevel(int count)

setTransactionListenerNull

protected void setTransactionListenerNull(boolean b)

getHistory

protected java.lang.String[] getHistory()