bibliothek.gui.dock.security
Class SecureAbstractScreenDockWindow
java.lang.Object
bibliothek.gui.dock.station.screen.DisplayerScreenDockWindow
bibliothek.gui.dock.station.screen.AbstractScreenDockWindow
bibliothek.gui.dock.security.SecureAbstractScreenDockWindow
- All Implemented Interfaces:
- ScreenDockWindow
- Direct Known Subclasses:
- SecureScreenDockDialog
public abstract class SecureAbstractScreenDockWindow
- extends AbstractScreenDockWindow
An AbstractScreenDockWindow
that uses a GlassedPane
in order to catch all MouseEvent
s and to report them to the
SecureMouseFocusObserver
. Subclasses should call ensureSecure(boolean)
whenever the visibility of the window changes.
- Author:
- Benjamin Sigg
Methods inherited from class bibliothek.gui.dock.station.screen.AbstractScreenDockWindow |
checkWindowBounds, getDisplayer, getDockableInsets, getTitleIcon, getTitleText, getWindowBounds, getWindowComponent, init, invalidate, isVisible, setCursor, setDockable, setPaintCombining, setTitleIcon, setTitleText, setVisible, setWindowBounds, showDisplayer, updateTitleIcon, updateTitleText, validate |
Methods inherited from class bibliothek.gui.dock.station.screen.DisplayerScreenDockWindow |
addScreenDockWindowListener, discardDisplayer, fireFullscreenChanged, fireShapeChanged, fireVisibilityChanged, getController, getDockable, getNormalBounds, getOffsetDrop, getOffsetMove, getStation, inCombineArea, isFullscreen, isShowTitle, listeners, removeScreenDockWindowListener, setController, setFullscreen, setFullscreenStrategy, setNormalBounds, setShowTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureAbstractScreenDockWindow
public SecureAbstractScreenDockWindow(ScreenDockStation station)
- Creates a new window
- Parameters:
station
- the owner of this window
createContent
protected OverpaintablePanel createContent()
- Description copied from class:
AbstractScreenDockWindow
- Creates the component that will be used as
content-pane
.
This method is invoked by the constructor.
- Overrides:
createContent
in class AbstractScreenDockWindow
- Returns:
- the new content pane
getDisplayerParent
protected Container getDisplayerParent()
- Description copied from class:
AbstractScreenDockWindow
- Gets the container on which the displayer is shown.
- Overrides:
getDisplayerParent
in class AbstractScreenDockWindow
- Returns:
- the parent of the displayer
ensureSecure
protected void ensureSecure(boolean visible)
- Ensures that this window is connected to the
SecureMouseFocusObserver
of this secure environment.
- Parameters:
visible
- whether the window is visible or not