Java Doc for ColorBrewer.java in  » GIS » GeoTools-2.4.1 » org » geotools » brewer » color » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoTools 2.4.1 » org.geotools.brewer.color 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.geotools.brewer.color.ColorBrewer

ColorBrewer
public class ColorBrewer (Code)
Contains ColorBrewer palettes and suitability data.
author:
   James Macgill
author:
   Cory Horner, Refractions Research Inc.


Field Summary
final public static  PaletteTypeALL
    
final public static  PaletteTypeDIVERGING
    
final public static  PaletteTypeQUALITATIVE
    
final public static  PaletteTypeSEQUENTIAL
    
final public static  PaletteTypeSUITABLE_RANGED
    
final public static  PaletteTypeSUITABLE_UNIQUE
    
 Stringdescription
    
 Stringname
    
 Hashtablepalettes
    

Constructor Summary
public  ColorBrewer()
    

Method Summary
public  StringgetDescription()
    
public  StringgetName()
    
public  BrewerPalettegetPalette(String name)
    
public  String[]getPaletteNames()
     Generates a String array with the names of the palettes in the ColorBrewer instance.
public  String[]getPaletteNames(int minClasses, int maxClasses)
     Generates an array of palette names for palettes which have at least x classes and at most y classes.
public  BrewerPalette[]getPalettes()
    
public  BrewerPalette[]getPalettes(PaletteType type)
    
public  BrewerPalette[]getPalettes(PaletteType type, int numClasses)
    
public  BrewerPalette[]getPalettes(PaletteType type, int numClasses, int requiredViewers)
    
public  booleanhasPalette(String paletteName)
    
public static  ColorBrewerinstance()
    
public static  ColorBrewerinstance(PaletteType type)
     Creates a static instance of ColorBrewer containing a subset of the default palettes.
Parameters:
  type - A PaletteType object which will be used to configure thereturned ColorBrewer.
public  booleanisSet(int singleValue, int multipleValue)
    
public  voidloadPalettes()
     Loads the default ColorBrewer palettes.
public  voidloadPalettes(PaletteType type)
     Loads into the ColorBrewer instance the set of palettes which have the PaletteType matching that of the parameter.
public  voidloadPalettes(InputStream XMLinput, PaletteType type)
     Loads into the ColorBrewer instance the set of palettes matching the given parameters.
Parameters:
  XMLinput -
Parameters:
  type - identifier for palettes.
public  voidregisterPalette(BrewerPalette pal)
    
public  voidreset()
    

Field Detail
ALL
final public static PaletteType ALL(Code)



DIVERGING
final public static PaletteType DIVERGING(Code)



QUALITATIVE
final public static PaletteType QUALITATIVE(Code)



SEQUENTIAL
final public static PaletteType SEQUENTIAL(Code)



SUITABLE_RANGED
final public static PaletteType SUITABLE_RANGED(Code)



SUITABLE_UNIQUE
final public static PaletteType SUITABLE_UNIQUE(Code)



description
String description(Code)



name
String name(Code)



palettes
Hashtable palettes(Code)




Constructor Detail
ColorBrewer
public ColorBrewer()(Code)
Creates a new instance of ColorBrewer




Method Detail
getDescription
public String getDescription()(Code)



getName
public String getName()(Code)



getPalette
public BrewerPalette getPalette(String name)(Code)



getPaletteNames
public String[] getPaletteNames()(Code)
Generates a String array with the names of the palettes in the ColorBrewer instance. A String array with the names of the palettes in the ColorBrewerinstance.



getPaletteNames
public String[] getPaletteNames(int minClasses, int maxClasses)(Code)
Generates an array of palette names for palettes which have at least x classes and at most y classes.
Parameters:
  minClasses - x
Parameters:
  maxClasses - y A string array of palette names filtered by number of classes.



getPalettes
public BrewerPalette[] getPalettes()(Code)



getPalettes
public BrewerPalette[] getPalettes(PaletteType type)(Code)



getPalettes
public BrewerPalette[] getPalettes(PaletteType type, int numClasses)(Code)



getPalettes
public BrewerPalette[] getPalettes(PaletteType type, int numClasses, int requiredViewers)(Code)



hasPalette
public boolean hasPalette(String paletteName)(Code)
Returns true if the palette exists in this ColorBrewer
Parameters:
  paletteName - A String with the name of the palette A boolean, true if the ColorBrewer has a palette of the namegiven.



instance
public static ColorBrewer instance()(Code)
Creates a static instance of ColorBrewer containing all default palettes The ColorBrewer instance with all the default palettes.
throws:
  IOException -



instance
public static ColorBrewer instance(PaletteType type) throws IOException(Code)
Creates a static instance of ColorBrewer containing a subset of the default palettes.
Parameters:
  type - A PaletteType object which will be used to configure thereturned ColorBrewer. The ColorBrewer instance with the palette from the parameter.
throws:
  IOException -



isSet
public boolean isSet(int singleValue, int multipleValue)(Code)



loadPalettes
public void loadPalettes()(Code)
Loads the default ColorBrewer palettes.
throws:
  IOException -



loadPalettes
public void loadPalettes(PaletteType type)(Code)
Loads into the ColorBrewer instance the set of palettes which have the PaletteType matching that of the parameter.
Parameters:
  type - The PaletteType for the palettes to load.
throws:
  IOException -



loadPalettes
public void loadPalettes(InputStream XMLinput, PaletteType type)(Code)
Loads into the ColorBrewer instance the set of palettes matching the given parameters.
Parameters:
  XMLinput -
Parameters:
  type - identifier for palettes. use "new PaletteType();"



registerPalette
public void registerPalette(BrewerPalette pal)(Code)



reset
public void reset()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.