|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--danger.app.Bundle
| Field Summary | |
static int |
SPLASH_HEIGHT
|
static int |
SPLASH_WIDTH
|
| Method Summary | |
static void |
checkForBundles()
Used by the OS to load more bundles as needed. |
boolean |
containsApp(Application app)
Discover if this Bundle corresponds to the provide Application object |
static Bundle |
findByClassName(java.lang.String name)
Return a bundle that has a Class Name which matches the provided string, or null if no such Bundle exists. |
static Bundle |
findByDisplayName(java.lang.String name)
Return a bundle that has a Display Name which matches the provided string, or null if no such Bundle exists. |
static Bundle |
findByName(java.lang.String name)
Return a bundle that has a name which matches the provided string, or null if no such Bundle exists. |
java.lang.String |
getClassName()
Return the class name of the Application class that will be instantiated to launch the app |
void |
getComponentVersion(ComponentVersion cv)
Fill out the Component Version info for this Bundle |
java.lang.String |
getDisplayName()
Return the application name suitable for display in the Launcher, and other human-readable places |
int |
getID()
This identifier is used by some internal system code. |
ImmutableBitmap |
getLargeIcon()
Return a 32x32 (hopefully) large icon bitmap |
static Bundle[] |
getList()
Return an array containing all Bundles in the system. |
java.lang.String |
getName()
|
Bitmap |
getPreviewScreen()
|
ResourceDatabase |
getResources()
Return the Resource Database |
int |
getSize()
size in flashrom in bytes. |
ImmutableBitmap |
getSmallIcon()
Return a 16x16 (hopefully) small icon bitmap |
boolean |
invisibleToUser()
Return true if this app should be invisible to the user. |
boolean |
isDebuggingTool()
Return true if this app is a debugging tool. |
boolean |
isDirty()
Returns true if the DIRTY state is set -- indicates preview screen is due for redraw in Launcher |
boolean |
launchOnBoot()
Return true if this app should start on system boot |
void |
quitApp()
Send a QUIT request to the application (if it's started) |
void |
resume()
Send a RESUME request to the application (if it's started) |
void |
sendEvent(Event e)
Send an Event to the application (if it's started) |
void |
sendNetworkEvent(Event e)
Send a Network Event to the application (if it's started) |
void |
setDirty()
Set the DIRTY state -- should only be used by launcher |
void |
setDisplayName(java.lang.String appName)
Change the display name. |
void |
setShowInChooserMenu(boolean showInChooserMenu)
Change the show in chooser menu flag. |
boolean |
showInChooserMenu()
Return true if this app should be shown in the chooser menu |
boolean |
showInChooserRing()
Return true if this app should be shown in the chooser ring |
void |
suspend()
Send a SUSPEND request to the application (if it's started) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int SPLASH_WIDTH
public static final int SPLASH_HEIGHT
| Method Detail |
public java.lang.String getName()
public java.lang.String getClassName()
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String appName)
public boolean launchOnBoot()
public boolean showInChooserRing()
public boolean showInChooserMenu()
public void setShowInChooserMenu(boolean showInChooserMenu)
public boolean invisibleToUser()
public boolean isDebuggingTool()
public ImmutableBitmap getLargeIcon()
public ImmutableBitmap getSmallIcon()
public void sendEvent(Event e)
public void sendNetworkEvent(Event e)
public void suspend()
public void resume()
public void quitApp()
public Bitmap getPreviewScreen()
public boolean containsApp(Application app)
public boolean isDirty()
public void setDirty()
public ResourceDatabase getResources()
public void getComponentVersion(ComponentVersion cv)
public static void checkForBundles()
public static Bundle findByDisplayName(java.lang.String name)
public static Bundle findByClassName(java.lang.String name)
public static Bundle findByName(java.lang.String name)
public static Bundle[] getList()
public int getID()
public int getSize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||