DataRenderer

public abstract class DataRenderer
Hierarchy:
Object ⯈ DataRenderer
Known direct subclasses:
LineRenderer, MarkerRenderer, NoteRenderer, VBarRenderer

Summary

Instance Fields
protected PrintStream out
protected String style
double zerox
double zeroy
Constructors
DataRenderer ()
Default constructor.
Abstract Methods
abstract void addPoint (double x, double y, Data.Row row)
abstract void finish ()
abstract void printLegendSwatch (PrintStream out, double x, double y, int w, int h, String style)
Instance Methods
double itemSizeX ()
double itemSizeY ()
void setZeroes (double x, double y)
void start (PrintStream out, String style, int rowCount, Data data)
double startHSet (PrintStream out, String style, int rowCount, Data data, double dx, double sizex)
double startVSet (PrintStream out, String style, int rowCount, Data data, double dy, double sizey)
Show all inherited methods (11 more)
protected native Object clone ()
Inherited from Object.
boolean equals (Object)
Inherited from Object.
protected void finalize ()
Inherited from Object.
final native Class<?> getClass ()
Inherited from Object.
native int hashCode ()
Inherited from Object.
final native void notify ()
Inherited from Object.
final native void notifyAll ()
Inherited from Object.
String toString ()
Inherited from Object.
final void wait ()
Inherited from Object.
final native void wait (long)
Inherited from Object.
final void wait (long, int)
Inherited from Object.
Static Methods
static void printBoxSwatch (PrintStream out, double x, double y, int w, int h, String style)
static void printLineSwatch (PrintStream out, double x, double y, int w, int h, String style)

out

protected PrintStream out;

style

protected String style;

zerox

public double zerox;

zeroy

public double zeroy;

setZeroes

public void setZeroes (
	double x,
	double y
);

start

public void start (
	PrintStream out,
	String style,
	int rowCount,
	Data data
);

startHSet

public double startHSet (
	PrintStream out,
	String style,
	int rowCount,
	Data data,
	double dx,
	double sizex
);

startVSet

public double startVSet (
	PrintStream out,
	String style,
	int rowCount,
	Data data,
	double dy,
	double sizey
);

addPoint

public abstract void addPoint (
	double x,
	double y,
	Data.Row row
);

finish

public abstract void finish ();

printLegendSwatch

public abstract void printLegendSwatch (
	PrintStream out,
	double x,
	double y,
	int w,
	int h,
	String style
);

itemSizeX

public double itemSizeX ();

itemSizeY

public double itemSizeY ();

printLineSwatch

public static void printLineSwatch (
	PrintStream out,
	double x,
	double y,
	int w,
	int h,
	String style
);

printBoxSwatch

public static void printBoxSwatch (
	PrintStream out,
	double x,
	double y,
	int w,
	int h,
	String style
);