com.jidesoft.palette
Class PaletteFactory
java.lang.Object
com.jidesoft.palette.PaletteFactory
public class PaletteFactory
- extends Object
Factory class for creating prebuild palettes of various types.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PaletteFactory
public PaletteFactory(PaletteFactory.Entry... entries)
getInstance
public static PaletteFactory getInstance()
getEntries
public List<PaletteFactory.Entry> getEntries()
add
public void add(PaletteFactory.Entry entry)
get
public PaletteFactory.Entry get(String name)
find
public PaletteFactory.Entry find(Palette palette)
createDefaultDivergingPalette
public FixedPalette createDefaultDivergingPalette()
createDefaultSequentialPalette
public FixedPalette createDefaultSequentialPalette()
createDefaultQualititativePalette
public FixedPalette createDefaultQualititativePalette()
createColorGradient
public MutablePalette createColorGradient(String name)