Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.barteo.emulator.app
Class Common  view Common download Common.java

java.lang.Object
  extended bycom.barteo.emulator.app.Common
All Implemented Interfaces:
com.barteo.emulator.MicroEmulator
Direct Known Subclasses:
EclipseSwt, Swt

public class Common
extends java.lang.Object
implements com.barteo.emulator.MicroEmulator


Field Summary
protected  java.lang.String captureFile
           
protected  com.barteo.emulator.EmulatorContext emulatorContext
           
protected  com.barteo.emulator.util.JadProperties jad
           
private static com.barteo.emulator.app.launcher.Launcher launcher
           
protected  com.barteo.emulator.util.JadProperties manifest
           
private  com.barteo.emulator.app.util.ProgressListener progressListener
           
private  com.barteo.emulator.app.ui.ResponseInterfaceListener responseInterfaceListener
           
private  com.barteo.emulator.app.ui.StatusBarListener statusBarListener
           
 
Constructor Summary
Common(com.barteo.emulator.EmulatorContext context)
           
 
Method Summary
protected  void close()
           
 java.lang.String getAppProperty(java.lang.String key)
           
 com.barteo.emulator.app.launcher.Launcher getLauncher()
           
protected  void loadFromJad(java.net.URL jadUrl)
           
 javax.microedition.midlet.MIDlet loadMidlet(java.lang.String name, java.lang.Class midletClass)
           
 void notifyDestroyed()
           
 void notifySoftkeyLabelsChanged()
          Allows notification when softkeys have changed
 void openJadFile(java.net.URL url)
           
protected  void setDevice(com.barteo.emulator.device.Device device)
           
private  void setResponseInterface(boolean state)
           
 void setResponseInterfaceListener(com.barteo.emulator.app.ui.ResponseInterfaceListener listener)
           
private  void setStatusBar(java.lang.String text)
           
 void setStatusBarListener(com.barteo.emulator.app.ui.StatusBarListener listener)
           
 void startMidlet(javax.microedition.midlet.MIDlet m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

launcher

private static com.barteo.emulator.app.launcher.Launcher launcher

emulatorContext

protected com.barteo.emulator.EmulatorContext emulatorContext

captureFile

protected java.lang.String captureFile

jad

protected com.barteo.emulator.util.JadProperties jad

manifest

protected com.barteo.emulator.util.JadProperties manifest

statusBarListener

private com.barteo.emulator.app.ui.StatusBarListener statusBarListener

responseInterfaceListener

private com.barteo.emulator.app.ui.ResponseInterfaceListener responseInterfaceListener

progressListener

private com.barteo.emulator.app.util.ProgressListener progressListener
Constructor Detail

Common

public Common(com.barteo.emulator.EmulatorContext context)
Method Detail

getAppProperty

public java.lang.String getAppProperty(java.lang.String key)
Specified by:
getAppProperty in interface com.barteo.emulator.MicroEmulator

notifyDestroyed

public void notifyDestroyed()
Specified by:
notifyDestroyed in interface com.barteo.emulator.MicroEmulator

notifySoftkeyLabelsChanged

public void notifySoftkeyLabelsChanged()
Description copied from interface: com.barteo.emulator.MicroEmulator
Allows notification when softkeys have changed

Specified by:
notifySoftkeyLabelsChanged in interface com.barteo.emulator.MicroEmulator

getLauncher

public com.barteo.emulator.app.launcher.Launcher getLauncher()

loadMidlet

public javax.microedition.midlet.MIDlet loadMidlet(java.lang.String name,
                                                   java.lang.Class midletClass)

openJadFile

public void openJadFile(java.net.URL url)

startMidlet

public void startMidlet(javax.microedition.midlet.MIDlet m)

setStatusBarListener

public void setStatusBarListener(com.barteo.emulator.app.ui.StatusBarListener listener)

setResponseInterfaceListener

public void setResponseInterfaceListener(com.barteo.emulator.app.ui.ResponseInterfaceListener listener)

close

protected void close()

loadFromJad

protected void loadFromJad(java.net.URL jadUrl)

setDevice

protected void setDevice(com.barteo.emulator.device.Device device)

setStatusBar

private void setStatusBar(java.lang.String text)

setResponseInterface

private void setResponseInterface(boolean state)