Style Intelligence v12.0

inetsoft.graph.aesthetic
Class BarShapeFrame

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

public class BarShapeFrame
extends MultiShapeFrame

A profile shape displays a set of values as bars.

See Also:
Serialized Form

Constructor Summary
BarShapeFrame()
          Create a shape frame.
BarShapeFrame(String[] fields)
          Create a bar shape frame.
 
Method Summary
 boolean equals(Object obj)
          Check if equals another object.
 ColorFrame getColorFrame()
          Get the colors used to draw bars.
protected  GShape getShape(double[] values)
          Get a shape for the tuple.
 void setColorFrame(ColorFrame colors)
          Set the colors used to draw bars.
 
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

BarShapeFrame

public BarShapeFrame()
Create a shape frame.


BarShapeFrame

public BarShapeFrame(String[] fields)
Create a bar 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 bars. If the color frame is not set, the bars are drawn with outlines.


getColorFrame

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


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.