Style Intelligence v12.0

inetsoft.graph.aesthetic
Class LinearLineFrame

java.lang.Object
  extended by inetsoft.graph.aesthetic.VisualFrame
      extended by inetsoft.graph.aesthetic.LineFrame
          extended by inetsoft.graph.aesthetic.LinearLineFrame
All Implemented Interfaces:
Serializable, Cloneable

public class LinearLineFrame
extends LineFrame

This class defines a line frame for numeric values.

See Also:
Serialized Form

Constructor Summary
LinearLineFrame()
          Create a line frame.
LinearLineFrame(String field)
          Create a line frame.
 
Method Summary
 GLine getLine(DataSet data, String col, int row)
          Get the line for the specified cell.
protected  GLine getLine(double ratio)
          Get a line at the relative scale.
 GLine getLine(Object val)
          Get a line for the specified value.
 
Methods inherited from class inetsoft.graph.aesthetic.VisualFrame
clone, createComparator, equals, 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

LinearLineFrame

public LinearLineFrame()
Create a line frame.


LinearLineFrame

public LinearLineFrame(String field)
Create a line frame.

Parameters:
field - field to get value to map to line styles.
Method Detail

getLine

protected GLine getLine(double ratio)
Get a line at the relative scale.

Parameters:
ratio - a value from 0 to 1.

getLine

public GLine getLine(Object val)
Get a line for the specified value.

Specified by:
getLine in class LineFrame

getLine

public GLine getLine(DataSet data,
                     String col,
                     int row)
Get the line for the specified cell.

Specified by:
getLine in class LineFrame
Parameters:
data - the specified dataset.
col - the name of the specified column.
row - the specified row index.

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