Style Intelligence v12.0

inetsoft.graph.aesthetic
Class PolygonShapeFrame

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

public class PolygonShapeFrame
extends LinearShapeFrame

This class defines a shape frame gradating polygon for numeric values.

See Also:
Serialized Form

Constructor Summary
PolygonShapeFrame()
          Create a shape frame.
PolygonShapeFrame(String field)
          Create a shape frame.
 
Method Summary
 boolean equals(Object obj)
          Check if equals another object.
protected  GShape getShape(double ratio)
          Get the shape at the ratio.
 boolean isFill()
          Check if the shape should be filled.
 void setFill(boolean fill)
          Set whether this shape should be filled.
 
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

PolygonShapeFrame

public PolygonShapeFrame()
Create a shape frame.


PolygonShapeFrame

public PolygonShapeFrame(String field)
Create a shape frame.

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

isFill

public boolean isFill()
Check if the shape should be filled.


setFill

public void setFill(boolean fill)
Set whether this shape should be filled.


getShape

protected GShape getShape(double ratio)
Get the shape at the ratio.

Specified by:
getShape in class LinearShapeFrame
Parameters:
ratio - the value between 0 and 1, and is the position of the value in a linear scale.

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.