|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.control.focus.AbstractMouseFocusObserver bibliothek.gui.dock.control.DefaultMouseFocusObserver bibliothek.gui.dock.security.SecureMouseFocusObserver
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
A VisibilityFocusObserver
which relies on GlassedPanes
.
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 |
---|
public SecureMouseFocusObserver(DockController controller, ControllerSetupCollection setup)
controller
.
controller
- the owner of this FocusControllersetup
- an observable informing this object when controller
is set up.Method Detail |
---|
public void check(java.awt.AWTEvent event)
AbstractMouseFocusObserver
event
is
allowed to change the focus or not. This check can be done through the
method AbstractMouseFocusObserver.interact(AWTEvent)
.
check
in class AbstractMouseFocusObserver
event
- The event to react on.AbstractMouseFocusObserver.interact(AWTEvent)
public void addGlassPane(GlassedPane pane)
pane
- the new panepublic void removeGlassPane(GlassedPane pane)
pane
- the pane to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |