|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.guide.form.TargetStrategy
public abstract class TargetStrategy
These classes are used as different strategies for calculating the boundaries of graph target bands
| Field Summary | |
|---|---|
protected Integer[] |
sortedIndices
|
| Constructor Summary | |
|---|---|
TargetStrategy()
|
|
| Method Summary | |
|---|---|
double[] |
calculateBoundaries(double[] data)
Calculates the positions of the band boundaries based on incoming post-aggregate data and some number of parameters. |
protected abstract String[] |
generateDefaultLabels(double[] bandBoundaries,
boolean dateTarget)
Generate labels for boundary lines using the line boundaries |
protected String[] |
generateLabels(double[] bandBoundaries,
MessageFormat[] labelFormats,
String fieldName,
Format valueFormat,
boolean dateTarget)
Generates label strings for boundary lines |
protected abstract double[] |
getRuntimeBoundaries(double[] data)
Generate the runtime boundary values in original order |
protected abstract void |
reorderValues(Integer[] indices)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Integer[] sortedIndices
| Constructor Detail |
|---|
public TargetStrategy()
| Method Detail |
|---|
public final double[] calculateBoundaries(double[] data)
protected abstract double[] getRuntimeBoundaries(double[] data)
data -
protected abstract void reorderValues(Integer[] indices)
protected abstract String[] generateDefaultLabels(double[] bandBoundaries,
boolean dateTarget)
protected String[] generateLabels(double[] bandBoundaries,
MessageFormat[] labelFormats,
String fieldName,
Format valueFormat,
boolean dateTarget)
bandBoundaries - The already calculated positions of boundary lineslabelFormats - The user provided template stringfieldName - The name of the field
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||