Style Intelligence v12.0

inetsoft.graph.aesthetic
Class SizeFrame

java.lang.Object
  extended by inetsoft.graph.aesthetic.VisualFrame
      extended by inetsoft.graph.aesthetic.SizeFrame
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
CategoricalSizeFrame, LinearSizeFrame, StaticSizeFrame

public abstract class SizeFrame
extends VisualFrame

Static size frame defines a static size for visual objects.

See Also:
Serialized Form

Constructor Summary
SizeFrame()
           
 
Method Summary
 double getLargest()
          Get the largest value of the range.
 double getMax()
          Get the max value.The largest value should be less than or equal to max value.
abstract  double getSize(DataSet data, String col, int row)
          Get the size for the specified cell.
abstract  double getSize(Object val)
          Get the size for the specified value.
 double getSmallest()
          Get the smallest value of the range.
 void setLargest(double val)
          Set the largest value of the range, smallest <= largest.
 void setMax(double max)
          Set the max value.
 void setSmallest(double val)
          Set the smallest value of the range, smallest <= largest.
 
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

SizeFrame

public SizeFrame()
Method Detail

getSize

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

Parameters:
data - the specified dataset.
col - the name of the specified column.
row - the specified row index.

getSize

public abstract double getSize(Object val)
Get the size for the specified value. Size values are interpreted by each graph element. It may not correspond directly to the point size of the visual object. Each element has a base size. The size from the size frame is used to proportionally increase the base size.


setLargest

public void setLargest(double val)
Set the largest value of the range, smallest <= largest.


getLargest

public double getLargest()
Get the largest value of the range.


setSmallest

public void setSmallest(double val)
Set the smallest value of the range, smallest <= largest.


getSmallest

public double getSmallest()
Get the smallest value of the range.


setMax

public void setMax(double max)
Set the max value. The largest value should be less than or equal to max value.


getMax

public double getMax()
Get the max value.The largest value should be less than or equal to max value.


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