Style Intelligence v12.0

inetsoft.graph.aesthetic
Class VineShapeFrame

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

public class VineShapeFrame
extends MultiShapeFrame

A vine shape supports up to three variables. It is drawn as a circle with a line extending from the center of the circle to a direction and length controlled by a variable. The values are plotted as the direction of a line, length of the line, and the size of a circle, respectively.

See Also:
Serialized Form

Constructor Summary
VineShapeFrame()
          Create a shape frame.
VineShapeFrame(String[] fields)
          Create a shape frame.
 
Method Summary
 boolean equals(Object obj)
          Check if equals another object.
 int getEndAngle()
          Get the stem ending angle.
protected  GShape getShape(double[] values)
          Get a shape for the tuple.
 int getStartAngle()
          Get the stem starting angle.
protected  boolean isSharedScale()
          Don't share scale.
 void setEndAngle(int angle)
          Set the stem ending angle (degrees).
 void setStartAngle(int angle)
          Set the stem starting angle (degrees).
 
Methods inherited from class inetsoft.graph.aesthetic.MultiShapeFrame
getField, getFields, getLegendTuple, getScales, getShape, getShape, getTitle, getValues, init, 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

VineShapeFrame

public VineShapeFrame()
Create a shape frame.


VineShapeFrame

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

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

setStartAngle

public void setStartAngle(int angle)
Set the stem starting angle (degrees).


getStartAngle

public int getStartAngle()
Get the stem starting angle.


setEndAngle

public void setEndAngle(int angle)
Set the stem ending angle (degrees).


getEndAngle

public int getEndAngle()
Get the stem ending angle.


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

isSharedScale

protected boolean isSharedScale()
Don't share scale.

Overrides:
isSharedScale in class MultiShapeFrame
Returns:
true to share a scale for all fields, false to create a separate scale for each field.

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.