|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vizzini.ui.ColorPreferences
public class ColorPreferences
Provides convenience methods for storage and retrieval of color preferences.
| Constructor Summary | |
|---|---|
ColorPreferences(Class owningClass)
Construct this object. |
|
| Method Summary | |
|---|---|
void |
clear()
Clear all preferences. |
Color |
fetch(String key,
Color defaultColor)
Fetch the color for the given key. |
void |
store(String key,
Color color)
Store the given color under the given key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColorPreferences(Class owningClass)
| Method Detail |
|---|
public void clear()
public Color fetch(String key,
Color defaultColor)
public void store(String key,
Color color)
key - Key.color - Color.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |