A B C D F G H I L M N P S T W X Y

A

AbstractChart - Class in net.moioli.chart
An AbstractChart is a Collection of drawable objects (instances of classes implementing the DrawableI interface).
AbstractChart() - Constructor for class net.moioli.chart.AbstractChart
Default constructor.
AbstractDrawableFunction - Class in net.moioli.drawables
A general implementation of the DrawableI and FunctionI interfaces.
AbstractDrawableFunction() - Constructor for class net.moioli.drawables.AbstractDrawableFunction
Default constructor, does really nothing.
AbstractDrawableSuccession - Class in net.moioli.drawables
A general succession implementation.
AbstractDrawableSuccession() - Constructor for class net.moioli.drawables.AbstractDrawableSuccession
Default constructor.
AbstractPlaneCurve - Class in net.moioli.drawables
A general implementation of the DrawableI and PlaneCurveI interfaces.
AbstractPlaneCurve(double) - Constructor for class net.moioli.drawables.AbstractPlaneCurve
Default constructor, requires the maximum parameter value.
add(Object) - Method in class net.moioli.chart.AbstractChart
 
add(Object) - Method in interface net.moioli.chart.ChartI
 
Axes - Class in net.moioli.drawables
Represents the x and y axes of the DefaultChart, their measure units, and their legend.
Axes() - Constructor for class net.moioli.drawables.Axes
Default constructor.

B

BigPoint - Class in net.moioli.drawables
Represents an important point on the DefaultChart, it will be circled and a description will be added.
BigPoint() - Constructor for class net.moioli.drawables.BigPoint
Default constructor ((0,0), no description)
BigPoint(double, double, String) - Constructor for class net.moioli.drawables.BigPoint
Standard constructor.

C

ChartI - Interface in net.moioli.chart
 

D

DefaultChart - Class in net.moioli.chart
A simple yet complete implementation of the ChartI interface.
DefaultChart() - Constructor for class net.moioli.chart.DefaultChart
Builds an empty DefaultChart.
DefaultChart(Collection) - Constructor for class net.moioli.chart.DefaultChart
Builds an DefaultChart with the specified objects.
DoublePoint - Class in net.moioli.drawables
Represents a point in the cartesian plane.
DoublePoint() - Constructor for class net.moioli.drawables.DoublePoint
Constructs the point (0,0).
DoublePoint(DoublePoint) - Constructor for class net.moioli.drawables.DoublePoint
Copy constructor.
DoublePoint(double, double) - Constructor for class net.moioli.drawables.DoublePoint
Standard constructor.
DrawableI - Interface in net.moioli.chart
An object which can be drawn on a DefaultChart.
drawCircle(int, int, int) - Method in interface net.moioli.chart.GraphicsI
Draws a circle with the specified center and radius.
drawLine(int, int, int, int) - Method in interface net.moioli.chart.GraphicsI
Draws a line from (x1,y1) to (x2,y2) (coordinate in pixels).
drawMe(GraphicsI, IntRectangle) - Method in class net.moioli.chart.AbstractChart
 
drawMe(GraphicsI, IntRectangle) - Method in interface net.moioli.chart.ChartI
Draws this DefaultChart on the passed GraphicsI surface.
drawMe(GraphicsI, IntRectangle) - Method in class net.moioli.chart.DefaultChart
 
drawMe(GraphicsI, Scale, Object) - Method in interface net.moioli.chart.DrawableI
This method is automatically called by DefaultChart to draw the objects it contains, so end users should never call drawMe directly.
drawMe(GraphicsI, Scale, Object) - Method in class net.moioli.drawables.AbstractDrawableFunction
 
drawMe(GraphicsI, Scale, Object) - Method in class net.moioli.drawables.AbstractDrawableSuccession
Implements Drawable, making it possible to draw this object.
drawMe(GraphicsI, Scale, Object) - Method in class net.moioli.drawables.AbstractPlaneCurve
 
drawMe(GraphicsI, Scale, Object) - Method in class net.moioli.drawables.Axes
 
drawMe(GraphicsI, Scale, Object) - Method in class net.moioli.drawables.BigPoint
This method is automatically called by DefaultChart to draw the objects it contains, so end users should never call drawMe directly.
drawMe(GraphicsI, Scale, Object) - Method in class net.moioli.drawables.FunctionByPointsLines
This method is automatically called by DefaultChart to draw the objects it contains, so end users should never call drawMe directly.
drawMe(GraphicsI, Scale, Object) - Method in class net.moioli.drawables.Histogram
 
drawMe(GraphicsI, Scale, Object) - Method in class net.moioli.drawables.LegendElement
Implements DrawableI drawing this object.
drawMe(GraphicsI, Scale, Object) - Method in class net.moioli.drawables.Logo
Implements DrawableI drawing this object.
drawMe(GraphicsI, Scale, Object) - Method in class net.moioli.drawables.Pie
 
drawString(String, int, int) - Method in interface net.moioli.chart.GraphicsI
Draws a string starting at the given point.

F

f(double) - Method in class net.moioli.drawables.AbstractDrawableFunction
 
f(int) - Method in class net.moioli.drawables.AbstractDrawableSuccession
Calculates the series n a given n index.
f(double) - Method in class net.moioli.drawables.FunctionByPointsLines
Returns the y value corresponding to the specified x.
f(double) - Method in interface net.moioli.drawables.FunctionI
Returns the y value associated to the specified x.
f(double) - Method in class net.moioli.drawables.ParsedFunction
Returns the y value corresponding to the specified x.
f(int) - Method in class net.moioli.drawables.ParsedSeries
Returns the y value corresponding to the specified index n.
f(int) - Method in class net.moioli.drawables.ParsedSuccession
Returns the y value corresponding to the specified index n.
f(int) - Method in interface net.moioli.drawables.SuccessionI
Returns the y value associated to the specified index n.
fillPolygon(int[], int[], int) - Method in interface net.moioli.chart.GraphicsI
Draws a filled polygon.
FunctionByPointsI - Interface in net.moioli.drawables
A function which is defined (empirically) from a set of points.
FunctionByPointsLines - Class in net.moioli.drawables
A function which is defined (empirically) from a set of points, and interpolated/ extrapolated with lines.
FunctionByPointsLines() - Constructor for class net.moioli.drawables.FunctionByPointsLines
Default constructor (y=x)
FunctionByPointsLines(Collection) - Constructor for class net.moioli.drawables.FunctionByPointsLines
Standard constructor.
FunctionI - Interface in net.moioli.drawables
A simple interface that defines a single-variable mathematical function (y=internalFunction(x)).

G

getAscissae() - Method in interface net.moioli.drawables.FunctionByPointsI
Returns an array with the ascissae of the points that define this function.
getAscissae() - Method in class net.moioli.drawables.FunctionByPointsLines
Returns an array with the ascissae of the points that define this function.
getBlackColor() - Method in interface net.moioli.chart.GraphicsI
Returns the black color (an object representing the black color compatible with the underlying implementation).
getDescription() - Method in class net.moioli.drawables.BigPoint
Returns the description.
getDetail() - Method in class net.moioli.chart.Scale
 
getHeight() - Method in class net.moioli.chart.IntRectangle
Returns the rectangle's height.
getHeight(GraphicsI) - Method in class net.moioli.drawables.LegendElement
Return this LegendElement's height.
getMaximum(double, double) - Method in class net.moioli.drawables.AbstractDrawableFunction
Returns the point in which the function is maximum with an empirical algorithm.
getMaxT() - Method in class net.moioli.drawables.AbstractPlaneCurve
 
getMaxT() - Method in interface net.moioli.drawables.PlaneCurveI
Returns the maximum value the t parameter can assume.
getMaxX() - Method in class net.moioli.chart.AbstractChart
 
