Style Intelligence v12.0

inetsoft.graph.aesthetic
Class LinearSizeFrame

java.lang.Object
  extended by inetsoft.graph.aesthetic.VisualFrame
      extended by inetsoft.graph.aesthetic.SizeFrame
          extended by inetsoft.graph.aesthetic.LinearSizeFrame
All Implemented Interfaces:
Serializable, Cloneable

public class LinearSizeFrame
extends SizeFrame

This class defines a size frame for numeric values.

See Also:
Serialized Form

Constructor Summary
LinearSizeFrame()
          Create a size frame.
LinearSizeFrame(String field)
          Create a size frame.
 
Method Summary
 double getSize(DataSet data, String col, int row)
          Get the size for the specified cell.
 double getSize(Object val)
          Get a size for the specified value.
 
Methods inherited from class inetsoft.graph.aesthetic.SizeFrame
getLargest, getMax, getSmallest, setLargest, setMax, setSmallest
 
Methods inherited from class inetsoft.graph.aesthetic.VisualFrame
clone, createComparator, equals, getField, getLabels, getLegendFrame, getLegendSpec, getScale, getScaleOption, getTitle, getValues, hashCode, init, isValid, isVisible, setField, setLegendFrame, setLegendSpec, setScale, setScaleOption, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinearSizeFrame

public LinearSizeFrame()
Create a size frame.


LinearSizeFrame

public LinearSizeFrame(String field)
Create a size frame.

Parameters:
field - field to get value to map to sizes.
Method Detail

getSize

public double getSize(Object val)
Get a size for the specified value.

Specified by:
getSize in class SizeFrame

getSize

public double getSize(DataSet data,
                      String col,
                      int row)
Get the size for the specified cell.

Specified by:
getSize in class SizeFrame
Parameters:
data - the specified dataset.
col - the name of the specified column.
row - the specified row index.

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