|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mucommander.ui.theme.ThemeCache
public class ThemeCache
Contains cached colors and fonts for current theme.
| Field Summary | |
|---|---|
static int |
ACTIVE
|
static java.awt.Color |
activeOutlineColor
|
static int |
ALTERNATE
|
static int |
ARCHIVE
|
static java.awt.Color[][] |
backgroundColors
|
static int |
FOLDER
|
static java.awt.Color[][][] |
foregroundColors
|
static int |
HIDDEN_FILE
|
static int |
INACTIVE
|
static java.awt.Color |
inactiveOutlineColor
|
static ThemeCache |
instance
Theme cache instance |
static int |
MARKED
|
static int |
NORMAL
|
static int |
PLAIN_FILE
|
static int |
SECONDARY
|
static int |
SELECTED
|
static int |
SYMLINK
|
static java.awt.Font |
tableFont
|
static java.awt.Color |
unmatchedBackground
|
static java.awt.Color |
unmatchedForeground
|
| Method Summary | |
|---|---|
static void |
addThemeListener(ThemeListener listener)
|
void |
colorChanged(ColorChangedEvent event)
Receives theme color changes notifications. |
void |
fontChanged(FontChangedEvent event)
Receives theme font changes notifications. |
static void |
removeThemeListener(ThemeListener listener)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.awt.Color[][][] foregroundColors
public static java.awt.Color[][] backgroundColors
public static java.awt.Color unmatchedForeground
public static java.awt.Color unmatchedBackground
public static java.awt.Color activeOutlineColor
public static java.awt.Color inactiveOutlineColor
public static final int NORMAL
public static final int SELECTED
public static final int ALTERNATE
public static final int SECONDARY
public static final int INACTIVE
public static final int ACTIVE
public static final int HIDDEN_FILE
public static final int FOLDER
public static final int ARCHIVE
public static final int SYMLINK
public static final int MARKED
public static final int PLAIN_FILE
public static java.awt.Font tableFont
public static final ThemeCache instance
| Method Detail |
|---|
public static void addThemeListener(ThemeListener listener)
public static void removeThemeListener(ThemeListener listener)
public void colorChanged(ColorChangedEvent event)
colorChanged in interface ThemeListenerpublic void fontChanged(FontChangedEvent event)
fontChanged in interface ThemeListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard