bibliothek.gui.dock.common.theme
Class CSmoothTheme

java.lang.Object
  extended by bibliothek.gui.dock.common.theme.CDockTheme<SmoothTheme>
      extended by bibliothek.gui.dock.common.theme.CSmoothTheme
All Implemented Interfaces:
DockTheme

@ClientOnly
public class CSmoothTheme
extends CDockTheme<SmoothTheme>

A bridge between a SmoothTheme and the common-project.

Author:
Benjamin Sigg

Field Summary
 
Fields inherited from interface bibliothek.gui.DockTheme
BACKGROUND_PAINT, BORDER_MODIFIER, COMBINER, DISPLAYER_FACTORY, DOCKABLE_MOVING_IMAGE_FACTORY, DOCKABLE_SELECTION, SPAN_FACTORY, STATION_PAINT
 
Constructor Summary
CSmoothTheme(CControl control)
          Creates a new theme.
CSmoothTheme(CControl control, SmoothTheme theme)
          Creates a new theme.
 
Method Summary
 void install(DockController controller)
          Installs this theme at controller.
 void uninstall(DockController controller)
          Uninstalls this theme from controller.
 
Methods inherited from class bibliothek.gui.dock.common.theme.CDockTheme
getCombiner, getDisplayFactory, getDockableSelection, getMovingImageFactory, getPaint, getTitleFactory, initDefaultFontBridges, install, intern, putColorBridgeFactory, putFontBridgeFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSmoothTheme

public CSmoothTheme(CControl control,
                    SmoothTheme theme)
Creates a new theme.

Parameters:
control - the controller for which this theme will be used
theme - the theme that gets encapsulated

CSmoothTheme

public CSmoothTheme(CControl control)
Creates a new theme. This theme can be used directly with a CControl.

Parameters:
control - the controller for which this theme will be used.
Method Detail

install

public void install(DockController controller)
Description copied from class: CDockTheme
Installs this theme at controller.

Overrides:
install in class CDockTheme<SmoothTheme>
Parameters:
controller - the new owner of this theme

uninstall

public void uninstall(DockController controller)
Description copied from interface: DockTheme
Uninstalls this theme from controller. The theme has to remove all listeners it added.

Specified by:
uninstall in interface DockTheme
Overrides:
uninstall in class CDockTheme<SmoothTheme>
Parameters:
controller - the controller