|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.control.MouseFocusObserver
bibliothek.gui.dock.security.SecureMouseFocusObserver
public class SecureMouseFocusObserver
A FocusController which relies on GlassedPanes.
| Constructor Summary | |
|---|---|
SecureMouseFocusObserver(DockController controller,
ControllerSetupCollection setup)
Creates a new FocusController for controller. |
|
| Method Summary | |
|---|---|
void |
addGlassPane(GlassedPane pane)
Registers a new GlassPane. |
void |
check(AWTEvent event)
Lets check this controller whether the focus should change, or not. |
void |
kill()
Stops this FocusController. |
void |
removeGlassPane(GlassedPane pane)
Unregisters a previously added GlassPane. |
| Methods inherited from class bibliothek.gui.dock.control.MouseFocusObserver |
|---|
addVetoListener, cancel, check, check, drag, drop, fireVetoDockable, fireVetoTitle, getController, getDockable, handleVeto, init, interact, removeVetoListener |
| 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(AWTEvent event)
MouseFocusObserverevent is
allowed to change the focus or not. This check can be done through the
method MouseFocusObserver.interact(AWTEvent).
check in class MouseFocusObserverevent - The event to react on.MouseFocusObserver.interact(AWTEvent)public void addGlassPane(GlassedPane pane)
pane - the new panepublic void removeGlassPane(GlassedPane pane)
pane - the pane to removepublic void kill()
MouseFocusObserver
kill in class MouseFocusObserver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||