Style Intelligence v12.0

inetsoft.graph.aesthetic
Class PieShapeFrame

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.PieShapeFrame
All Implemented Interfaces:
Serializable, Cloneable

public class PieShapeFrame
extends MultiShapeFrame

A profile shape displays a set of values as pies.

See Also:
Serialized Form

Constructor Summary
PieShapeFrame()
          Create a shape frame.
PieShapeFrame(String[] fields)
          Create a pie shape frame.
 
Method Summary
 boolean equals(Object obj)
          Check if equals another object.
 ColorFrame getColorFrame()
          Get the colors used to draw pie slices.
protected  GShape getShape(double[] values)
          Get a shape for the tuple.
 void setColorFrame(ColorFrame colors)
          Set the colors used to draw pie slices.
 
Methods inherited from class inetsoft.graph.aesthetic.MultiShapeFrame
getField, getFields, getLegendTuple, 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

PieShapeFrame

public PieShapeFrame()
Create a shape frame.


PieShapeFrame

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

Parameters:
fields - the fields to plot bars in the shape.
Method Detail

setColorFrame

public void setColorFrame(ColorFrame colors)
Set the colors used to draw pie slices.


getColorFrame

public ColorFrame getColorFrame()
Get the colors used to draw pie slices.


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

equals

public boolean equals(Object obj)
Description copied from class: VisualFrame
Check if equals another object. The default implementation will just test whether class is equal.

Overrides:
equals in class MultiShapeFrame

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