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


java.lang.Object
   javax.microedition.lcdui.DisplayableLFImpl
      javax.microedition.lcdui.CanvasLFImpl

CanvasLFImpl
class CanvasLFImpl extends DisplayableLFImpl implements CanvasLF(Code)
Look and feel implementation of Canvas based on platform widget.


Field Summary
 Canvascanvas
     Canvas being stored in this object.

Constructor Summary
 CanvasLFImpl(Canvas canvas)
     LF implementation of Canvas.

Method Summary
 voidaddEmbeddedVideo(Object video)
     Add embedded video player.
 voidcreateNativeResource()
     Create and show native resource for this Canvas.
public  voidlRepaint(int x, int y, int width, int height, Object target)
     Notifies look & feel object that repaint of a (x, y, width, height) area is needed.
public  voidlRepaint()
     Notifies that repaint of the entire Canvas look&feel is needed.
 voidremoveEmbeddedVideo(Object video)
     Remove embedded video player.
public  voiduCallFreeze()
     Notify this Canvas that it is being frozen on the given Display.
public  voiduCallHide()
     Notify this Canvas that it is being hidden on the given Display.
 voiduCallKeyPressed(int keyCode)
     Handle a key press.
 voiduCallKeyReleased(int keyCode)
     Handle a key release.
 voiduCallKeyRepeated(int keyCode)
     Handle a repeated key press.
public  voiduCallPaint(Graphics g, Object target)
     Paint this Canvas.
 voiduCallPointerDragged(int x, int y)
     Handle a pointer drag event.
 voiduCallPointerPressed(int x, int y)
     Handle a pointer press event.
 voiduCallPointerReleased(int x, int y)
     Handle a pointer release event.
public  voiduCallShow()
     Notify this Canvas that it is being shown on the given Display.
public  voiduServiceRepaints()
     Request serviceRepaints from current Display.

Field Detail
canvas
Canvas canvas(Code)
Canvas being stored in this object.




Constructor Detail
CanvasLFImpl
CanvasLFImpl(Canvas canvas)(Code)
LF implementation of Canvas.
Parameters:
  canvas - the Canvas associated with this CanvasLFImpl




Method Detail
addEmbeddedVideo
void addEmbeddedVideo(Object video)(Code)
Add embedded video player. This is called by MMHelperImpl, whenever a video player joins this canvas.
Parameters:
  video - The player joining this canvas.



createNativeResource
void createNativeResource()(Code)
Create and show native resource for this Canvas.



lRepaint
public void lRepaint(int x, int y, int width, int height, Object target)(Code)
Notifies look & feel object that repaint of a (x, y, width, height) area is needed. SYNC NOTE: The caller of this method handles synchronization.
Parameters:
  x - The x coordinate of the region to repaint
Parameters:
  y - The y coordinate of the region to repaint
Parameters:
  width - The width of the region to repaint
Parameters:
  height - The height of the region to repaint
Parameters:
  target - an optional paint target to receive the paint requestwhen it returns via callPaint()



lRepaint
public void lRepaint()(Code)
Notifies that repaint of the entire Canvas look&feel is needed. Repaints the viewport area. SYNC NOTE: The caller of this method handles synchronization.



removeEmbeddedVideo
void removeEmbeddedVideo(Object video)(Code)
Remove embedded video player. This is called by MMHelperImpl, whenever a video player leaves this canvas.
Parameters:
  video - The player leaving this canvas.



uCallFreeze
public void uCallFreeze()(Code)
Notify this Canvas that it is being frozen on the given Display.



uCallHide
public void uCallHide()(Code)
Notify this Canvas that it is being hidden on the given Display.



uCallKeyPressed
void uCallKeyPressed(int keyCode)(Code)
Handle a key press.
Parameters:
  keyCode - The key that was pressed



uCallKeyReleased
void uCallKeyReleased(int keyCode)(Code)
Handle a key release.
Parameters:
  keyCode - The key that was released



uCallKeyRepeated
void uCallKeyRepeated(int keyCode)(Code)
Handle a repeated key press.
Parameters:
  keyCode - The key that was pressed



uCallPaint
public void uCallPaint(Graphics g, Object target)(Code)
Paint this Canvas.
Parameters:
  g - the Graphics to paint to
Parameters:
  target - the target Object of this repaint



uCallPointerDragged
void uCallPointerDragged(int x, int y)(Code)
Handle a pointer drag event.
Parameters:
  x - The x coordinate of the drag
Parameters:
  y - The y coordinate of the drag



uCallPointerPressed
void uCallPointerPressed(int x, int y)(Code)
Handle a pointer press event.
Parameters:
  x - The x coordinate of the press
