A F G M O P S

A

addValue(E) - Method in class org.haldean.simplegraph.StaticGraphComponent
Add a value to the data series and refresh the graph.
addValue(E) - Method in class org.haldean.simplegraph.StreamingGraphComponent
Add a value to the data series.
addValueList(List<E>) - Method in class org.haldean.simplegraph.StaticGraphComponent
Add a list of values to the data series.

F

forList(List<E>) - Static method in class org.haldean.simplegraph.GraphFactory
Get a graph to represent a list of numbers with the default configuration.
forList(List<E>, GraphConfiguration) - Static method in class org.haldean.simplegraph.GraphFactory
Get a graph to represent a list of numbers.
forStreamingData() - Static method in class org.haldean.simplegraph.GraphFactory
Get a graph for streaming data that uses the default configuration.
forStreamingData(GraphConfiguration) - Static method in class org.haldean.simplegraph.GraphFactory
Get a graph for streaming data with arbitrary, inferred precision.

G

getAxisColor() - Method in class org.haldean.simplegraph.GraphConfiguration
Get the color of the graph's axes.
getBackgroundColor() - Method in class org.haldean.simplegraph.GraphConfiguration
Get the background color of the graph.
getBorderColor() - Method in class org.haldean.simplegraph.GraphConfiguration
Get the color of the graph's border.
getEnableInspector() - Method in class org.haldean.simplegraph.GraphConfiguration
Returns true if the inspector is shown.
getEnableTickLabels() - Method in class org.haldean.simplegraph.GraphConfiguration
Returns true if labels are shown under ticks
getGraphConfiguration() - Method in class org.haldean.simplegraph.StaticGraphComponent
Get the GraphConfiguration of this component.
getGraphConfiguration() - Method in class org.haldean.simplegraph.StreamingGraphComponent
Get the GraphConfiguration of this component.
getInspectorColor() - Method in class org.haldean.simplegraph.GraphConfiguration
Get the inspector color of the graph.
getLabelFont() - Method in class org.haldean.simplegraph.GraphConfiguration
Get the font used to draw the label.
getLabelValue() - Method in class org.haldean.simplegraph.GraphConfiguration
Get the text of the label.
getLineColor() - Method in class org.haldean.simplegraph.GraphConfiguration
Get the color of the data series's line.
getTickDistance() - Method in class org.haldean.simplegraph.GraphConfiguration
Get the number of units between ticks
getTickSkip() - Method in class org.haldean.simplegraph.GraphConfiguration
 
GraphConfiguration - Class in org.haldean.simplegraph
A data object that contains configuration parameters for GraphComponent objects
GraphConfiguration() - Constructor for class org.haldean.simplegraph.GraphConfiguration
Create a GraphConfiguration with the default colors and no label
GraphConfiguration(String) - Constructor for class org.haldean.simplegraph.GraphConfiguration
Create a GraphConfiguration with a label
GraphConfiguration(GraphConfiguration) - Constructor for class org.haldean.simplegraph.GraphConfiguration
Create a GraphConfiguration by doing a shallow copy on a different GraphConfiguration
GraphDemo - Class in org.haldean.simplegraph
 
GraphDemo() - Constructor for class org.haldean.simplegraph.GraphDemo
 
GraphFactory - Class in org.haldean.simplegraph
A class to create graphs of various types.
GraphFactory() - Constructor for class org.haldean.simplegraph.GraphFactory
 

M

main(String[]) - Static method in class org.haldean.simplegraph.GraphDemo
Test code: draw an amplifying sine wave.

O

org.haldean.simplegraph - package org.haldean.simplegraph
 

P

paint(Graphics) - Method in class org.haldean.simplegraph.StaticGraphComponent
Paints the graph onto the provided graphics object
paint(Graphics) - Method in class org.haldean.simplegraph.StreamingGraphComponent
Paints the graph onto the provided graphics object

S

setAxisColor(Color) - Method in class org.haldean.simplegraph.GraphConfiguration
Set the color of the graph's axes.
setBackgroundColor(Color) - Method in class org.haldean.simplegraph.GraphConfiguration
Set the background color of the graph.
setBorderColor(Color) - Method in class org.haldean.simplegraph.GraphConfiguration
Set the color of the graph's border.
setEnableInspector(boolean) - Method in class org.haldean.simplegraph.GraphConfiguration
Set to true to show the inspector.
setEnableTickLabels(boolean) - Method in class org.haldean.simplegraph.GraphConfiguration
Set to true to show labels under ticks
setGraphConfiguration(GraphConfiguration) - Method in class org.haldean.simplegraph.StaticGraphComponent
Set the GraphConfiguration of the graph.
setGraphConfiguration(GraphConfiguration) - Method in class org.haldean.simplegraph.StreamingGraphComponent
Set the GraphConfiguration of the graph.
setInspectorColor(Color) - Method in class org.haldean.simplegraph.GraphConfiguration
Set the inspector color of the graph.
setLabelFont(Font) - Method in class org.haldean.simplegraph.GraphConfiguration
Set the font used to draw the label.
setLabelValue(String) - Method in class org.haldean.simplegraph.GraphConfiguration
Set the text of the label.
setLineColor(Color) - Method in class org.haldean.simplegraph.GraphConfiguration
Set the color of the data series's line.
setMaximum(double) - Method in class org.haldean.simplegraph.StaticGraphComponent
Manually set the maximum.
setMaximum(double) - Method in class org.haldean.simplegraph.StreamingGraphComponent
Manually set the maximum.
setMinimum(double) - Method in class org.haldean.simplegraph.StaticGraphComponent
Manually set the minimum.
setMinimum(double) - Method in class org.haldean.simplegraph.StreamingGraphComponent
Manually set the minimum.
setSampleCount(int) - Method in class org.haldean.simplegraph.StreamingGraphComponent
Set the scale along the X axis.
setTickDistance(int) - Method in class org.haldean.simplegraph.GraphConfiguration
Set the number of units between ticks.
setTickSkip(int) - Method in class org.haldean.simplegraph.GraphConfiguration
Set the number of ticks to skip between ticks with labels.
StaticGraphComponent<E extends java.lang.Number> - Class in org.haldean.simplegraph
A component which draws a graph when provided with a list of precomputed values.
StaticGraphComponent() - Constructor for class org.haldean.simplegraph.StaticGraphComponent
Create a new StaticGraphComponent with the default GraphConfiguration.
StaticGraphComponent(GraphConfiguration) - Constructor for class org.haldean.simplegraph.StaticGraphComponent
Create a new StaticGraphComponent with the specified GraphConfiguration.
StreamingGraphComponent<E extends java.lang.Number> - Class in org.haldean.simplegraph
A component which draws a graph when provided with a feed of real-time data.
StreamingGraphComponent() - Constructor for class org.haldean.simplegraph.StreamingGraphComponent
Create a new StreamingGraphComponent with the default GraphConfiguration.
StreamingGraphComponent(GraphConfiguration) - Constructor for class org.haldean.simplegraph.StreamingGraphComponent
Create a new StreamingGraphComponent with the specified GraphConfiguration.

A F G M O P S