getMaxX() - Method in interface net.moioli.chart.ChartI
Returns the maximum x value represented.
getMaxX() - Method in class net.moioli.chart.Scale
 
getMaxY() - Method in class net.moioli.chart.AbstractChart
 
getMaxY() - Method in interface net.moioli.chart.ChartI
Returns the maximum y value represented.
getMaxY() - Method in class net.moioli.chart.Scale
 
getMinimum(double, double) - Method in class net.moioli.drawables.AbstractDrawableFunction
Returns the point in which the function is minimum with an empirical algorithm.
getMinX() - Method in class net.moioli.chart.AbstractChart
 
getMinX() - Method in interface net.moioli.chart.ChartI
Returns the minimum x value represented.
getMinX() - Method in class net.moioli.chart.Scale
 
getMinY() - Method in class net.moioli.chart.AbstractChart
 
getMinY() - Method in interface net.moioli.chart.ChartI
Returns the minimum y value represented.
getMinY() - Method in class net.moioli.chart.Scale
 
getOrdinate() - Method in interface net.moioli.drawables.FunctionByPointsI
Returns an array with the ordinate of the points that define this function.
getOrdinate() - Method in class net.moioli.drawables.FunctionByPointsLines
Returns an array with the ordinate of the points that define this function.
getPixelAccuracy() - Method in class net.moioli.chart.AbstractChart
 
getPixelAccuracy() - Method in interface net.moioli.chart.ChartI
Returns the pixelAccuracy value.
getPixelAccuracy() - Method in class net.moioli.chart.Scale
 
getRandomColor() - Method in interface net.moioli.chart.GraphicsI
Returns a random color from the underlying implementation.
getScreenMaxX() - Method in class net.moioli.chart.Scale
 
getScreenMaxY() - Method in class net.moioli.chart.Scale
 
getStep() - Method in class net.moioli.chart.Scale
When drawing mathematical functions it is needed to recalculate the function's value every "dx" increment from minX to maxX.
getStringHeight() - Method in interface net.moioli.chart.GraphicsI
Returns the maximum height of a drawn string (in pixels).
getStringWidth(String) - Method in interface net.moioli.chart.GraphicsI
Returns the width in pixels of a drawn string.
getWidth() - Method in class net.moioli.chart.IntRectangle
Returns the rectangle's width.
getX() - Method in class net.moioli.chart.IntPoint
Returns x.
getX() - Method in class net.moioli.chart.IntRectangle
Returns the x coordinate of the rectangle's top-left corner.
getX(double) - Method in class net.moioli.chart.Scale
Calculates the abscissa on the screen (in pixels) corresponding to the real abscissa passed according to this Scale object.
getX() - Method in class net.moioli.drawables.DoublePoint
Returns x.
getXMaximum() - Method in class net.moioli.drawables.AbstractPlaneCurve
Returns the parameter value in which the function has an x maximum with an empirical algorithm.
getXMeasure(double) - Method in class net.moioli.chart.Scale
Given a segment parallel to the x axis which length is l, this method returns the corresponding length in pixels.
getXMinimum() - Method in class net.moioli.drawables.AbstractPlaneCurve
Returns the parameter value in which the function has an x minimum with an empirical algorithm.
getXZoom() - Method in class net.moioli.chart.Scale
Returns the x zoom factor
getY() - Method in class net.moioli.chart.IntPoint
Returns y.
getY() - Method in class net.moioli.chart.IntRectangle
Returns the y coordinate of the rectangle's top-left corner.
getY(double) - Method in class net.moioli.chart.Scale
Calculates the ordinate on the screen (in pixels) corresponding to the real ordinate passed according to this Scale object.
getY() - Method in class net.moioli.drawables.DoublePoint
Returns y.
getYMaximum() - Method in class net.moioli.drawables.AbstractPlaneCurve
Returns the parameter value in which the function has an y maximum with an empirical algorithm.
getYMeasure(double) - Method in class net.moioli.chart.Scale
Given a segment parallel to the y axis which length is l, this method returns the corresponding length in pixels.
getYMinimum() - Method in class net.moioli.drawables.AbstractPlaneCurve
Returns the parameter value in which the function has an y minimum with an empirical algorithm.
getYZoom() - Method in class net.moioli.chart.Scale
Returns the y zoom factor
GraphicsI - Interface in net.moioli.chart
A common interface for the basic graphic operations that need to be implemented for DefaultChart to work properly.

