bibliothek.gui.dock.station.screen
Class InternalDockDialog

java.lang.Object
  extended by bibliothek.gui.dock.station.screen.DisplayerScreenDockWindow
      extended by bibliothek.gui.dock.station.screen.AbstractScreenDockWindow
          extended by bibliothek.gui.dock.station.screen.InternalDockDialog
All Implemented Interfaces:
ScreenDockWindow

public class InternalDockDialog
extends AbstractScreenDockWindow

A ScreenDockWindow that has a JDesktopPane as parent.

Author:
Benjamin Sigg

Nested Class Summary
 
Nested classes/interfaces inherited from class bibliothek.gui.dock.station.screen.DisplayerScreenDockWindow
DisplayerScreenDockWindow.Background
 
Constructor Summary
InternalDockDialog(ScreenDockStation station, javax.swing.JDesktopPane desktop)
          Creates the new dialog
 
Method Summary
protected  void convertPointToScreen(java.awt.Point point, java.awt.Component component)
          Converts point which is relative to component to a point on the screen.
 void destroy()
          Informs this window that it is no longer used by the station and will never be used again.
 void setWindowBounds(java.awt.Rectangle bounds, boolean screenCoordinates)
          Sets the bounds the window is supposed to have.
 void toFront()
          Called when this window should become the focus owner and be shown at the most prominent location.
 
Methods inherited from class bibliothek.gui.dock.station.screen.AbstractScreenDockWindow
checkWindowBounds, createContent, getDisplayer, getDisplayerParent, getDockableInsets, getTitleIcon, getTitleText, getWindowBounds, getWindowComponent, init, invalidate, isVisible, setBackground, setController, setCursor, setDockable, setPaintCombining, setTitleIcon, setTitleText, setVisible, showDisplayer, updateTitleIcon, updateTitleText, validate
 
Methods inherited from class bibliothek.gui.dock.station.screen.DisplayerScreenDockWindow
addScreenDockWindowListener, contains, discardDisplayer, fireFullscreenChanged, fireShapeChanged, fireVisibilityChanged, getController, getDockable, getNormalBounds, getOffsetDrop, getOffsetMove, getStation, getTitleCenter, inCombineArea, inTitleArea, isFullscreen, isShowTitle, listeners, removeScreenDockWindowListener, setFullscreen, setFullscreenStrategy, setNormalBounds, setShowTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalDockDialog

public InternalDockDialog(ScreenDockStation station,
                          javax.swing.JDesktopPane desktop)
Creates the new dialog

Parameters:
station - the owner of this dialog
desktop - the parent of this dialog
Method Detail

convertPointToScreen

protected void convertPointToScreen(java.awt.Point point,
                                    java.awt.Component component)
Description copied from class: AbstractScreenDockWindow
Converts point which is relative to component to a point on the screen.

Overrides:
convertPointToScreen in class AbstractScreenDockWindow
Parameters:
point - the point to modify
component - specifies the coordinate system
See Also:
SwingUtilities.convertPointToScreen(Point, Component)

setWindowBounds

public void setWindowBounds(java.awt.Rectangle bounds,
                            boolean screenCoordinates)
Description copied from interface: ScreenDockWindow
Sets the bounds the window is supposed to have. This method should use ScreenDockStation.getBoundaryRestriction() to check the validity of the new bounds.

Specified by:
setWindowBounds in interface ScreenDockWindow
Overrides:
setWindowBounds in class AbstractScreenDockWindow
Parameters:
bounds - the new location and size
screenCoordinates - whether the location is relative to the real screen (true) or relative to the coordinate of this window (false).

destroy

public void destroy()
Description copied from interface: ScreenDockWindow
Informs this window that it is no longer used by the station and will never be used again.


toFront

public void toFront()
Description copied from interface: ScreenDockWindow
Called when this window should become the focus owner and be shown at the most prominent location.