|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.themes.BasicTheme
bibliothek.extension.gui.dock.theme.BubbleTheme
public class BubbleTheme
A theme using a lot of eye-candy.
Constructor Summary | |
---|---|
BubbleTheme()
Creates a new theme |
Method Summary | |
---|---|
void |
deriveColors(Color active,
Color inactive,
Color text,
Color button,
Color buttonSelected,
Color disabled)
Derives all colors needed in this theme. |
Color |
getColor(String key)
Gets a color for a specified key. |
void |
install(DockController controller)
Install this theme at controller . |
protected Map<String,Icon> |
loadIcons()
Reads a set of icons which will replace the ordinary icons. |
void |
setColor(String key,
Color color)
Stores a color which will be used in the theme. |
void |
uninstall(DockController controller)
Uninstalls this theme from controller . |
Methods inherited from class bibliothek.gui.dock.themes.BasicTheme |
---|
getCombiner, getDisplayFactory, getMovingImageFactory, getPaint, getTitleFactory, setCombiner, setDisplayerFactory, setMovingImageFactory, setPaint, setStackDockComponentFactory, setTitleFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BubbleTheme()
Method Detail |
---|
public void deriveColors(Color active, Color inactive, Color text, Color button, Color buttonSelected, Color disabled)
active
- the base color for active titlesinactive
- the base color for inactive titlestext
- the base color for textbutton
- the base color for buttonsbuttonSelected
- the base color for selected buttonsdisabled
- the base color for disabled elementspublic Color getColor(String key)
key
- the key of the color
null
public void setColor(String key, Color color)
key
- the key of the colorcolor
- the color to storepublic void install(DockController controller)
DockTheme
controller
. The theme
may change any properties it likes.
install
in interface DockTheme
install
in class BasicTheme
controller
- the controllerprotected Map<String,Icon> loadIcons()
public void uninstall(DockController controller)
DockTheme
controller
. The theme
has to remove all listeners it added.
uninstall
in interface DockTheme
uninstall
in class BasicTheme
controller
- the controller
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |