Java Doc for JUMPApplication.java in  » 6.0-JDK-Modules » j2me » com » sun » jump » common » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » com.sun.jump.common 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.jump.common.JUMPApplication

All known Subclasses:   com.sun.midp.jump.MIDletApplication,  com.sun.jumpimpl.module.installer.XLETApplication,  com.sun.jumpimpl.module.installer.MAINApplication,
JUMPApplication
public class JUMPApplication implements java.io.Serializable,JUMPContent(Code)
A representation of executable application content in the jump environment. Because we can have different app types (e.g., XLET v. MIDLET), use this class to hold relevant information needed to start an application properly.


Field Summary
final public static  StringAPPMODEL_KEY
    
final public static  StringICONPATH_KEY
    
final public static  StringID_KEY
    
final public static  StringID_SCREEN_BOUNDS
     A hint to the WindowingModule regarding the area of the screen this JUMPApplication requires.
final public static  StringTITLE_KEY
    
protected  Propertiesprops
    

Constructor Summary
public  JUMPApplication(String title, URL iconPath, JUMPAppModel type, int id)
     Create an instance of an application.

Method Summary
public  voidaddProperty(String key, String value)
     Add a key/value pair to the application's list of properties.
public  booleanequals(Object obj)
     Returns true if two JUMPApplications' APPMODEL_KEY and ID_KEY properties hold the same value.
public static  JUMPApplicationfromByteArray(byte[] propBytes)
    
public  JUMPAppModelgetAppType()
     Determine the type of this application.
public  StringgetContentType()
    
public  URLgetIconPath()
     Get the path to the application's icon.
public  intgetId()
     Obtain the installed application id for this object.
public  StringgetProperty(String key)
     Get a key/value pair to the application's list of properties.
public  EnumerationgetPropertyNames()
     Returns the names of this JUMPApplication's property entries as an Enumeration of String objects, or an empty Enumeration if the JUMPApplication have no properties associated.
public  StringgetTitle()
     Get the application's title.
public  inthashCode()
     Returns the value of ID_KEY property.
public  voidsetIconPath(URL path)
     Set the path to the application's icon.
public  voidsetId(String id)
     Set the installed application id for this object.
public  voidsetTitle(String title)
     Set the application's title.
public  byte[]toByteArray()
    
public  StringtoString()
    

Field Detail
APPMODEL_KEY
final public static String APPMODEL_KEY(Code)



ICONPATH_KEY
final public static String ICONPATH_KEY(Code)



ID_KEY
final public static String ID_KEY(Code)



ID_SCREEN_BOUNDS
final public static String ID_SCREEN_BOUNDS(Code)
A hint to the WindowingModule regarding the area of the screen this JUMPApplication requires. The value should be in the syntax of "x,y-wxh", for example "0,50-640x430".



TITLE_KEY
final public static String TITLE_KEY(Code)



props
protected Properties props(Code)




Constructor Detail
JUMPApplication
public JUMPApplication(String title, URL iconPath, JUMPAppModel type, int id)(Code)
Create an instance of an application.
Parameters:
  title - The application's title, can be null
Parameters:
  iconPath - The location of the application's icon in, can be null
Parameters:
  type - The application's type
Parameters:
  id - The installation id of the application




Method Detail
addProperty
public void addProperty(String key, String value)(Code)
Add a key/value pair to the application's list of properties.
Parameters:
  key - - A key value.
Parameters:
  value - - An object be associated with the key.
throws:
  NullPointerException - - If either key or value isnull.



equals
public boolean equals(Object obj)(Code)
Returns true if two JUMPApplications' APPMODEL_KEY and ID_KEY properties hold the same value.



fromByteArray
public static JUMPApplication fromByteArray(byte[] propBytes)(Code)
Create a JUMPApplication from its binary representation



getAppType
public JUMPAppModel getAppType()(Code)
Determine the type of this application. One of JUMPApplication's defined application types,as defined in JUMPAppModel.



getContentType
public String getContentType()(Code)



getIconPath
public URL getIconPath()(Code)
Get the path to the application's icon. A URL defining the path to the icon inthe downloaded content.



getId
public int getId()(Code)
Obtain the installed application id for this object. The installed application id.



getProperty
public String getProperty(String key)(Code)
Get a key/value pair to the application's list of properties.
Parameters:
  key - - A key to search the properties for.
throws:
  NullPointerException - - If key isnull.



getPropertyNames
public Enumeration getPropertyNames()(Code)
Returns the names of this JUMPApplication's property entries as an Enumeration of String objects, or an empty Enumeration if the JUMPApplication have no properties associated.



getTitle
public String getTitle()(Code)
Get the application's title. The application's title.



hashCode
public int hashCode()(Code)
Returns the value of ID_KEY property.



setIconPath
public void setIconPath(URL path)(Code)
Set the path to the application's icon.



setId
public void setId(String id)(Code)
Set the installed application id for this object.
Parameters:
  id - The installed application id.



setTitle
public void setTitle(String title)(Code)
Set the application's title.



toByteArray
public byte[] toByteArray()(Code)
Create a binary representation of this JUMPApplication object



toString
public String toString()(Code)



Methods inherited from java.lang.Object
public boolean equals(Object obj)(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.