H

height - Variable in class net.moioli.chart.IntRectangle
The rectangle's height.
Histogram - Class in net.moioli.drawables
A nice class to draw a histogram out of a Map table of data.
Histogram() - Constructor for class net.moioli.drawables.Histogram
Constructs a new, empty Histogram.

I

IntPoint - Class in net.moioli.chart
Represents a point on a cartesian plane with integer coordinate.
IntPoint() - Constructor for class net.moioli.chart.IntPoint
Constructs the point (0,0).
IntPoint(IntPoint) - Constructor for class net.moioli.chart.IntPoint
Copy constructor.
IntPoint(int, int) - Constructor for class net.moioli.chart.IntPoint
Standard constructor.
IntRectangle - Class in net.moioli.chart
Represents a rectangle on a cartesian plane with integer coordinate.
IntRectangle() - Constructor for class net.moioli.chart.IntRectangle
Constructs a rectangle with vertexes in (0,0), (0,1), (1,0), (1,1).
IntRectangle(IntRectangle) - Constructor for class net.moioli.chart.IntRectangle
Copy constructor.
IntRectangle(int, int, int, int) - Constructor for class net.moioli.chart.IntRectangle
Standard constructor.

L

LegendElement - Class in net.moioli.drawables
Represents an element in a DefaultChart's legend.
LegendElement() - Constructor for class net.moioli.drawables.LegendElement
Default constructor (empty LegendElement).
LegendElement(String, int, double) - Constructor for class net.moioli.drawables.LegendElement
Standard constructor.
Logo - Class in net.moioli.drawables
Draws MoioChart's logo.
Logo() - Constructor for class net.moioli.drawables.Logo
Default constructor.

M

maxX() - Method in class net.moioli.drawables.AbstractPlaneCurve
Returns the minimum y value that the function takes.
maxY(double, double) - Method in interface net.moioli.chart.DrawableI
Returns the maximum y value that should be represented in the DefaultChart for this object to be drawn properly.
maxY(double, double) - Method in class net.moioli.drawables.AbstractDrawableFunction
 
maxY(double, double) - Method in class net.moioli.drawables.AbstractDrawableSuccession
 
maxY(double, double) - Method in class net.moioli.drawables.AbstractPlaneCurve
 
maxY(double, double) - Method in class net.moioli.drawables.Axes
Since the axis will be drawn regardless of the scale, always return NaN.
maxY(double, double) - Method in class net.moioli.drawables.FunctionByPointsLines
Returns the maximum y value that should be represented in the DefaultChart for this object to be drawn properly.
maxY(double, double) - Method in class net.moioli.drawables.Histogram
 
maxY(double, double) - Method in class net.moioli.drawables.LegendElement
Since the Legend will be drawn regardless of the scale, always return NaN.
maxY(double, double) - Method in class net.moioli.drawables.Logo
Since the Logo will be drawn regardless of the scale, always return NaN.
maxY(double, double) - Method in class net.moioli.drawables.Pie
 
minX() - Method in class net.moioli.drawables.AbstractPlaneCurve
Returns the minimum x value that the function takes.
minY(double, double) - Method in interface net.moioli.chart.DrawableI
Returns the minimum y value that should be represented in the DefaultChart for this object to be drawn properly.
minY(double, double) - Method in class net.moioli.drawables.AbstractDrawableFunction
 
minY(double, double) - Method in class net.moioli.drawables.AbstractDrawableSuccession
 
