bibliothek.gui.dock.station.screen.window
Class DisplayerScreenDockWindow.Background

java.lang.Object
  extended by bibliothek.gui.dock.util.BackgroundAlgorithm
      extended by bibliothek.gui.dock.station.screen.window.DisplayerScreenDockWindow.Background
All Implemented Interfaces:
ScreenDockWindowBackgroundComponent, StationBackgroundComponent, BackgroundComponent, UIValue<BackgroundPaint>
Enclosing class:
DisplayerScreenDockWindow

protected class DisplayerScreenDockWindow.Background
extends BackgroundAlgorithm
implements ScreenDockWindowBackgroundComponent

The algorithm that paints the background of this window.

Author:
Benjamin Sigg

Field Summary
 
Fields inherited from interface bibliothek.gui.dock.station.screen.window.ScreenDockWindowBackgroundComponent
KIND
 
Constructor Summary
DisplayerScreenDockWindow.Background()
           
 
Method Summary
 Component getComponent()
          Gets the Component which is represented by this
 DockStation getStation()
          Gets the DockStation which is using this background.
 ScreenDockWindow getWindow()
          Gets the window which is represented by this component.
 void set(BackgroundPaint value)
          Called when the underlying resource of this UIValue changes.
 
Methods inherited from class bibliothek.gui.dock.util.BackgroundAlgorithm
addListener, getPaint, getTransparency, paint, removeListener, repaint, setController, setTransparency
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bibliothek.gui.dock.util.BackgroundComponent
getTransparency, repaint, setTransparency
 

Constructor Detail

DisplayerScreenDockWindow.Background

public DisplayerScreenDockWindow.Background()
Method Detail

set

public void set(BackgroundPaint value)
Description copied from interface: UIValue
Called when the underlying resource of this UIValue changes.

Specified by:
set in interface UIValue<BackgroundPaint>
Overrides:
set in class BackgroundAlgorithm
Parameters:
value - the new value

getWindow

public ScreenDockWindow getWindow()
Description copied from interface: ScreenDockWindowBackgroundComponent
Gets the window which is represented by this component.

Specified by:
getWindow in interface ScreenDockWindowBackgroundComponent
Returns:
the window, not null

getStation

public DockStation getStation()
Description copied from interface: StationBackgroundComponent
Gets the DockStation which is using this background.

Specified by:
getStation in interface StationBackgroundComponent
Returns:
the station, not null

getComponent

public Component getComponent()
Description copied from interface: BackgroundComponent
Gets the Component which is represented by this

Specified by:
getComponent in interface BackgroundComponent
Returns:
the component, may not be null