Java Doc for MIDletControllerEventConsumer.java in  » 6.0-JDK-Modules » j2me » com » sun » midp » main » 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.midp.main 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.midp.main.MIDletControllerEventConsumer

All known Subclasses:   com.sun.midp.main.TestMIDletControllerEventProducer,  com.sun.midp.main.MIDletProxyList,
MIDletControllerEventConsumer
public interface MIDletControllerEventConsumer (Code)
This interface is to be implemnted by an event processing target for MIDlet events on MIDlet controller (i.e. AMS) side. EventListener for these events must find appropriate instance of this I/F implementor and call its methods. TBD: although Consumer I/F is intended to be instance specific, the implementor of this one shall be assosiated with a MIDletProxyList, which is a single static object that exists only in AMS isolate ... However, I/F implementor shall NOT assume that it is a static singleton object ... TBD: method and parameter lists of the I/F is preliminary and is a subject for changes. TBD: it makes sence replace some handlerXXXEvent method parameters (isolateId, displayId) by MIdletProxy object that is able to provide all needed information to process event.




Method Summary
public  voidhandleActivateAllEvent()
    
public  voidhandleDestroyAllEvent()
    
public  voidhandleDisplayBackgroundRequestEvent(int midletIsolateId, int midletDisplayId)
    
public  voidhandleDisplayCreateNotifyEvent(int midletIsolateId, int midletDisplayId, String midletClassName)
    
public  voidhandleDisplayForegroundRequestEvent(int midletIsolateId, int midletDisplayId, boolean isAlert)
    
public  voidhandleDisplayPreemptStartEvent(int midletIsolateId, int midletDisplayId)
    
public  voidhandleDisplayPreemptStopEvent(int midletIsolateId, int midletDisplayId)
    
public  voidhandleFatalErrorNotifyEvent(int midletIsolateId, int midletDisplayId)
    
public  voidhandleMIDletActiveNotifyEvent(int midletSuiteId, String midletClassName)
    
public  voidhandleMIDletCreateNotifyEvent(int midletSuiteId, String midletClassName, int midletIsolateId, int midletExternalAppId, String midletDisplayName)
    
public  voidhandleMIDletDestroyNotifyEvent(int midletSuiteId, String midletClassName)
    
public  voidhandleMIDletDestroyRequestEvent(int midletIsolateId, int midletDisplayId)
    
public  voidhandleMIDletForegroundSelectEvent(int onlyFromLaunched)
    
public  voidhandleMIDletForegroundTransferEvent(int originMIDletSuiteId, String originMIDletClassName, int targetMIDletSuiteId, String targetMIDletClassName)
    
public  voidhandleMIDletPauseNotifyEvent(int midletSuiteId, String midletClassName)
    
public  voidhandleMIDletResumeRequestEvent(int midletSuiteId, String midletClassName)
     Processes a MIDLET_RESUME_REQUEST event.
public  voidhandleMIDletRsPauseNotifyEvent(int midletSuiteId, String midletClassName)
    
public  voidhandleMIDletStartErrorEvent(int midletSuiteId, String midletClassName, int midletExternalAppId, int errorCode, String errorDetails)
    
public  voidhandlePauseAllEvent()
    
public  voidhandleSetForegroundByNameRequestEvent(int suiteId, String className)
    



Method Detail
handleActivateAllEvent
public void handleActivateAllEvent()(Code)
Processes ACTIVATE_ALL_EVENT



handleDestroyAllEvent
public void handleDestroyAllEvent()(Code)
Processes SHUTDOWN_ALL_EVENT



handleDisplayBackgroundRequestEvent
public void handleDisplayBackgroundRequestEvent(int midletIsolateId, int midletDisplayId)(Code)
Processes BACKGROUND_REQUEST event TBD: param midletProxy proxy with information about MIDlet
Parameters:
  midletIsolateId - isolate ID of the sending Display
Parameters:
  midletDisplayId - ID of the sending Display



handleDisplayCreateNotifyEvent
public void handleDisplayCreateNotifyEvent(int midletIsolateId, int midletDisplayId, String midletClassName)(Code)
Processes DISPLAY_CREATED_NOTIFICATION event, parameters - set the display id of a MIDletProxy object instance
Parameters:
  midletIsolateId - isolate ID of the sending Display
Parameters:
  midletDisplayId - ID of the sending Display
Parameters:
  midletClassName - Class name of the MIDlet



handleDisplayForegroundRequestEvent
public void handleDisplayForegroundRequestEvent(int midletIsolateId, int midletDisplayId, boolean isAlert)(Code)
Processes FOREGROUND_REQUEST event TBD: param midletProxy proxy with information about MIDlet
Parameters:
  midletIsolateId - isolate ID of the sending Display
Parameters:
  midletDisplayId - ID of the sending Display
Parameters:
  isAlert - true if the current displayable is an Alert



handleDisplayPreemptStartEvent
public void handleDisplayPreemptStartEvent(int midletIsolateId, int midletDisplayId)(Code)
Processes PREEMPT_EVENT(true), parameters - to create MIDletProxy object instance
Parameters:
  midletIsolateId - isolate ID of the sending Display
Parameters:
  midletDisplayId - ID of the sending Display



