bibliothek.gui.dock.common.intern.theme
Class CBubbleTheme

java.lang.Object
  extended by bibliothek.gui.dock.common.intern.theme.CDockTheme<BubbleTheme>
      extended by bibliothek.gui.dock.common.intern.theme.CBubbleTheme
All Implemented Interfaces:
DockTheme

public class CBubbleTheme
extends CDockTheme<BubbleTheme>

A theme wrapping BubbleTheme and adding additional features to properly work within the common-project.

Author:
Benjamin Sigg

Constructor Summary
CBubbleTheme(CControl control)
          Creates a new theme.
CBubbleTheme(CControl control, BubbleTheme theme)
          Creates a new theme.
 
Method Summary
 void install(DockController controller)
          Install this theme at controller.
 void uninstall(DockController controller)
          Uninstalls this theme from controller.
 
Methods inherited from class bibliothek.gui.dock.common.intern.theme.CDockTheme
getCombiner, getDisplayFactory, getDockableSelection, getMovingImageFactory, getPaint, getTitleFactory, intern, putColorProviderFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CBubbleTheme

public CBubbleTheme(CControl control,
                    BubbleTheme theme)
Creates a new theme.

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

CBubbleTheme

public CBubbleTheme(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 interface: DockTheme
Install this theme at controller. The theme may change any properties it likes.

Specified by:
install in interface DockTheme
Overrides:
install in class CDockTheme<BubbleTheme>
Parameters:
controller - the controller

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<BubbleTheme>
Parameters:
controller - the controller