Java Doc for VirtualWindowUI.java in  » Test-Coverage » GroboUtils » net » sourceforge » groboutils » uicapture » v1 » 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 » Test Coverage » GroboUtils » net.sourceforge.groboutils.uicapture.v1 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.awt.Window
   net.sourceforge.groboutils.uicapture.v1.VirtualWindowUI

VirtualWindowUI
public class VirtualWindowUI extends Window implements Runnable,FocusListener(Code)
This UI part of the VirtualWindow framework is in charge of intercepting all Window events related to drawing, in order to keep the invisible facade.

There is a problem with the transparency right now. I'm investigating a solution. The final (and unwanted) solution is to capture the background behind the Window, and display that on VirtualWindowUI.paint(Graphics) calls.

WARNING: if the screen size is to resize, then this will not work correctly.
author:
   Matt Albrecht groboclown@users.sourceforge.net
since:
   Jan 4, 2002
version:
   Mar 13, 2002




Constructor Summary
public  VirtualWindowUI(Window owner)
     Creates a disabled window with no parent.

Method Summary
public  voiddispose()
    
protected  voidfinalize()
    
public  voidfocusGained(FocusEvent fe)
    
public  voidfocusLost(FocusEvent fe)
    
public  RectanglegetCoveredScreen()
     Retrieve the size of the covered window.
public  voidhide()
    
public  booleanisGlassEnabled()
     Retrieves the current glass enabled state.
public  voidmaximize()
     Enlarge the window to the size of the screen.
public  voidpaint(Graphics g)
    
public  voidrun()
     Thread runner to keep the window in the front.
public  voidsetBackground(Image img)
     Update the background image.
public  voidsetGlassEnabled(boolean on)
     Sets the inner state for displaying the glass pane.
public  voidshow()
    
public  voidupdate(Graphics g)
    


Constructor Detail
VirtualWindowUI
public VirtualWindowUI(Window owner)(Code)
Creates a disabled window with no parent.




Method Detail
dispose
public void dispose()(Code)



finalize
protected void finalize() throws Throwable(Code)

exception:
  Throwable - thrown if the super throws anything.



focusGained
public void focusGained(FocusEvent fe)(Code)



focusLost
public void focusLost(FocusEvent fe)(Code)



getCoveredScreen
public Rectangle getCoveredScreen()(Code)
Retrieve the size of the covered window.



hide
public void hide()(Code)



isGlassEnabled
public boolean isGlassEnabled()(Code)
Retrieves the current glass enabled state. true if the glass pane is enabled (active andintercepting events), or false if is disabled.



maximize
public void maximize()(Code)
Enlarge the window to the size of the screen.



paint
public void paint(Graphics g)(Code)



run
public void run()(Code)
Thread runner to keep the window in the front.



setBackground
public void setBackground(Image img)(Code)
Update the background image. This may set the background to null.



setGlassEnabled
public void setGlassEnabled(boolean on)(Code)
Sets the inner state for displaying the glass pane. If the pane is enabled, then the glass pane will attempt to maximize itself and keep itself on the foreground at all costs.

This should be the only method where the inner enableGlass field is manipulated. Any inner testing against this variable needs to be synchronized.
Parameters:
  on - true if the glass pane is enabled (active andintercepting events), or false if is disabled.




show
public void show()(Code)



update
public void update(Graphics g)(Code)



Methods inherited from java.awt.Window
public void addNotify()(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void addWindowFocusListener(WindowFocusListener l)(Code)(Java Doc)
public synchronized void addWindowListener(WindowListener l)(Code)(Java Doc)
public synchronized void addWindowStateListener(WindowStateListener l)(Code)(Java Doc)
public void applyResourceBundle(ResourceBundle rb)(Code)(Java Doc)
public void applyResourceBundle(String rbName)(Code)(Java Doc)
public void createBufferStrategy(int numBuffers)(Code)(Java Doc)
public void createBufferStrategy(int numBuffers, BufferCapabilities caps) throws AWTException(Code)(Java Doc)
public void dispose()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public BufferStrategy getBufferStrategy()(Code)(Java Doc)
final public Container getFocusCycleRootAncestor()(Code)(Java Doc)
public Component getFocusOwner()(Code)(Java Doc)
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc)
public boolean getFocusableWindowState()(Code)(Java Doc)
public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc)
public java.util.List<Image> getIconImages()(Code)(Java Doc)
public InputContext getInputContext()(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Dialog.ModalExclusionType getModalExclusionType()(Code)(Java Doc)
public Component getMostRecentFocusOwner()(Code)(Java Doc)
public Window[] getOwnedWindows()(Code)(Java Doc)
public Window getOwner()(Code)(Java Doc)
public static Window[] getOwnerlessWindows()(Code)(Java Doc)
public Toolkit getToolkit()(Code)(Java Doc)
final public String getWarningString()(Code)(Java Doc)
public synchronized WindowFocusListener[] getWindowFocusListeners()(Code)(Java Doc)
public synchronized WindowListener[] getWindowListeners()(Code)(Java Doc)
public synchronized WindowStateListener[] getWindowStateListeners()(Code)(Java Doc)
public static Window[] getWindows()(Code)(Java Doc)
public void hide()(Code)(Java Doc)
public boolean isActive()(Code)(Java Doc)
final public boolean isAlwaysOnTop()(Code)(Java Doc)
public boolean isAlwaysOnTopSupported()(Code)(Java Doc)
public boolean isAutoRequestFocus()(Code)(Java Doc)
final public boolean isFocusCycleRoot()(Code)(Java Doc)
final public boolean isFocusableWindow()(Code)(Java Doc)
public boolean isFocused()(Code)(Java Doc)
public boolean isLocationByPlatform()(Code)(Java Doc)
public boolean isShowing()(Code)(Java Doc)
public void pack()(Code)(Java Doc)
public boolean postEvent(Event e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
protected void processWindowEvent(WindowEvent e)(Code)(Java Doc)
protected void processWindowFocusEvent(WindowEvent e)(Code)(Java Doc)
protected void processWindowStateEvent(WindowEvent e)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public synchronized void removeWindowFocusListener(WindowFocusListener l)(Code)(Java Doc)
public synchronized void removeWindowListener(WindowListener l)(Code)(Java Doc)
public synchronized void removeWindowStateListener(WindowStateListener l)(Code)(Java Doc)
public void reshape(int x, int y, int width, int height)(Code)(Java Doc)
final public void setAlwaysOnTop(boolean alwaysOnTop) throws SecurityException(Code)(Java Doc)
public void setAutoRequestFocus(boolean autoRequestFocus)(Code)(Java Doc)
public void setBounds(int x, int y, int width, int height)(Code)(Java Doc)
public void setBounds(Rectangle r)(Code)(Java Doc)
public void setCursor(Cursor cursor)(Code)(Java Doc)
final public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc)
public void setFocusableWindowState(boolean focusableWindowState)(Code)(Java Doc)
public void setIconImage(Image image)(Code)(Java Doc)
public synchronized void setIconImages(java.util.List<? extends Image> icons)(Code)(Java Doc)
public void setLocationByPlatform(boolean locationByPlatform)(Code)(Java Doc)
public void setLocationRelativeTo(Component c)(Code)(Java Doc)
public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc)
public void setModalExclusionType(Dialog.ModalExclusionType exclusionType)(Code)(Java Doc)
public void setSize(Dimension d)(Code)(Java Doc)
public void setSize(int width, int height)(Code)(Java Doc)
public void setVisible(boolean b)(Code)(Java Doc)
public void show()(Code)(Java Doc)
public void toBack()(Code)(Java Doc)
public void toFront()(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.