Java Doc for ComponentInternals.java in  » Apache-Harmony-Java-SE » org-package » org » apache » harmony » awt » 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 » Apache Harmony Java SE » org package » org.apache.harmony.awt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.harmony.awt.ComponentInternals

ComponentInternals
abstract public class ComponentInternals (Code)
The accessor to AWT private API




Method Summary
abstract public  voidaddObscuredRegions(MultiRectArea mra, Component c, Container container)
    
abstract public  WindowattachNativeWindow(long nativeWindowId)
    
abstract public  ChoicecreateCustomChoice(ChoiceStyle style)
    
abstract public  voidendModalLoop(Dialog dlg)
    
abstract public  voidendMouseGrab()
    
public static  ComponentInternalsgetComponentInternals()
    
abstract public  InsetsgetNativeInsets(Window w)
    
abstract public  NativeWindowgetNativeWindow(Component component)
     The accessor to native resource connected to a component.
abstract public  MultiRectAreagetObscuredRegion(Component c)
    
abstract public  MultiRectAreagetRepaintRegion(Component c)
     Region to be repainted (could be null).
abstract public  TextFieldKitgetTextFieldKit(Component comp)
    
abstract public  TextKitgetTextKit(Component comp)
    
abstract public  voidmakePopup(Window window)
     Set the popup flag of the window to true.
abstract public  voidonDrawImage(Component comp, Image image, Point destLocation, Dimension destSize, Rectangle source)
     This method must be called by Graphics at the beginning of drawImage() to store image drawing parameters (defined by application developer) in component
Parameters:
  comp - - component that draws the image
Parameters:
  image - - image to be drawn
Parameters:
  destLocation - - location of the image upon the component's surface.
abstract public  voidrunModalLoop(Dialog dlg)
    
abstract public  voidsetCaretPos(Component c, int x, int y)
     Sets system's caret position.
public static  voidsetComponentInternals(ComponentInternals internals)
    
abstract public  voidsetDesktopProperty(String name, Object value)
    
abstract public  voidsetMouseEventPreprocessor(MouseEventPreprocessor preprocessor)
    
abstract public  voidsetTextFieldKit(Component comp, TextFieldKit kit)
    
abstract public  voidsetTextKit(Component comp, TextKit kit)
    
abstract public  voidsetVisibleFlag(Component comp, boolean visible)
    
abstract public  voidshutdown()
     Terminate event dispatch thread, completely destroy AWT context.
Intended for multi-context mode, in single-context mode does nothing.
abstract public  voidstartMouseGrab(Window grabWindow, Runnable whenCanceled)
     Start mouse grab in "client" mode. All mouse events in AWT components will be reported as usual, mouse events that occured outside of AWT components will be sent to the window passed as grabWindow parameter.
abstract public  MultiRectAreasubtractPendingRepaintRegion(Component c, MultiRectArea mra)
    
abstract public  voidunsafeInvokeAndWait(Runnable runnable)
     NEVER USE IT.
abstract public  booleanwasPainted(Window w)
    



Method Detail
addObscuredRegions
abstract public void addObscuredRegions(MultiRectArea mra, Component c, Container container)(Code)
An accessor to Container.addObscuredRegions() method
See Also:   java.awt.Container.addObscuredRegions(MultiRectAreaComponent)



attachNativeWindow
abstract public Window attachNativeWindow(long nativeWindowId)(Code)
Connect Window object to existing native resource
Parameters:
  nativeWindowId - - id of native window to attach Window object with special behaviour thatrestricts manupulation with that window



createCustomChoice
abstract public Choice createCustomChoice(ChoiceStyle style)(Code)
Create customized Choice using style



endModalLoop
abstract public void endModalLoop(Dialog dlg)(Code)



endMouseGrab
abstract public void endMouseGrab()(Code)
End mouse grab and resume normal processing of mouse events



getComponentInternals
public static ComponentInternals getComponentInternals()(Code)
the ComponentInternals instance to serve the requests



getNativeInsets
abstract public Insets getNativeInsets(Window w)(Code)



getNativeWindow
abstract public NativeWindow getNativeWindow(Component component)(Code)
The accessor to native resource connected to a component. It returns non-null value only if component already has the native resource