minY(double, double) - Method in class net.moioli.drawables.AbstractPlaneCurve
 
minY(double, double) - Method in class net.moioli.drawables.Axes
Since the axis will be drawn regardless of the scale, always return NaN.
minY(double, double) - Method in class net.moioli.drawables.FunctionByPointsLines
Returns the minimum y value that should be represented in the DefaultChart for this object to be drawn properly.
minY(double, double) - Method in class net.moioli.drawables.Histogram
 
minY(double, double) - Method in class net.moioli.drawables.LegendElement
Since the Legend will be drawn regardless of the scale, always return NaN.
minY(double, double) - Method in class net.moioli.drawables.Logo
Since the Logo will be drawn regardless of the scale, always return NaN.
minY(double, double) - Method in class net.moioli.drawables.Pie
 

N

net.moioli.chart - package net.moioli.chart
 
net.moioli.drawables - package net.moioli.drawables
 

P

ParsedFunction - Class in net.moioli.drawables
This class provides a quick way to implement mathematical functions: parsing them from strings.
ParsedFunction(String) - Constructor for class net.moioli.drawables.ParsedFunction
Constructs a new function with the given string.
ParsedPlaneCurve - Class in net.moioli.drawables
This class provides a quick way to implement mathematical curves: parsing them from strings.
ParsedPlaneCurve(String, String, double) - Constructor for class net.moioli.drawables.ParsedPlaneCurve
Constructs a new function with the given strings (any point in this function has coordinates (x(t),y(t)).
ParsedSeries - Class in net.moioli.drawables
A convenient way to implement series, that is, defining them with a string that will be parsed.
ParsedSeries(int, String) - Constructor for class net.moioli.drawables.ParsedSeries
Standard constructor.
ParsedSuccession - Class in net.moioli.drawables
A convenient way to implement successions, that is, defining them with a string that will be parsed.
ParsedSuccession() - Constructor for class net.moioli.drawables.ParsedSuccession
Default constructor ({an=n})
ParsedSuccession(String) - Constructor for class net.moioli.drawables.ParsedSuccession
Standard constructor, takes a string and makes up a Succession.
Pie - Class in net.moioli.drawables
A nice class to draw a pie out of a Map table of data.
Pie() - Constructor for class net.moioli.drawables.Pie
Default constructor.
PlaneCurveI - Interface in net.moioli.drawables
A simple interface that defines a parametric mathematical function (x(t), y(t)).

S

safeF(int) - Method in class net.moioli.drawables.AbstractDrawableSuccession
Returns this.f(x), or NaN if an exception occured while computing.
Scale - Class in net.moioli.chart
Collects some of the necessary data for the DrawableI objects to be drawn on a DefaultChart, and provides common methods to calculate some scale parameters.
setAscissae(double[]) - Method in interface net.moioli.drawables.FunctionByPointsI
Changes the ascissae of the points that define this function.
setAscissae(double[]) - Method in class net.moioli.drawables.FunctionByPointsLines
Changes the ascissae of the points that define this function.
setColor(Object) - Method in interface net.moioli.chart.GraphicsI
Changes the color used to draw the foreground objects in this DefaultChart.
setDescription(String) - Method in class net.moioli.drawables.BigPoint
Changes the point's description
setMaxT(double) - Method in class net.moioli.drawables.AbstractPlaneCurve
 
setMaxT(double) - Method in interface net.moioli.drawables.PlaneCurveI
Sets the maximum value the t parameter can assume.
setMaxX(double) - Method in class net.moioli.chart.AbstractChart
 
setMaxX(double) - Method in interface net.moioli.chart.ChartI
Returns the maximum x value represented.
setMaxY(double) - Method in class net.moioli.chart.AbstractChart
 
setMaxY(double) - Method in interface net.moioli.chart.ChartI
The maximum y value to be represented.
setMinX(double) - Method in class net.moioli.chart.AbstractChart
 
setMinX(double) - Method in interface net.moioli.chart.ChartI
The minimum x value to be represented.
setMinY(double) - Method in class net.moioli.chart.AbstractChart
 
setMinY(double) - Method in interface net.moioli.chart.ChartI
The minimum y value represented.
setOrdinate(double[]) - Method in interface net.moioli.drawables.FunctionByPointsI
Changes the ordinate of the points that define this function.
setOrdinate(double[]) - Method in class net.moioli.drawables.FunctionByPointsLines
Changes the ordinate of the points that define this function.
setPixelAccuracy(int) - Method in class net.moioli.chart.AbstractChart
 
setPixelAccuracy(int) - Method in interface net.moioli.chart.ChartI
The pixelAccuracy to set.
setX(int) - Method in class net.moioli.chart.IntPoint
Sets the x value.
setX(double) - Method in class net.moioli.drawables.DoublePoint
Sets the x value.
setXY(int, int) - Method in class net.moioli.drawables.LegendElement
Moves this element changing the x and y relative positioning coordinate.
setY(int) - Method in class net.moioli.chart.IntPoint
Sets the y value.
setY(double) - Method in class net.moioli.drawables.DoublePoint
Sets the y value.
SuccessionI - Interface in net.moioli.drawables
A succession, or a function that takes a non-negative integer index and returns a real number.

T

toString() - Method in class net.moioli.chart.IntPoint
Returns a representaive string.
toString() - Method in class net.moioli.drawables.DoublePoint
Returns a representaive string.
toString() - Method in class net.moioli.drawables.ParsedFunction
Returns a string describing this function.
toString() - Method in class net.moioli.drawables.ParsedPlaneCurve
Returns a string describing this function.

W

width - Variable in class net.moioli.chart.IntRectangle
The rectangle's width.

X

x - Variable in class net.moioli.chart.IntPoint
The x coordinate.
x - Variable in class net.moioli.chart.IntRectangle
x coordinate of the rectangle's top-left corner.
x(double) - Method in class net.moioli.drawables.AbstractPlaneCurve
 
x - Variable in class net.moioli.drawables.DoublePoint
The x coordinate of the Point.
x(double) - Method in class net.moioli.drawables.ParsedPlaneCurve
 
x(double) - Method in interface net.moioli.drawables.PlaneCurveI
Returns the x value corresponding to the specified t (any point in this function has coordinates (x(t),y(t)).
xMeasureUnitValue(Scale) - Method in class net.moioli.drawables.Axes
This object will divide both x and y axes in a number of segments, each one representing a measure unit described in the Legend, to make the DefaultChart easier to read.
xMeasureUnitWidth(Scale) - Method in class net.moioli.drawables.Axes
This object will divide both x and y axes in a number of segments, each one representing a measure unit described in the Legend, to make the DefaultChart easier to read.

Y

y - Variable in class net.moioli.chart.IntPoint
The y coordinate.
y - Variable in class net.moioli.chart.IntRectangle
y coordinate of the rectangle's top-left corner.
y(double) - Method in class net.moioli.drawables.AbstractPlaneCurve
 
y - Variable in class net.moioli.drawables.DoublePoint
The y coordinate of the Point.
y(double) - Method in class net.moioli.drawables.ParsedPlaneCurve
 
y(double) - Method in interface net.moioli.drawables.PlaneCurveI
Returns the y value corresponding to the specified t (any point in this function has coordinates (x(t),y(t)).
yMeasureUnitValue(Scale) - Method in class net.moioli.drawables.Axes
This object will divide both x and y axes in a number of segments, each one representing a measure unit described in the Legend, to make the DefaultChart easier to read.
yMeasureUnitWidth(Scale) - Method in class net.moioli.drawables.Axes
This object will divide both x and y axes in a number of segments, each one representing a measure unit described in the Legend, to make the DefaultChart easier to read.

A B C D F G H I L M N P S T W X Y