Style Intelligence v12.0

inetsoft.graph.aesthetic
Class StarShapeFrame

java.lang.Object
  extended by inetsoft.graph.aesthetic.VisualFrame
      extended by inetsoft.graph.aesthetic.ShapeFrame
          extended by inetsoft.graph.aesthetic.MultiShapeFrame
              extended by inetsoft.graph.aesthetic.StarShapeFrame
All Implemented Interfaces:
Serializable, Cloneable

public class StarShapeFrame
extends MultiShapeFrame

A polygon shape displays a set of values as the points on the polygon with the value as the distance of the points from the center of the polygon.

See Also:
Serialized Form

Constructor Summary
StarShapeFrame()
          Create a shape frame.
StarShapeFrame(String[] fields)
          Create a shape frame.
 
Method Summary
protected  double[] getLegendTuple(Object val)
          Get the tuple for legend.
protected  GShape getShape(double[] values)
          Get a shape for the tuple.
 
Methods inherited from class inetsoft.graph.aesthetic.MultiShapeFrame
equals, getField, getFields, getScales, getShape, getShape, getTitle, getValues, init, isSharedScale, isValid, setField, setFields, setScales
 
Methods inherited from class inetsoft.graph.aesthetic.VisualFrame
clone, createComparator, getLabels, getLegendFrame, getLegendSpec, getScale, getScaleOption, hashCode, isVisible, setLegendFrame, setLegendSpec, setScale, setScaleOption, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StarShapeFrame

public StarShapeFrame()
Create a shape frame.


StarShapeFrame

public StarShapeFrame(String[] fields)
Create a shape frame.

Parameters:
fields - fields to get value to map to shapes.
Method Detail

getShape

protected GShape getShape(double[] values)
Get a shape for the tuple. The values in the tuple have been scaled.

Specified by:
getShape in class MultiShapeFrame

getLegendTuple

protected double[] getLegendTuple(Object val)
Get the tuple for legend.

Overrides:
getLegendTuple in class MultiShapeFrame
Parameters:
val - the legend item field name.

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