handleDisplayPreemptStopEvent
public void handleDisplayPreemptStopEvent(int midletIsolateId, int midletDisplayId)(Code)
Processes PREEMPT_EVENT(false),
Parameters:
  midletIsolateId - isolate ID of the sending Display
Parameters:
  midletDisplayId - ID of the sending Display



handleFatalErrorNotifyEvent
public void handleFatalErrorNotifyEvent(int midletIsolateId, int midletDisplayId)(Code)
Processes FATAL_ERROR_NOTIFICATION event
Parameters:
  midletIsolateId - isolate ID of the sending isolate
Parameters:
  midletDisplayId - ID of the sending Display



handleMIDletActiveNotifyEvent
public void handleMIDletActiveNotifyEvent(int midletSuiteId, String midletClassName)(Code)
Processes MIDLET_ACTIVE_NOTIFICATION event TBD: param midletProxy proxy with information about MIDlet
Parameters:
  midletSuiteId - ID of the MIDlet suite
Parameters:
  midletClassName - Class name of the MIDlet



handleMIDletCreateNotifyEvent
public void handleMIDletCreateNotifyEvent(int midletSuiteId, String midletClassName, int midletIsolateId, int midletExternalAppId, String midletDisplayName)(Code)
Processes MIDLET_CREATED_NOTIFICATION event, parameters - to create MIDletProxy object instance
Parameters:
  midletSuiteId - ID of the MIDlet suite
Parameters:
  midletClassName - Class name of the MIDlet
Parameters:
  midletIsolateId - isolate ID of the sending MIDlet
Parameters:
  midletExternalAppId - ID of given by an external applicationmanager
Parameters:
  midletDisplayName - name to show the user



handleMIDletDestroyNotifyEvent
public void handleMIDletDestroyNotifyEvent(int midletSuiteId, String midletClassName)(Code)
Processes MIDLET_DESTROYED_NOTIFICATION event TBD: param midletProxy proxy with information about MIDlet
Parameters:
  midletSuiteId - ID of the MIDlet suite
Parameters:
  midletClassName - Class name of the MIDlet



handleMIDletDestroyRequestEvent
public void handleMIDletDestroyRequestEvent(int midletIsolateId, int midletDisplayId)(Code)
Processes MIDLET_DESTROY_REQUEST event TBD: param midletProxy proxy with information about MIDlet
Parameters:
  midletIsolateId - isolate ID of the sending Display
Parameters:
  midletDisplayId - ID of the sending Display



handleMIDletForegroundSelectEvent
public void handleMIDletForegroundSelectEvent(int onlyFromLaunched)(Code)
Processes SELECT_FOREGROUND event



handleMIDletForegroundTransferEvent
public void handleMIDletForegroundTransferEvent(int originMIDletSuiteId, String originMIDletClassName, int targetMIDletSuiteId, String targetMIDletClassName)(Code)
Processes FOREGROUND_TRANSFER event
Parameters:
  originMIDletSuiteId - ID of MIDlet from whichto take forefround ownership away,
Parameters:
  originMIDletClassName - Name of MIDlet from whichto take forefround ownership away
Parameters:
  targetMIDletSuiteId - ID of MIDletto give forefround ownership to,
Parameters:
  targetMIDletClassName - Name of MIDletto give forefround ownership to



handleMIDletPauseNotifyEvent
public void handleMIDletPauseNotifyEvent(int midletSuiteId, String midletClassName)(Code)
Processes MIDLET_PAUSED_NOTIFICATION event TBD: param midletProxy proxy with information about MIDlet
Parameters:
  midletSuiteId - ID of the MIDlet suite
Parameters:
  midletClassName - Class name of the MIDlet



handleMIDletResumeRequestEvent
public void handleMIDletResumeRequestEvent(int midletSuiteId, String midletClassName)(Code)
Processes a MIDLET_RESUME_REQUEST event. TBD: param midletProxy proxy with information about MIDlet
Parameters:
  midletSuiteId - ID of the MIDlet suite
Parameters:
  midletClassName - Class name of the MIDlet



handleMIDletRsPauseNotifyEvent
public void handleMIDletRsPauseNotifyEvent(int midletSuiteId, String midletClassName)(Code)
Processes MIDLET_RS_PAUSED_NOTIFICATION event TBD: param midletProxy proxy with information about MIDlet
Parameters:
  midletSuiteId - ID of the MIDlet suite
Parameters:
  midletClassName - Class name of the MIDlet



handleMIDletStartErrorEvent
public void handleMIDletStartErrorEvent(int midletSuiteId, String midletClassName, int midletExternalAppId, int errorCode, String errorDetails)(Code)
Processes MIDLET_START_ERROR event
Parameters:
  midletSuiteId - ID of the MIDlet suite
Parameters:
  midletClassName - Class name of the MIDlet
Parameters:
  midletExternalAppId - ID of given by an external applicationmanager
Parameters:
  errorCode - start error code
Parameters:
  errorDetails - start error details



handlePauseAllEvent
public void handlePauseAllEvent()(Code)
Processes PAUSE_ALL_EVENT



handleSetForegroundByNameRequestEvent
public void handleSetForegroundByNameRequestEvent(int suiteId, String className)(Code)
Processes SET_FOREGROUND_BY_NAME_REQUEST
Parameters:
  suiteId - MIDlet's suite ID
Parameters:
  className - MIDlet's class name



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