inetsoft.graph.aesthetic
Class LinearShapeFrame
java.lang.Object
inetsoft.graph.aesthetic.VisualFrame
inetsoft.graph.aesthetic.ShapeFrame
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
| 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 |
LinearShapeFrame
public LinearShapeFrame()
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.