bibliothek.extension.gui.dock.theme.bubble
Class BubbleTabMenu.BubbleMenuColor

java.lang.Object
  extended by bibliothek.gui.dock.util.AbstractUIValue<java.awt.Color,DockColor>
      extended by bibliothek.gui.dock.util.color.AbstractDockColor
          extended by bibliothek.gui.dock.themes.color.MenuColor
              extended by bibliothek.extension.gui.dock.theme.bubble.BubbleTabMenu.BubbleMenuColor
All Implemented Interfaces:
DockColor, UIValue<java.awt.Color>
Enclosing class:
BubbleTabMenu

protected class BubbleTabMenu.BubbleMenuColor
extends MenuColor

Link to a color that is used to paint this button.

Author:
Benjamin Sigg

Field Summary
 
Fields inherited from class bibliothek.gui.dock.themes.color.MenuColor
KIND_MENU_COLOR
 
Fields inherited from interface bibliothek.gui.dock.util.color.DockColor
KIND_DOCK_COLOR
 
Constructor Summary
BubbleTabMenu.BubbleMenuColor(java.lang.String id, java.awt.Color backup)
          Creates a new link.
 
Method Summary
protected  void changed(java.awt.Color oldValue, java.awt.Color newValue)
          Called when the resource of this AbstractDockColor has changed
 
Methods inherited from class bibliothek.gui.dock.themes.color.MenuColor
getMenu, getStation
 
Methods inherited from class bibliothek.gui.dock.util.color.AbstractDockColor
color, connect, me
 
Methods inherited from class bibliothek.gui.dock.util.AbstractUIValue
getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, value
 
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.UIValue
set
 

Constructor Detail

BubbleTabMenu.BubbleMenuColor

public BubbleTabMenu.BubbleMenuColor(java.lang.String id,
                                     java.awt.Color backup)
Creates a new link.

Parameters:
id - the unique identifier of the target
backup - the backup color used when the target is not found
Method Detail

changed

protected void changed(java.awt.Color oldValue,
                       java.awt.Color newValue)
Description copied from class: AbstractUIValue
Called when the resource of this AbstractDockColor has changed

Specified by:
changed in class AbstractUIValue<java.awt.Color,DockColor>
Parameters:
oldValue - the old value, can be null
newValue - the new value, can be null