bibliothek.gui.dock.common.theme
Class CEclipseTheme
java.lang.Object
bibliothek.gui.dock.common.theme.CDockTheme<EclipseTheme>
bibliothek.gui.dock.common.theme.CEclipseTheme
- All Implemented Interfaces:
- DockTheme
@ClientOnly
public class CEclipseTheme
- extends CDockTheme<EclipseTheme>
A wrapper around a EclipseTheme
, allows to use the ColorMap
of
CDockable
.
- Author:
- Benjamin Sigg
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 |
CEclipseTheme
public CEclipseTheme(CControl control,
EclipseTheme theme)
- Creates a new theme.
- Parameters:
control
- the controller for which this theme will be usedtheme
- the theme that gets encapsulated
CEclipseTheme
public CEclipseTheme(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.
install
public void install(DockController controller)
- Description copied from class:
CDockTheme
- Installs this theme at
controller
.
- Overrides:
install
in class CDockTheme<EclipseTheme>
- 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<EclipseTheme>
- Parameters:
controller
- the controller