Style Intelligence v12.0

inetsoft.graph.aesthetic
Class LinearShapeFrame

java.lang.Object
  extended by inetsoft.graph.aesthetic.VisualFrame
      extended by inetsoft.graph.aesthetic.ShapeFrame
          extended by inetsoft.graph.aesthetic.LinearShapeFrame
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
FillShapeFrame, OrientationShapeFrame, OvalShapeFrame, PolygonShapeFrame, TriangleShapeFrame

public abstract class LinearShapeFrame
extends ShapeFrame

This class defines a shape frame for numeric values.

See Also:
Serialized Form

Constructor Summary
LinearShapeFrame()
           
 
Method Summary
 GShape getShape(DataSet data, String col, int row)
          Get the shape for the specified cell.
protected abstract  GShape getShape(double ratio)
          Get a shape at the relative scale.
 GShape getShape(Object val)
          Get a shape for the specified value.
 
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

LinearShapeFrame

public LinearShapeFrame()
Method Detail

getShape

protected abstract GShape getShape(double ratio)
Get a shape at the relative scale.

Parameters:
ratio - a value from 0 to 1.

getShape

public GShape getShape(Object val)
Get a shape for the specified value.

Specified by:
getShape in class ShapeFrame

getShape

public GShape getShape(DataSet data,
                       String col,
                       int row)
Get the shape for the specified cell.

Specified by:
getShape in class ShapeFrame
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.