org.wegra.awt.graph
Class Palette
java.lang.Object
org.wegra.awt.graph.Palette
- Direct Known Subclasses:
- BarGraph.Palette, HistoryGraph.Palette, MmPanel.Palette
- public abstract class Palette
- extends java.lang.Object
Common palette interface.
- Author:
- wegra (Bok-Youn Lee)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BACKGROUND
public static final PaletteId BACKGROUND
FOREGROUND
public static final PaletteId FOREGROUND
Palette
public Palette()
restoreDefault
public abstract void restoreDefault()
- Restores to the default palette setting.
getColor
public java.awt.Color getColor(PaletteId id)
- Returns specified color.
setColor
public void setColor(PaletteId id,
java.awt.Color color)
- Sets specified color.