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


com.sun.midp.lcdui.DisplayEventConsumer

DisplayEventConsumer
public interface DisplayEventConsumer (Code)
This interface provides a set of methods to handle display-related events: user input, drawing, callbacks that are assosiated with displays. Implementor of this I/F shall be instance specific i.e. associated with a Display object instance (ex. Display.DisplayEventConsumerImpl class). Therefore it is assumed that target identification (displayId -> Display/DisplayAccess/DisplayEventConsumerImpl) is done before calling I/F methods in EventListener.




Method Summary
public  voidhandleCallSeriallyEvent()
     Called by event delivery to batch process all pending serial callbacks.
public  voidhandleCommandEvent(int cmdId)
     Called by event delivery when an abstract Command is fired. The parameter is an index into the list of Commands that are current, i.e.
public  voidhandleInputMethodEvent(String inputText)
     Called by event delivery when an input method event is processed.
public  voidhandleInvalidateEvent()
     Called by event delivery to process a Form invalidation.
public  voidhandleKeyEvent(int keyType, int keyCode)
     Called by event delivery when a key press,release or repeate event needs to be processed.
public  voidhandlePeerStateChangeEvent(int modelVersion, int itemPeerId, int hint)
     Called by event delivery to notify an ItemLF in current DisplayableLF of a change in its native peer state.
public  voidhandlePointerEvent(int pointerType, int x, int y)
     Called by event delivery when a pointer press,release or drag event needs to be processed.
Parameters:
  pointerType - pointer press, release or dragis one of EventConstants.PRESSED, EventConstants.RELEASED,or EventConstants.DRAGGED.
public  voidhandleRepaintEvent(int x1, int y1, int x2, int y2, Object target)
     Called by event delivery when a repaint should occur.
public  voidhandleRotationEvent()
    
public  voidhandleScreenChangeEvent(Displayable screen)
     Called by event delivery when a screen change needs to occur.
public  voidhandleScreenRepaintEvent()
    



Method Detail
handleCallSeriallyEvent
public void handleCallSeriallyEvent()(Code)
Called by event delivery to batch process all pending serial callbacks.



handleCommandEvent
public void handleCommandEvent(int cmdId)(Code)
Called by event delivery when an abstract Command is fired. The parameter is an index into the list of Commands that are current, i.e. those associated with the visible Screen. TBD: param screenId Id of the command target (Displayable)
Parameters:
  cmdId - command Id



handleInputMethodEvent
public void handleInputMethodEvent(String inputText)(Code)
Called by event delivery when an input method event is processed.
Parameters:
  inputText - string to process



handleInvalidateEvent
public void handleInvalidateEvent()(Code)
Called by event delivery to process a Form invalidation.



handleKeyEvent
public void handleKeyEvent(int keyType, int keyCode)(Code)
Called by event delivery when a key press,release or repeate event needs to be processed.
Parameters:
  keyType - key press, release or repeateis one of EventConstants.PRESSED, EventConstants.RELEASED,EventConstants.REPEATED.
Parameters:
  keyCode - key code to process



handlePeerStateChangeEvent
public void handlePeerStateChangeEvent(int modelVersion, int itemPeerId, int hint)(Code)
Called by event delivery to notify an ItemLF in current DisplayableLF of a change in its native peer state.
Parameters:
  modelVersion - the version of the peer's data model
Parameters:
  itemPeerId - the id of the ItemLF's peer whose state has changed
Parameters:
  hint - some value that is interpreted only between the peers



handlePointerEvent
public void handlePointerEvent(int pointerType, int x, int y)(Code)
Called by event delivery when a pointer press,release or drag event needs to be processed.
Parameters:
  pointerType - pointer press, release or dragis one of EventConstants.PRESSED, EventConstants.RELEASED,or EventConstants.DRAGGED.
Parameters:
  x - x-coordinate of the pointer event
Parameters:
  y - y-coordinate of the pointer event



handleRepaintEvent
public void handleRepaintEvent(int x1, int y1, int x2, int y2, Object target)(Code)
Called by event delivery when a repaint should occur.
Parameters:
  x1 - The origin x coordinate of the repaint region
Parameters:
  y1 - The origin y coordinate of the repaint region
Parameters:
  x2 - The bounding x coordinate of the repaint region
Parameters:
  y2 - The bounding y coordinate of the repaint region
Parameters:
  target - The optional paint target



handleRotationEvent
public void handleRotationEvent()(Code)



handleScreenChangeEvent
public void handleScreenChangeEvent(Displayable screen)(Code)
Called by event delivery when a screen change needs to occur.
Parameters:
  screen - The Displayable to make current in the Display



handleScreenRepaintEvent
public void handleScreenRepaintEvent()(Code)



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