Style Intelligence v12.0

inetsoft.graph.aesthetic
Class FillShapeFrame

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

public class FillShapeFrame
extends LinearShapeFrame

This class defines a shape frame fills in a circle at a ratio.

See Also:
Serialized Form

Constructor Summary
FillShapeFrame()
          Create a shape frame.
FillShapeFrame(String field)
          Create a shape frame.
 
Method Summary
 boolean equals(Object obj)
          Check if equals another object.
protected  GShape getShape(double ratio)
          Get a shape at the relative scale.
 boolean isArc()
          Check if to fill the circle as a pie.
 void setArc(boolean arc)
          Set whether to fill the circle as a pie.
 
Methods inherited from class inetsoft.graph.aesthetic.LinearShapeFrame
getShape, getShape
 
Methods inherited from class inetsoft.graph.aesthetic.VisualFrame
clone, createComparator, getField, getLabels, getLegendFrame, getLegendSpec, getScale, getScaleOption, getTitle, getValues, hashCode, init, isValid, isVisible, setField, setLegendFrame, setLegendSpec, setScale, setScaleOption, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FillShapeFrame

public FillShapeFrame()
Create a shape frame.


FillShapeFrame

public FillShapeFrame(String field)
Create a shape frame.

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

isArc

public boolean isArc()
Check if to fill the circle as a pie.


setArc

public void setArc(boolean arc)
Set whether to fill the circle as a pie.

Parameters:
arc - true to fill the circle as a pie, false (default) to fill it from bottom up.

getShape

protected GShape getShape(double ratio)
Description copied from class: LinearShapeFrame
Get a shape at the relative scale.

Specified by:
getShape in class LinearShapeFrame
Parameters:
ratio - a value from 0 to 1.

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 VisualFrame

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