bibliothek.gui.dock.security
Class SecureDockController

java.lang.Object
  extended by bibliothek.gui.DockController
      extended by bibliothek.gui.dock.security.SecureDockController

Deprecated. this class is no longer necessary, DockController can now handle restricted environments as well. See DockController.setRestrictedEnvironment(boolean). This class will be removed in a future release

@Deprecated
@Todo(compatibility=BREAK_MAJOR,
      priority=MAJOR,
      target=VERSION_1_1_1,
      description="remove this class, no replacement required")
public class SecureDockController
extends DockController

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.

Author:
Benjamin Sigg

Field Summary
 
Fields inherited from class bibliothek.gui.DockController
RESTRICTED_ENVIRONMENT
 
Constructor Summary
SecureDockController()
          Deprecated. Creates a new controller
SecureDockController(SecureDockControllerFactory factory)
          Deprecated. Creates a new controller, but does not initiate the properties if factory is null.
 
Method Summary
 
Methods inherited from class bibliothek.gui.DockController
add, addAcceptance, addActionGuard, addActionOffer, addDockableFocusListener, addDockableSelectionListener, addDockTitleBindingListener, addRepresentative, addRepresentativeListener, addUIListener, createDefaultTextScheme, dockableSelectionListeners, dockTitleBindingListeners, ensureFocusSet, findRootWindow, fireDockableSelected, fireTitleBound, fireTitleUnbound, freezeLayout, getAcceptance, getActionOffer, getActionViewConverter, getColors, getComponentHierarchyObserver, getDefaultActionOffer, getDockableSelector, getDockTitleManager, getDoubleClickController, getExtensions, getFocusController, getFocusedDockable, getFocusObserver, getFonts, getHierarchyLock, getIcons, getKeyboardController, getMouseFocusObserver, getPopupController, getPopupMenuFactory, getPopupSuppressor, getProperties, getRegister, getRelocator, getRootWindowProvider, getSingleParentRemover, getStation, getStationCount, getTexts, getTheme, getThemeManager, initiate, isBound, isFocused, isLayoutFrozen, isOnFocusing, isRestrictedEnvironment, kill, listOffers, meltLayout, remove, removeAcceptance, removeActionGuard, removeActionOffer, removeDockableFocusListener, removeDockableSelectionListener, removeDockTitleBindingListener, removeRepresentative, removeRepresentativeListener, removeUIListener, rootWindowChanged, searchElement, setAtLeastFocusedDockable, setDefaultActionOffer, setFocusedDockable, setFocusedDockable, setFocusedDockable, setPopupMenuFactory, setPopupSuppressor, setRestrictedEnvironment, setRootWindow, setRootWindowProvider, setSingleParentRemover, setTheme, updateUI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureDockController

public SecureDockController()
Deprecated. 
Creates a new controller


SecureDockController

public SecureDockController(SecureDockControllerFactory factory)
Deprecated. 
Creates a new controller, but does not initiate the properties if factory is null.

Parameters:
factory - the factory that will create the elements of this controller