bibliothek.gui.dock.common.menu
Class CThemeMenuPiece

java.lang.Object
  extended by bibliothek.gui.dock.support.menu.MenuPiece
      extended by bibliothek.gui.dock.support.menu.BaseMenuPiece
          extended by bibliothek.gui.dock.facile.menu.ThemeMenuPiece
              extended by bibliothek.gui.dock.common.menu.CThemeMenuPiece

public class CThemeMenuPiece
extends ThemeMenuPiece

A ThemeMenuPiece that offers the DockThemes specified in the ThemeMap of the owning CControl.

Author:
Benjamin Sigg
See Also:
CControl.getThemes()

Constructor Summary
CThemeMenuPiece(CControl control)
          Creates a new piece.
 
Method Summary
 
Methods inherited from class bibliothek.gui.dock.facile.menu.ThemeMenuPiece
destroy, getController, getThemes, isTransferTheme, setController, setThemes, setTransferTheme
 
Methods inherited from class bibliothek.gui.dock.support.menu.BaseMenuPiece
add, addSeparator, fill, getItem, getItemCount, insert, insertSeparator, remove, remove, removeAll
 
Methods inherited from class bibliothek.gui.dock.support.menu.MenuPiece
addListener, fireInsert, fireRemove, getMenu, getParent, items, removeListener, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CThemeMenuPiece

public CThemeMenuPiece(CControl control)
Creates a new piece.

Parameters:
control - the control whose theme might be changed using one of themes of CControl.getThemes()