|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.refractions.udig.ui.palette.Palette
public class Palette
Represent palette information, with conveince methods for SLD.
This has been inspired by the work of ColorBrewer, indeed this is used to capture some of the information produced by that project.
Field Summary | |
---|---|
java.util.List<Scheme> |
contents
Deprecated. contents field |
SchemeType |
type
Deprecated. type field |
Constructor Summary | |
---|---|
Palette(java.util.Properties properties)
Deprecated. Construct list from properties |
|
Palette(java.lang.String pal)
Deprecated. Construct Palette . |
|
Palette(java.lang.String name,
Scheme[] list)
Deprecated. Construct Palette . |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final java.util.List<Scheme> contents
contents
field
public final SchemeType type
type
field
Constructor Detail |
---|
public Palette(java.lang.String name, Scheme[] list)
Palette
.
public Palette(java.lang.String pal) throws java.io.IOException
Palette
.
bundle
-
java.io.IOException
public Palette(java.util.Properties properties)
Parse in a Palette from a properties file:
palette.key=example
example.display=Example
palette.min=2
palette.max=3
palette.type=SEQUENTIAL
example2={158, 202, 225},{ 49, 130, 189}
example2.good=colorBlind, photoCopy, projector, lcd, crt, print
example2.doubtful=projector
example3={222, 235, 247},{158, 202, 225},{ 49, 130, 189}
example3.good=lcd, crt
properties
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |