org.geotools.brewer.color
Class SampleScheme

java.lang.Object
  extended byorg.geotools.brewer.color.SampleScheme

public class SampleScheme
extends java.lang.Object

DOCUMENT ME!

Author:
James Macgill

Constructor Summary
SampleScheme()
          Creates a new instance of SampleScheme
 
Method Summary
 int getMaxCount()
          Getter for the max colour count
 int getMinCount()
          Getter for the min colour count
 int[] getSampleScheme(int length)
          Indexed getter for property sampleScheme.
 void setSampleScheme(int length, int[] sampleScheme)
          Indexed setter for property sampleScheme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleScheme

public SampleScheme()
Creates a new instance of SampleScheme

Method Detail

getSampleScheme

public int[] getSampleScheme(int length)
Indexed getter for property sampleScheme.

Parameters:
length - Index of the property.
Returns:
Value of the property at index.

setSampleScheme

public void setSampleScheme(int length,
                            int[] sampleScheme)
Indexed setter for property sampleScheme.

Parameters:
length - Index of the property.
sampleScheme - New value of the property at index.

getMinCount

public int getMinCount()
Getter for the min colour count

Returns:
the smallest number of colours we have a scheme for

getMaxCount

public int getMaxCount()
Getter for the max colour count

Returns:
the largest number of colours we have a scheme for


Copyright © GeoTools. All Rights Reserved.