getObscuredRegion
abstract public MultiRectArea getObscuredRegion(Component c)(Code)
The component's region hidden behind top-level windows (belonging to both this Java app and all other apps), and behind heavyweight components overlapping with passed component



getRepaintRegion
abstract public MultiRectArea getRepaintRegion(Component c)(Code)
Region to be repainted (could be null). Use this in overridden repaint()



getTextFieldKit
abstract public TextFieldKit getTextFieldKit(Component comp)(Code)



getTextKit
abstract public TextKit getTextKit(Component comp)(Code)



makePopup
abstract public void makePopup(Window window)(Code)
Set the popup flag of the window to true. This window won't be controlled by window manager on Linux. Call this method before the window is shown first time
Parameters:
  window - - the window that should become popup one



onDrawImage
abstract public void onDrawImage(Component comp, Image image, Point destLocation, Dimension destSize, Rectangle source)(Code)
This method must be called by Graphics at the beginning of drawImage() to store image drawing parameters (defined by application developer) in component
Parameters:
  comp - - component that draws the image
Parameters:
  image - - image to be drawn
Parameters:
  destLocation - - location of the image upon the component's surface. Never null.
Parameters:
  destSize - - size of the component's area to be filled with the image.Equals to null if size parameters omitted in drawImage.
Parameters:
  source - - area of the image to be drawn on the component.Equals to null if src parameters omitted in drawImage.



runModalLoop
abstract public void runModalLoop(Dialog dlg)(Code)
Makes it possible to start/stop dialog modal loop from anywhere outside of java.awt package



setCaretPos
abstract public void setCaretPos(Component c, int x, int y)(Code)
Sets system's caret position. This method should be called by text component to synchronize our caret position with system's caret position.
Parameters:
  x -
Parameters:
  y -



setComponentInternals
public static void setComponentInternals(ComponentInternals internals)(Code)
This method must be called by AWT to establish the connection
Parameters:
  internals - - implementation of ComponentInternals created by AWT



setDesktopProperty
abstract public void setDesktopProperty(String name, Object value)(Code)
Makes it possible to call protected Toolkit.setDesktopProperty() method from any class outside of java.awt package



setMouseEventPreprocessor
abstract public void setMouseEventPreprocessor(MouseEventPreprocessor preprocessor)(Code)
Sets mouse events preprocessor for event queue



setTextFieldKit
abstract public void setTextFieldKit(Component comp, TextFieldKit kit)(Code)



setTextKit
abstract public void setTextKit(Component comp, TextKit kit)(Code)



setVisibleFlag
abstract public void setVisibleFlag(Component comp, boolean visible)(Code)
Sets component's visible flag only (the component is not actually shown/hidden)



shutdown
abstract public void shutdown()(Code)
Terminate event dispatch thread, completely destroy AWT context.
Intended for multi-context mode, in single-context mode does nothing.



startMouseGrab
abstract public void startMouseGrab(Window grabWindow, Runnable whenCanceled)(Code)
Start mouse grab in "client" mode. All mouse events in AWT components will be reported as usual, mouse events that occured outside of AWT components will be sent to the window passed as grabWindow parameter. When mouse grab is canceled (because of click in non-AWT window or by task switching) the whenCanceled callback is called
Parameters:
  grabWindow - - window that will own the grab
Parameters:
  whenCanceled - - callback called when grab is canceled by user's action



subtractPendingRepaintRegion
abstract public MultiRectArea subtractPendingRepaintRegion(Component c, MultiRectArea mra)(Code)



unsafeInvokeAndWait
abstract public void unsafeInvokeAndWait(Runnable runnable) throws InterruptedException, InvocationTargetException(Code)
NEVER USE IT. FORGET IT. IT DOES NOT EXIST. See Toolkit.unsafeInvokeAndWait(Runnable). Accessor for Toolkit.unsafeInvokeAndWait(Runnable) method. For use in exceptional cases only. Read comments for Toolkit.unsafeInvokeAndWait(Runnable) before use.



wasPainted
abstract public boolean wasPainted(Window w)(Code)
Returns true if the window was at least once painted due to native paint events



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(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.