Style Intelligence v12.0

inetsoft.graph.scale
Class AbstractScaleRange

java.lang.Object
  extended by inetsoft.graph.scale.AbstractScaleRange
All Implemented Interfaces:
ScaleRange, Serializable, Cloneable
Direct Known Subclasses:
LinearRange, StackRange

public abstract class AbstractScaleRange
extends Object
implements ScaleRange

AbstractScaleRange implements the common scale range interfaces.

See Also:
Serialized Form

Constructor Summary
AbstractScaleRange()
           
 
Method Summary
 double getValue(Object data)
          Get a numeric value.
 boolean isAbsoluteValue()
          Check whether to force all values to be absolute.
 void setAbsoluteValue(boolean abs)
          Set whether to force all values to be absolute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface inetsoft.graph.scale.ScaleRange
calculate
 

Constructor Detail

AbstractScaleRange

public AbstractScaleRange()
Method Detail

getValue

public double getValue(Object data)
Get a numeric value. If the value is not numeric, return 0.

Specified by:
getValue in interface ScaleRange

setAbsoluteValue

public void setAbsoluteValue(boolean abs)
Set whether to force all values to be absolute.

Specified by:
setAbsoluteValue in interface ScaleRange

isAbsoluteValue

public boolean isAbsoluteValue()
Check whether to force all values to be absolute.

Specified by:
isAbsoluteValue in interface ScaleRange

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.