inetsoft.graph.aesthetic
Class OrientationShapeFrame
java.lang.Object
inetsoft.graph.aesthetic.VisualFrame
inetsoft.graph.aesthetic.ShapeFrame
inetsoft.graph.aesthetic.LinearShapeFrame
inetsoft.graph.aesthetic.OrientationShapeFrame
- All Implemented Interfaces:
- Serializable, Cloneable
public class OrientationShapeFrame
- extends LinearShapeFrame
This class defines a shape frame with rotated lines.
- See Also:
- Serialized Form
|
Method Summary |
protected GShape |
getShape(double ratio)
Get the shape at the ratio. |
| 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 |
OrientationShapeFrame
public OrientationShapeFrame()
- Create a shape frame.
OrientationShapeFrame
public OrientationShapeFrame(String field)
- Create a shape frame.
- Parameters:
field - field to get value to map to shapes.
getShape
protected GShape getShape(double ratio)
- Get the shape at the ratio.
- Specified by:
getShape in class LinearShapeFrame
- Parameters:
ratio - the value between
0 and 1, and is the position of the value in a linear scale.