Project Wonder 5.0.0.8794

er.googlechart.util
Class GCMappedEncoding

java.lang.Object
  extended by er.googlechart.util.GCAbstractEncoding
      extended by er.googlechart.util.GCMappedEncoding
Direct Known Subclasses:
GCExtendedEncoding, GCSimpleEncoding

public abstract class GCMappedEncoding
extends GCAbstractEncoding

The superclass of simple and extended encodings.

Author:
mschrag

Constructor Summary
GCMappedEncoding()
           
 
Method Summary
protected  String _encode(Number maxValue, List<Number> dataSet)
           
 boolean canEncode(boolean normalize, List<List<Number>> dataSets)
           
 boolean canEncode(Number maxValue, List<List<Number>> dataSets)
           
protected abstract  String encode(int value)
           
protected abstract  String missingValue()
           
protected abstract  int numberOfEncodingValues()
           
protected  String separator()
           
 
Methods inherited from class er.googlechart.util.GCAbstractEncoding
encode, encode, encode, encodingKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCMappedEncoding

public GCMappedEncoding()
Method Detail

canEncode

public boolean canEncode(boolean normalize,
                         List<List<Number>> dataSets)
Specified by:
canEncode in class GCAbstractEncoding

canEncode

public boolean canEncode(Number maxValue,
                         List<List<Number>> dataSets)
Specified by:
canEncode in class GCAbstractEncoding

encode

protected abstract String encode(int value)

numberOfEncodingValues

protected abstract int numberOfEncodingValues()

missingValue

protected abstract String missingValue()

separator

protected String separator()
Specified by:
separator in class GCAbstractEncoding

_encode

protected String _encode(Number maxValue,
                         List<Number> dataSet)
Specified by:
_encode in class GCAbstractEncoding

Last updated: Thu, Jan 8, 2009 • 12:32 PM EST

Copyright © 2002 – 2007 Project Wonder.