|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.DockController
bibliothek.gui.dock.security.SecureDockController
public class SecureDockController
The DockingFrames normally uses some system-resources to handle global events.
However, there are some environments where system-resources are not available
due to a SecurityManager (for example in an Applet). The Secure-X-classes
are designed to work in such an environment. They are not as efficient as
the normal classes, and there may be some settings where they have a
weird behaviour.
Setting up the secure environment is easy: just use a SecureXZY where normally
a XYZ would be. Additionally clients must pack all stations into one or
more GlassedPanes
. These panes must then be added to
the SecureMouseFocusObserver
of this SecureDockController.
Note that SecureFlapDockStation
and SecureScreenDockStation
will add a GlassedPane
to their windows and dialogs automatically.
Constructor Summary | |
---|---|
SecureDockController()
Creates a new controller |
|
SecureDockController(SecureDockControllerFactory factory)
Creates a new controller, but does not initiate the properties if factory is null . |
Method Summary | |
---|---|
SecureMouseFocusObserver |
getFocusObserver()
Gets the current focus-controller |
SecureKeyboardController |
getKeyboardController()
Gets the manager that handles all global KeyEvents. |
static boolean |
isRequested()
Deprecated. uses a proprietary implementation, currently no replacement available |
GlassedPane |
wrap(Component component)
Wraps component into a GlassedPane and registers
the GlassedPane . |
GlassedPane |
wrap(JComponent component)
Wraps component into a GlassedPane and registers
the GlassedPane . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecureDockController()
public SecureDockController(SecureDockControllerFactory factory)
factory
is null
.
factory
- the factory that will create the elements of this controllerMethod Detail |
---|
@Deprecated public static boolean isRequested()
SecureDockController
is preferred over a
DockController
or not. The result is determined by
a call to the SecurityManager.
true
if a SecureDockController
should be
used.public SecureMouseFocusObserver getFocusObserver()
DockController
getFocusObserver
in class DockController
public SecureKeyboardController getKeyboardController()
DockController
getKeyboardController
in class DockController
public GlassedPane wrap(Component component)
component
into a GlassedPane
and registers
the GlassedPane
.
component
- the component to envelope
component
public GlassedPane wrap(JComponent component)
component
into a GlassedPane
and registers
the GlassedPane
.
component
- the component to envelope
component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |