| |
|
| 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 |
VirtualWindowUI | public VirtualWindowUI(Window owner)(Code) | | Creates a disabled window with no parent.
|
dispose | public void dispose()(Code) | | |
getCoveredScreen | public Rectangle getCoveredScreen()(Code) | | Retrieve the size of the covered window.
|
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.
|
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. |
|
|
|