bibliothek.gui.dock.util
Class AppletWindowProvider
java.lang.Object
bibliothek.gui.dock.util.AbstractWindowProvider
bibliothek.gui.dock.util.ComponentWindowProvider
bibliothek.gui.dock.util.AppletWindowProvider
- All Implemented Interfaces:
- WindowProvider
public class AppletWindowProvider
- extends ComponentWindowProvider
A WindowProvider
designed to work with Applet
s. Clients
should call start()
and stop()
from the methods
Applet.start()
and Applet.stop()
.
- Author:
- Benjamin Sigg
Method Summary |
boolean |
isShowing()
Tells whether this window represents a window that is visible. |
void |
start()
Informs this provider that the applet started. |
void |
stop()
Informs this provider that the applet stopped. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppletWindowProvider
public AppletWindowProvider(Component component)
- Creates a new window provider
- Parameters:
component
- some component of the applet or the applet itself,
can be null
start
public void start()
- Informs this provider that the applet started.
stop
public void stop()
- Informs this provider that the applet stopped.
isShowing
public boolean isShowing()
- Description copied from interface:
WindowProvider
- Tells whether this window represents a window that is visible. Under
normal circumstances this method would return:
Window window = sarchWindow();
return window == null ? false : window.isShowing();
This method is explicitly allowed to return any value it likes. The result
of this method does not have to correspond with reality.
- Specified by:
isShowing
in interface WindowProvider
- Overrides:
isShowing
in class AbstractWindowProvider
- Returns:
- whether this providers window is visible or not