bibliothek.gui.dock.security
Class SecureMouseFocusObserver

java.lang.Object
  extended by bibliothek.gui.dock.control.focus.AbstractMouseFocusObserver
      extended by bibliothek.gui.dock.control.DefaultMouseFocusObserver
          extended by bibliothek.gui.dock.security.SecureMouseFocusObserver
All Implemented Interfaces:
MouseFocusObserver, DockRelocatorListener

Deprecated. this class is no longer necessary, a DefaultMouseFocusObserver can already do everything this class does. Please do no longer use this class, it will be removed in a future release. Have a look at DockController.setRestrictedEnvironment(boolean).

@Deprecated
@Todo(compatibility=BREAK_MINOR,
      priority=MAJOR,
      target=VERSION_1_1_1,
      description="remove this class without replacement")
public class SecureMouseFocusObserver
extends DefaultMouseFocusObserver

A VisibilityFocusObserver which relies on GlassedPanes.

Author:
Benjamin Sigg

Constructor Summary
SecureMouseFocusObserver(DockController controller, ControllerSetupCollection setup)
          Deprecated. Creates a new FocusController for controller.
 
Method Summary
 void addGlassPane(GlassedPane pane)
          Deprecated. Registers a new GlassPane.
 void check(java.awt.AWTEvent event)
          Deprecated. Lets check this controller whether the focus should change, or not.
 void removeGlassPane(GlassedPane pane)
          Deprecated. Unregisters a previously added GlassPane.
 
Methods inherited from class bibliothek.gui.dock.control.DefaultMouseFocusObserver
createListener, kill
 
Methods inherited from class bibliothek.gui.dock.control.focus.AbstractMouseFocusObserver
cancel, check, check, check, check, drag, drop, getController, getDockable, handleVeto, init, interact
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureMouseFocusObserver

public SecureMouseFocusObserver(DockController controller,
                                ControllerSetupCollection setup)
Deprecated. 
Creates a new FocusController for controller.

Parameters:
controller - the owner of this FocusController
setup - an observable informing this object when controller is set up.
Method Detail

check

public void check(java.awt.AWTEvent event)
Deprecated. 
Description copied from class: AbstractMouseFocusObserver
Lets check this controller whether the focus should change, or not. Clients invoking this method should first check whether event is allowed to change the focus or not. This check can be done through the method AbstractMouseFocusObserver.interact(AWTEvent).

Overrides:
check in class AbstractMouseFocusObserver
Parameters:
event - The event to react on.
See Also:
AbstractMouseFocusObserver.interact(AWTEvent)

addGlassPane

public void addGlassPane(GlassedPane pane)
Deprecated. 
Registers a new GlassPane.

Parameters:
pane - the new pane

removeGlassPane

public void removeGlassPane(GlassedPane pane)
Deprecated. 
Unregisters a previously added GlassPane.

Parameters:
pane - the pane to remove