Parameters:
  y - The y coordinate of the press



uCallPointerReleased
void uCallPointerReleased(int x, int y)(Code)
Handle a pointer release event.
Parameters:
  x - The x coordinate of the release
Parameters:
  y - The y coordinate of the release



uCallShow
public void uCallShow()(Code)
Notify this Canvas that it is being shown on the given Display.



uServiceRepaints
public void uServiceRepaints()(Code)
Request serviceRepaints from current Display. SYNC NOTE: Unlike most other LF methods, no locking is held when this function is called because Display.serviceRepaints() needs to handle its own locking.



Fields inherited from javax.microedition.lcdui.DisplayableLFImpl
final static int FROZEN(Code)(Java Doc)
final static int HEIGHT(Code)(Java Doc)
final static int HIDDEN(Code)(Java Doc)
final static int INVALID_NATIVE_ID(Code)(Java Doc)
final static int SHOWN(Code)(Java Doc)
final static int WIDTH(Code)(Java Doc)
final static int X(Code)(Java Doc)
final static int Y(Code)(Java Doc)
Display currentDisplay(Code)(Java Doc)
boolean defferedSizeChange(Code)(Java Doc)
int modelVersion(Code)(Java Doc)
int nativeId(Code)(Java Doc)
Displayable owner(Code)(Java Doc)
boolean pendingInvalidate(Code)(Java Doc)
boolean sawKeyPress(Code)(Java Doc)
boolean sawPointerPress(Code)(Java Doc)
int state(Code)(Java Doc)
int widthheight(Code)(Java Doc)

Methods inherited from javax.microedition.lcdui.DisplayableLFImpl
abstract void createNativeResource()(Code)(Java Doc)
void deleteNativeResource()(Code)(Java Doc)
public int getVerticalScrollPosition()(Code)(Java Doc)
public int getVerticalScrollProportion()(Code)(Java Doc)
public void lAddCommand(Command cmd, int i)(Code)(Java Doc)
void lCallHide()(Code)(Java Doc)
void lCallShow()(Code)(Java Doc)
public void lCommitPendingInteraction()(Code)(Java Doc)
public Display lGetCurrentDisplay()(Code)(Java Doc)
public Displayable lGetDisplayable()(Code)(Java Doc)
public int lGetHeight()(Code)(Java Doc)
public int lGetWidth()(Code)(Java Doc)
public boolean lIsShown()(Code)(Java Doc)
public void lRemoveCommand(Command cmd, int i)(Code)(Java Doc)
void lRequestInvalidate()(Code)(Java Doc)
void lRequestPaint(int x, int y, int width, int height, Object target)(Code)(Java Doc)
void lRequestPaint()(Code)(Java Doc)
void lRequestPaintContents()(Code)(Java Doc)
public void lSetDisplay(Display d)(Code)(Java Doc)
public void lSetTicker(Ticker oldTicker, Ticker newTicker)(Code)(Java Doc)
public void lSetTitle(String oldTitle, String newTitle)(Code)(Java Doc)
void tickerTextChanged(Ticker t)(Code)(Java Doc)
public void uCallFreeze()(Code)(Java Doc)
public void uCallHide()(Code)(Java Doc)
public void uCallInvalidate()(Code)(Java Doc)
public void uCallKeyEvent(int type, int keyCode)(Code)(Java Doc)
void uCallKeyPressed(int keyCode)(Code)(Java Doc)
void uCallKeyReleased(int keyCode)(Code)(Java Doc)
void uCallKeyRepeated(int keyCode)(Code)(Java Doc)
public void uCallPaint(Graphics g, Object target)(Code)(Java Doc)
void uCallPointerDragged(int x, int y)(Code)(Java Doc)
public void uCallPointerEvent(int type, int x, int y)(Code)(Java Doc)
void uCallPointerPressed(int x, int y)(Code)(Java Doc)
void uCallPointerReleased(int x, int y)(Code)(Java Doc)
public void uCallScrollContent(int scrollType, int thumbPosition)(Code)(Java Doc)
public void uCallShow()(Code)(Java Doc)
public void uCallSizeChanged(int w, int h)(Code)(Java Doc)
public int uGetKeyMask()(Code)(Java Doc)
public boolean uIsScrollNative()(Code)(Java Doc)
void uRequestPaint()(Code)(Java Doc)
public void uSetFullScreenMode(boolean mode)(Code)(Java Doc)
public boolean uSetRotatedStatus(boolean newStatus)(Code)(Java Doc)
public void updateCommandSet()(Code)(Java Doc)

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.