Skip navigation links
A B C D E F G H I L M P R S T U V X Y Z 

A

AbstractGraphicContextSanityTest - Class in de.slothsoft.charts.test
We can't really tests GraphicContexts without a sophisticated algorithm to verify the resulting images (which is probably better done by a human looking over the images from example-generator), but we can sanity check if calling all methods of the GC will work without an exception.
AbstractGraphicContextSanityTest() - Constructor for class de.slothsoft.charts.test.AbstractGraphicContextSanityTest
 
addBar(double) - Method in class de.slothsoft.charts.barchart.BarChart
Creates a new Bar and adds it to this chart.
addBars(double...) - Method in class de.slothsoft.charts.barchart.BarChart
Creates some new Bars and adds them to this chart.
addLine(Line) - Method in class de.slothsoft.charts.linechart.LineChart
Adds a line to the chart.
addLines(Line...) - Method in class de.slothsoft.charts.linechart.LineChart
Adds some lines to the chart.
addRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.barchart.Bar
Adds a refresh listener that is called whenever the source needs to be redrawn by the GUI.
addRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.Chart
Adds a refresh listener that is called whenever this Chart needs to be redrawn by the GUI.
addRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.common.Axis
 
addRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.common.Border
 
addRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.common.Title
 
addRefreshListener(RefreshListener) - Method in interface de.slothsoft.charts.Drawable
Adds a refresh listener that is called whenever this Drawable needs to be redrawn by the GUI.
addRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.internal.RefreshListeners
Adds a refresh listener that is called whenever the source needs to be redrawn by the GUI.
addRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.linechart.Line
 
addRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.piechart.PieSlice
Adds a refresh listener that is called whenever the source needs to be redrawn by the GUI.
addSlice(double) - Method in class de.slothsoft.charts.piechart.PieChart
Creates a new PieSlice and adds it to this chart.
addSlices(double...) - Method in class de.slothsoft.charts.piechart.PieChart
Creates some new PieSlices and adds them to this chart.
alignment(TextAlignment) - Method in class de.slothsoft.charts.common.Title
Sets the alignment of the title.
AllMethodsChart - Class in de.slothsoft.charts.test
A chart that paints all methods of the GraphicContext.
AllMethodsChart() - Constructor for class de.slothsoft.charts.test.AllMethodsChart
 
apply(double) - Method in interface de.slothsoft.charts.linechart.FunctionLine.Function
Applies this function to the given argument.
Area - Class in de.slothsoft.charts
A simple class representing an area with start and end point.
Area() - Constructor for class de.slothsoft.charts.Area
Constructor that sets start and end points to 0|0.
Area(double, double) - Constructor for class de.slothsoft.charts.Area
Constructor that sets start point to 0|0.
Area(double, double, double, double) - Constructor for class de.slothsoft.charts.Area
Constructor.
area(Area) - Method in class de.slothsoft.charts.PaintInstructions
Sets the area to draw on.
arrowSize(double) - Method in class de.slothsoft.charts.common.Axis
Sets the size of the arrow at the end of the graph.
Axis - Class in de.slothsoft.charts.common
The X or Y axis of a Chart.
Axis() - Constructor for class de.slothsoft.charts.common.Axis
Creates an axis using no converters for the coordinates.
Axis(DoubleUnaryOperator, DoubleUnaryOperator) - Constructor for class de.slothsoft.charts.common.Axis
Creates an axis using converters for the coordinates.

B

backgroundColor(int) - Method in class de.slothsoft.charts.Chart
Sets the color as ARGB int, e.g.
Bar - Class in de.slothsoft.charts.barchart
A single of the BarChart.
BarChart - Class in de.slothsoft.charts.barchart
This class represents a Chart that displays some bars to compare values.
BarChart() - Constructor for class de.slothsoft.charts.barchart.BarChart
Default constructor.
bigTickSize(int) - Method in class de.slothsoft.charts.common.Axis
Sets the size of the big ticks in pixels.
bigTickSteps(int) - Method in class de.slothsoft.charts.common.Axis
Sets the range after which a big tick is painted on the graph.
Border - Class in de.slothsoft.charts.common
A border on a Chart.
Border() - Constructor for class de.slothsoft.charts.common.Border
 

C

calculateDisplayedArea() - Method in class de.slothsoft.charts.linechart.LineChart
Calculates the displayed area via LineChart.getDisplayedArea() or the added lines.
calculateGraphArea(double, double) - Method in class de.slothsoft.charts.Chart
Calculates the graph area by removing the ChartParts from the entire width and height.
calculateHeight() - Method in class de.slothsoft.charts.Area
Calculates this areas height from Area.getStartY() and Area.getEndY().
calculateTextSize(String) - Method in interface de.slothsoft.charts.GraphicContext
Calculates the size of the text.
calculateTextSize(String) - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
calculateTextSize(String) - Method in class de.slothsoft.charts.internal.LogGraphicContext
 
calculateTextSize(String) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
calculateTextSize(String) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 
calculateWidth() - Method in class de.slothsoft.charts.Area
Calculates this areas width from Area.getStartX() and Area.getEndX().
Chart - Class in de.slothsoft.charts
This is the base class this library is for.
Chart() - Constructor for class de.slothsoft.charts.Chart
Default constructor.
ChartControl - Class in de.slothsoft.charts.swing
A Swing control displaying a Chart and hooking it to the Swing framework.
ChartControl() - Constructor for class de.slothsoft.charts.swing.ChartControl
Default constructor without model.
ChartControl(Chart) - Constructor for class de.slothsoft.charts.swing.ChartControl
Default constructor.
ChartControl - Class in de.slothsoft.charts.swt
A SWT control displaying a Chart and hooking it to the SWT framework.
ChartControl(Composite, int) - Constructor for class de.slothsoft.charts.swt.ChartControl
Constructs a new instance of this class given its parentand a style value describing its behavior and appearance.
ChartPart - Interface in de.slothsoft.charts
This class represents a part of the Chart that is not used for the actual graph.
clip(Area) - Method in interface de.slothsoft.charts.GraphicContext
Restricts which area of the context can be used to drawn on.
clip(Area) - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
clip(Area) - Method in class de.slothsoft.charts.internal.LogGraphicContext
 
clip(Area) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
clip(Area) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 
color(int) - Method in class de.slothsoft.charts.barchart.Bar
Sets the color as ARGB int, e.g.
color(int) - Method in class de.slothsoft.charts.common.Title
Sets the color as ARGB int, e.g.
color(int) - Method in class de.slothsoft.charts.linechart.Line
Sets the color as ARGB int, e.g.
color(int) - Method in class de.slothsoft.charts.piechart.PieSlice
Sets the color as ARGB int, e.g.
containsPoint(double, double) - Method in class de.slothsoft.charts.Area
Returns true, if this area contains the point.
convertToChartX(double) - Method in class de.slothsoft.charts.linechart.LineChart
Converts a graph coordinate to a chart one.
convertToChartY(double) - Method in class de.slothsoft.charts.linechart.LineChart
Converts a graph coordinate to a chart one.
convertToGraphCoordinates(double, double) - Method in class de.slothsoft.charts.linechart.LineChart
Converts chart coordinates to a graph ones.
convertToGraphX(double) - Method in class de.slothsoft.charts.linechart.LineChart
Converts a chart coordinate to a graph one.
convertToGraphY(double) - Method in class de.slothsoft.charts.linechart.LineChart
Converts a chart coordinate to a graph one.
copy() - Method in class de.slothsoft.charts.Area
Creates a copy of this class.
copy() - Method in class de.slothsoft.charts.PaintInstructions
Creates a copy of this class.
createImage(Chart, int, int) - Static method in class de.slothsoft.charts.swing.SwingChartUtil
Creates an BufferedImage from a chart.
createImage(Chart, int, int) - Static method in class de.slothsoft.charts.swt.SwtChartUtil
Creates an Image from a chart.

D

DataPointLine - Class in de.slothsoft.charts.linechart
A Line that is based on data points, i.e.
DataPointLine(double...) - Constructor for class de.slothsoft.charts.linechart.DataPointLine
Constructor with only the y values.
DataPointLine(double[], double[]) - Constructor for class de.slothsoft.charts.linechart.DataPointLine
Constructor with x and y values.
de.slothsoft.charts - package de.slothsoft.charts
 
de.slothsoft.charts.barchart - package de.slothsoft.charts.barchart
 
de.slothsoft.charts.common - package de.slothsoft.charts.common
 
de.slothsoft.charts.internal - package de.slothsoft.charts.internal
 
de.slothsoft.charts.linechart - package de.slothsoft.charts.linechart
 
de.slothsoft.charts.piechart - package de.slothsoft.charts.piechart
 
de.slothsoft.charts.swing - package de.slothsoft.charts.swing
 
de.slothsoft.charts.swt - package de.slothsoft.charts.swt
 
de.slothsoft.charts.test - package de.slothsoft.charts.test
 
defaultBarColor(int) - Method in class de.slothsoft.charts.barchart.BarChart
Sets the default color of the bars as ARGB int, e.g.
delegate(Graphics2D) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
Sets the Graphics2D.
delegate(GC) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
Sets the GC.
DelegatingGraphicContext - Class in de.slothsoft.charts.internal
This is a GraphicContext that only delegates to another one.
DelegatingGraphicContext(GraphicContext) - Constructor for class de.slothsoft.charts.internal.DelegatingGraphicContext
 
displayedArea(Area) - Method in class de.slothsoft.charts.linechart.LineChart
Sets the displayed area of this chart, i.e.
dispose() - Method in class de.slothsoft.charts.swt.ChartControl
 
dispose() - Method in class de.slothsoft.charts.swt.SwtGraphicContext
Disposes of the operating system resources associated with this resource.
Drawable - Interface in de.slothsoft.charts
This class represents an abstract drawable, weather it's a graph or a rectangle or something else entirely.
drawLine(double, double, double, double) - Method in interface de.slothsoft.charts.GraphicContext
Draws a simple line between two points.
drawLine(double, double, double, double) - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
drawLine(double, double, double, double) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
drawLine(double, double, double, double) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 
drawPolyline(double[], double[]) - Method in interface de.slothsoft.charts.GraphicContext
Paints the outline of a polyline.
drawPolyline(double[], double[]) - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
drawPolyline(double[], double[]) - Method in class de.slothsoft.charts.internal.LogGraphicContext
 
drawPolyline(double[], double[]) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
drawPolyline(double[], double[]) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 
drawRectangle(Area) - Method in interface de.slothsoft.charts.GraphicContext
Paints a outline of a rectangle.
drawRectangle(double, double, double, double) - Method in interface de.slothsoft.charts.GraphicContext
Paints a outline of a rectangle.
drawText(double, double, String) - Method in interface de.slothsoft.charts.GraphicContext
Paints the text on a position.
drawText(double, double, String) - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
drawText(double, double, String) - Method in class de.slothsoft.charts.internal.LogGraphicContext
 
drawText(double, double, String) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
drawText(double, double, String) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 
drawText(GraphicContext, Area, String) - Method in enum de.slothsoft.charts.TextAlignment
 

E

endX(double) - Method in class de.slothsoft.charts.Area
 
endY(double) - Method in class de.slothsoft.charts.Area
 
equals(Object) - Method in class de.slothsoft.charts.Area
 
equals(Object) - Method in class de.slothsoft.charts.PaintInstructions
 
Event(Object) - Constructor for class de.slothsoft.charts.RefreshListener.Event
Default constructor.

F

fillArc(double, double, double, double, double, double) - Method in interface de.slothsoft.charts.GraphicContext
Draws the outline of a circular or elliptical arc covering the specified rectangle.
fillArc(double, double, double, double, double, double) - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
fillArc(double, double, double, double, double, double) - Method in class de.slothsoft.charts.internal.LogGraphicContext
 
fillArc(double, double, double, double, double, double) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
fillArc(double, double, double, double, double, double) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 
fillOval(double, double, double, double) - Method in interface de.slothsoft.charts.GraphicContext
Paints a filled oval.
fillOval(double, double, double, double) - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
fillOval(double, double, double, double) - Method in class de.slothsoft.charts.internal.LogGraphicContext
 
fillOval(double, double, double, double) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
fillOval(double, double, double, double) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 
fillPolygon(double[], double[]) - Method in interface de.slothsoft.charts.GraphicContext
Paints a filled polygon.
fillPolygon(double[], double[]) - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
fillPolygon(double[], double[]) - Method in class de.slothsoft.charts.internal.LogGraphicContext
 
fillPolygon(double[], double[]) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
fillPolygon(double[], double[]) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 
fillRectangle(Area) - Method in interface de.slothsoft.charts.GraphicContext
Paints a filled rectangle.
fillRectangle(double, double, double, double) - Method in interface de.slothsoft.charts.GraphicContext
Paints a filled rectangle.
fillRectangle(double, double, double, double) - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
fillRectangle(double, double, double, double) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
fillRectangle(double, double, double, double) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 
fireRefreshNeeded() - Method in class de.slothsoft.charts.internal.RefreshListeners
Fires a default event for the RefreshListeners of the source.
fireRefreshNeeded(RefreshListener.Event) - Method in class de.slothsoft.charts.internal.RefreshListeners
Fires an event for the RefreshListeners of the source.
font(Font) - Method in class de.slothsoft.charts.common.Title
Sets the font used to paint the title.
Font - Enum in de.slothsoft.charts
The fonts that can be used with the GraphicContext.
FunctionLine - Class in de.slothsoft.charts.linechart
A Line that is based on a function.
FunctionLine(FunctionLine.Function) - Constructor for class de.slothsoft.charts.linechart.FunctionLine
Constructor.
FunctionLine.Function - Interface in de.slothsoft.charts.linechart
The function a FunctionLine is based on.

G

getAlignment() - Method in class de.slothsoft.charts.common.Title
Returns the alignment of the title.
getArea() - Method in class de.slothsoft.charts.PaintInstructions
Returns the area to draw on.
getArrowSize() - Method in class de.slothsoft.charts.common.Axis
Returns the size of the arrow at the end of the graph.
getAxis() - Method in class de.slothsoft.charts.barchart.BarChart
Returns the axis of this line chart.
getBackgroundColor() - Method in class de.slothsoft.charts.Chart
Returns the color as ARGB int, e.g.
getBigTickSize() - Method in class de.slothsoft.charts.common.Axis
Returns the size of the big ticks in pixels.
getBigTickSteps() - Method in class de.slothsoft.charts.common.Axis
Returns the range after which a big tick is painted on the graph.
getBorder() - Method in class de.slothsoft.charts.Chart
Returns the border this chart has.
getColor() - Method in class de.slothsoft.charts.barchart.Bar
Returns the color as ARGB int, e.g.
getColor() - Method in class de.slothsoft.charts.common.Title
Returns the color as ARGB int, e.g.
getColor() - Method in interface de.slothsoft.charts.GraphicContext
Returns the color as ARGB int, e.g.
getColor() - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
getColor() - Method in class de.slothsoft.charts.internal.LogGraphicContext
 
getColor() - Method in class de.slothsoft.charts.linechart.Line
Returns the color as ARGB int, e.g.
getColor() - Method in class de.slothsoft.charts.piechart.PieSlice
Returns the color as ARGB int, e.g.
getColor() - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
getColor() - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 
getDefaultBarColor() - Method in class de.slothsoft.charts.barchart.BarChart
Returns the default color of the bars as ARGB int, e.g.
getDelegate() - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
Returns the Graphics2D.
getDelegate() - Method in class de.slothsoft.charts.swt.SwtGraphicContext
Returns the GC.
getDisplayedArea() - Method in class de.slothsoft.charts.linechart.LineChart
Returns the displayed area of this chart, i.e.
getEndX() - Method in class de.slothsoft.charts.Area
 
getEndY() - Method in class de.slothsoft.charts.Area
 
getFont() - Method in class de.slothsoft.charts.common.Title
Returns the font used to paint the title.
getFont() - Method in interface de.slothsoft.charts.GraphicContext
Returns the font as an enum with the font properties as hints for the actual font used by the GUI.
getFont() - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
getFont() - Method in class de.slothsoft.charts.internal.LogGraphicContext
 
getFont() - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
getFont() - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 
getLog() - Method in class de.slothsoft.charts.internal.LogGraphicContext
 
getModel() - Method in class de.slothsoft.charts.swing.ChartControl
Returns the Chart that gets displayed by this control.
getModel() - Method in class de.slothsoft.charts.swt.ChartControl
Returns the Chart that gets displayed by this control.
getMovementMouseButton() - Method in class de.slothsoft.charts.swing.MoveLineChartByMouseListener
Returns the button that needs to be pressed to move the chart.
getMovementMouseButton() - Method in class de.slothsoft.charts.swt.MoveLineChartByMouseListener
Returns the button that needs to be pressed to move the chart.
getPieBorder() - Method in class de.slothsoft.charts.piechart.PieChart
Returns the pie's border size.
getPieColor() - Method in class de.slothsoft.charts.piechart.PieChart
Returns the color of the pie as ARGB int, e.g.
getPosition() - Method in class de.slothsoft.charts.common.Title
Returns the position of the title.
getPosition() - Method in class de.slothsoft.charts.linechart.XAxis
Returns the position of the x axis.
getPosition() - Method in class de.slothsoft.charts.linechart.YAxis
Returns the position of the y axis.
getPreferredArea() - Method in class de.slothsoft.charts.linechart.FunctionLine
Returns the area this line would like to display.
getSize() - Method in class de.slothsoft.charts.common.Title
Returns the height of the title, if one is drawn.
getSize() - Method in enum de.slothsoft.charts.Font
Returns the size hint.
getSource() - Method in class de.slothsoft.charts.RefreshListener.Event
The source of the event.
getSpaceOnBottom() - Method in class de.slothsoft.charts.common.Border
Return the border size on the bottom.
getSpaceOnLeft() - Method in class de.slothsoft.charts.common.Border
Return the border size on the left.
getSpaceOnRight() - Method in class de.slothsoft.charts.common.Border
Return the border size on the right.
getSpaceOnTop() - Method in class de.slothsoft.charts.common.Border
Return the border size on the top.
getStartAngle() - Method in class de.slothsoft.charts.piechart.PieChart
Returns the angle the pie starts drawing its slices.
getStartX() - Method in class de.slothsoft.charts.Area
 
getStartY() - Method in class de.slothsoft.charts.Area
 
getStepSize() - Method in class de.slothsoft.charts.linechart.FunctionLine
Returns the value that is used to determine which x values are drawn in FunctionLine.paintOn(GraphicContext, PaintInstructions), i.e.
getText() - Method in class de.slothsoft.charts.common.Title
Returns the text that is the title or null to show there is no title.
getTickSize() - Method in class de.slothsoft.charts.common.Axis
Returns the size of the ticks in pixels.
getTickSteps() - Method in class de.slothsoft.charts.common.Axis
Returns the range after which a tick is painted on the graph.
getTitle() - Method in class de.slothsoft.charts.Chart
Returns the title this chart has.
getValue() - Method in class de.slothsoft.charts.barchart.Bar
Sets the value this represents.
getValue() - Method in class de.slothsoft.charts.piechart.PieSlice
Sets the value this slice represents.
getXAxis() - Method in class de.slothsoft.charts.linechart.LineChart
Returns the x axis of this line chart.
getYAxis() - Method in class de.slothsoft.charts.linechart.LineChart
Returns the y axis of this line chart.
getZoomFactor() - Method in class de.slothsoft.charts.linechart.LineChart
Returns the factor which should be used to zoom the graph area.
GraphicContext - Interface in de.slothsoft.charts
Something you can draw on.
Graphics2DGraphicContext - Class in de.slothsoft.charts.swing
A GraphicContext implementation using the Swing Graphics2D to draw on whatever you like.
Graphics2DGraphicContext(Graphics2D) - Constructor for class de.slothsoft.charts.swing.Graphics2DGraphicContext
 

H

hashCode() - Method in class de.slothsoft.charts.Area
 
hashCode() - Method in class de.slothsoft.charts.PaintInstructions
 
hookToControl(Component, LineChart) - Static method in class de.slothsoft.charts.swing.MoveLineChartByMouseListener
Creates a new MoveLineChartByMouseListener, hooks it to a control (not necessary a ChartControl, but that's probably a good idea) and returns the brand new instance.
hookToControl(Control, LineChart) - Static method in class de.slothsoft.charts.swt.MoveLineChartByMouseListener
Creates a new MoveLineChartByMouseListener, hooks it to a control (not necessary a ChartControl, but that's probably a good idea) and returns the brand new instance.

I

isBold() - Method in enum de.slothsoft.charts.Font
Returns the bold hint.

L

Line - Class in de.slothsoft.charts.linechart
A line inside the LineChart.
Line() - Constructor for class de.slothsoft.charts.linechart.Line
 
LineChart - Class in de.slothsoft.charts.linechart
This class represents a Chart that displays lines of some sort inside a coordinate system.
LineChart() - Constructor for class de.slothsoft.charts.linechart.LineChart
Default constructor.
LogGraphicContext - Class in de.slothsoft.charts.internal
An implementation to test stuff, e.g.
LogGraphicContext() - Constructor for class de.slothsoft.charts.internal.LogGraphicContext
 

M

model(Chart) - Method in class de.slothsoft.charts.swing.ChartControl
Sets the Chart that gets displayed by this control.
model(Chart) - Method in class de.slothsoft.charts.swt.ChartControl
Sets the Chart that gets displayed by this control.
mouseClicked(MouseEvent) - Method in class de.slothsoft.charts.swing.MoveLineChartByMouseListener
 
mouseDoubleClick(MouseEvent) - Method in class de.slothsoft.charts.swt.MoveLineChartByMouseListener
 
mouseDown(MouseEvent) - Method in class de.slothsoft.charts.swt.MoveLineChartByMouseListener
 
mouseDragged(MouseEvent) - Method in class de.slothsoft.charts.swing.MoveLineChartByMouseListener
 
mouseEntered(MouseEvent) - Method in class de.slothsoft.charts.swing.MoveLineChartByMouseListener
 
mouseExited(MouseEvent) - Method in class de.slothsoft.charts.swing.MoveLineChartByMouseListener
 
mouseMove(MouseEvent) - Method in class de.slothsoft.charts.swt.MoveLineChartByMouseListener
 
mouseMoved(MouseEvent) - Method in class de.slothsoft.charts.swing.MoveLineChartByMouseListener
 
mousePressed(MouseEvent) - Method in class de.slothsoft.charts.swing.MoveLineChartByMouseListener
 
mouseReleased(MouseEvent) - Method in class de.slothsoft.charts.swing.MoveLineChartByMouseListener
 
mouseScrolled(MouseEvent) - Method in class de.slothsoft.charts.swt.MoveLineChartByMouseListener
 
mouseUp(MouseEvent) - Method in class de.slothsoft.charts.swt.MoveLineChartByMouseListener
 
mouseWheelMoved(MouseWheelEvent) - Method in class de.slothsoft.charts.swing.MoveLineChartByMouseListener
 
move(double, double) - Method in class de.slothsoft.charts.Area
Moves the area.
moveDisplayedAreaByChartCoordinates(double, double) - Method in class de.slothsoft.charts.linechart.LineChart
Moves the displayed area of this Chart by the coordinates used for the entire chart.
MoveLineChartByMouseListener - Class in de.slothsoft.charts.swing
A MouseListener, MouseMotionListener and MouseWheelListener to move the diagram with the mouse.
MoveLineChartByMouseListener(LineChart) - Constructor for class de.slothsoft.charts.swing.MoveLineChartByMouseListener
Constructor.
MoveLineChartByMouseListener - Class in de.slothsoft.charts.swt
A MouseListener, MouseMoveListener and MouseWheelListener to move the diagram with the mouse.
MoveLineChartByMouseListener(LineChart) - Constructor for class de.slothsoft.charts.swt.MoveLineChartByMouseListener
Constructor.
movementMouseButton(int) - Method in class de.slothsoft.charts.swing.MoveLineChartByMouseListener
Sets the button that needs to be pressed to move the chart.
movementMouseButton(int) - Method in class de.slothsoft.charts.swt.MoveLineChartByMouseListener
Sets the button that needs to be pressed to move the chart.

P

PaintInstructions - Class in de.slothsoft.charts
Additional instructions for a Chart or Drawable on what to paint .Classes are connected like this:
UML Diagram
PaintInstructions(Area) - Constructor for class de.slothsoft.charts.PaintInstructions
Default constructor.
paintOn(GraphicContext, PaintInstructions) - Method in class de.slothsoft.charts.barchart.XYAxis
 
paintOn(GraphicContext, PaintInstructions) - Method in class de.slothsoft.charts.Chart
Paints the current content onto the graphic context.
paintOn(GraphicContext, PaintInstructions) - Method in interface de.slothsoft.charts.ChartPart
Paints the current content onto the graphic context.
paintOn(GraphicContext, PaintInstructions) - Method in class de.slothsoft.charts.common.Border
 
paintOn(GraphicContext, PaintInstructions) - Method in class de.slothsoft.charts.common.Title
 
paintOn(GraphicContext, PaintInstructions) - Method in interface de.slothsoft.charts.Drawable
Paints the current content onto the graphic context.
paintOn(GraphicContext, PaintInstructions) - Method in class de.slothsoft.charts.linechart.DataPointLine
 
paintOn(GraphicContext, PaintInstructions) - Method in class de.slothsoft.charts.linechart.FunctionLine
 
paintOn(GraphicContext, PaintInstructions) - Method in class de.slothsoft.charts.linechart.LineChart
 
paintOn(GraphicContext, PaintInstructions) - Method in class de.slothsoft.charts.linechart.XAxis
 
paintOn(GraphicContext, PaintInstructions) - Method in class de.slothsoft.charts.linechart.YAxis
 
pieBorder(double) - Method in class de.slothsoft.charts.piechart.PieChart
Sets the pie's border size.
PieChart - Class in de.slothsoft.charts.piechart
This class represents a Chart that displays a circle with sections representing percentages.
PieChart() - Constructor for class de.slothsoft.charts.piechart.PieChart
 
pieColor(int) - Method in class de.slothsoft.charts.piechart.PieChart
Sets the color of the pie as ARGB int, e.g.
PieSlice - Class in de.slothsoft.charts.piechart
A single slice of the PieChart.
position(Title.Position) - Method in class de.slothsoft.charts.common.Title
Sets the position of the title.
position(XAxis.Position) - Method in class de.slothsoft.charts.linechart.XAxis
Sets the position of the x axis.
position(YAxis.Position) - Method in class de.slothsoft.charts.linechart.YAxis
Sets the position of the y axis.
preferredArea(Area) - Method in class de.slothsoft.charts.linechart.FunctionLine
Sets the area this line would like to display.

R

RefreshListener - Interface in de.slothsoft.charts
A listener that is used whenever an objects needs refreshing and wants to comunicate this fact.
RefreshListener.Event - Class in de.slothsoft.charts
Event for the RefreshListener.
RefreshListeners - Class in de.slothsoft.charts.internal
A class that capsules all the functionality needed to get the RefreshListener to work correctly.
RefreshListeners(Object) - Constructor for class de.slothsoft.charts.internal.RefreshListeners
Default constructor.
refreshNeeded(RefreshListener.Event) - Method in interface de.slothsoft.charts.RefreshListener
This method indicates something changed on the event's source in a way that makes refreshing necessary.
removeBar(Bar) - Method in class de.slothsoft.charts.barchart.BarChart
Removes a Bar from this chart.
removeBars(Bar...) - Method in class de.slothsoft.charts.barchart.BarChart
Removes some Bars from this chart.
removeLine(Line) - Method in class de.slothsoft.charts.linechart.LineChart
Removes a line from the chart.
removeLines(Line...) - Method in class de.slothsoft.charts.linechart.LineChart
Removes some lines to the chart.
removeRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.barchart.Bar
Removes a refresh listener that was called whenever the source needed to be redrawn by the GUI.
removeRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.Chart
Removes a refresh listener that was called whenever this Chart needed to be redrawn by the GUI.
removeRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.common.Axis
 
removeRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.common.Border
 
removeRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.common.Title
 
removeRefreshListener(RefreshListener) - Method in interface de.slothsoft.charts.Drawable
Removes a refresh listener that was called whenever this Drawable needed to be redrawn by the GUI.
removeRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.internal.RefreshListeners
Removes a refresh listener that was called whenever the source needed to be redrawn by the GUI.
removeRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.linechart.Line
 
removeRefreshListener(RefreshListener) - Method in class de.slothsoft.charts.piechart.PieSlice
Removes a refresh listener that was called whenever the source needed to be redrawn by the GUI.
removeSlice(PieSlice) - Method in class de.slothsoft.charts.piechart.PieChart
Removes a PieSlice from this chart.
removeSlices(PieSlice...) - Method in class de.slothsoft.charts.piechart.PieChart
Removes some PieSlices from this chart.
resetDisplayedArea() - Method in class de.slothsoft.charts.linechart.LineChart
Resets the displayed area.

S

scale(double) - Method in interface de.slothsoft.charts.GraphicContext
Scales the drawing canvas with the factor.
scale(double, double) - Method in interface de.slothsoft.charts.GraphicContext
Scales the drawing canvas with the factor.
scale(double) - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
scale(double, double) - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
scale(double, double) - Method in class de.slothsoft.charts.internal.LogGraphicContext
 
scale(double, double) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
scale(double, double) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 
setAlignment(TextAlignment) - Method in class de.slothsoft.charts.common.Title
Sets the alignment of the title.
setArea(Area) - Method in class de.slothsoft.charts.PaintInstructions
Sets the area to draw on.
setArrowSize(double) - Method in class de.slothsoft.charts.common.Axis
Sets the size of the arrow at the end of the graph.
setBackgroundColor(int) - Method in class de.slothsoft.charts.Chart
Sets the color as ARGB int, e.g.
setBigTickSize(int) - Method in class de.slothsoft.charts.common.Axis
Sets the size of the big ticks in pixels.
setBigTickSteps(int) - Method in class de.slothsoft.charts.common.Axis
Sets the range after which a big tick is painted on the graph.
setColor(int) - Method in class de.slothsoft.charts.barchart.Bar
Sets the color as ARGB int, e.g.
setColor(int) - Method in class de.slothsoft.charts.common.Title
Sets the color as ARGB int, e.g.
setColor(int) - Method in interface de.slothsoft.charts.GraphicContext
Sets the color as ARGB int, e.g.
setColor(int) - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
setColor(int) - Method in class de.slothsoft.charts.internal.LogGraphicContext
 
setColor(int) - Method in class de.slothsoft.charts.linechart.Line
Sets the color as ARGB int, e.g.
setColor(int) - Method in class de.slothsoft.charts.piechart.PieSlice
Sets the color as ARGB int, e.g.
setColor(int) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
setColor(int) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 
setDefaultBarColor(int) - Method in class de.slothsoft.charts.barchart.BarChart
Sets the default color of the bars as ARGB int, e.g.
setDelegate(Graphics2D) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
Sets the Graphics2D.
setDelegate(GC) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
Sets the GC.
setDisplayedArea(Area) - Method in class de.slothsoft.charts.linechart.LineChart
Sets the displayed area of this chart, i.e.
setEndX(double) - Method in class de.slothsoft.charts.Area
 
setEndY(double) - Method in class de.slothsoft.charts.Area
 
setFont(Font) - Method in class de.slothsoft.charts.common.Title
Sets the font used to paint the title.
setFont(Font) - Method in interface de.slothsoft.charts.GraphicContext
Sets the font as an enum with the font properties as hints for the actual font used by the GUI.
setFont(Font) - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
setFont(Font) - Method in class de.slothsoft.charts.internal.LogGraphicContext
 
setFont(Font) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
setFont(Font) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 
setModel(Chart) - Method in class de.slothsoft.charts.swing.ChartControl
Sets the Chart that gets displayed by this control.
setModel(Chart) - Method in class de.slothsoft.charts.swt.ChartControl
Sets the Chart that gets displayed by this control.
setMovementMouseButton(int) - Method in class de.slothsoft.charts.swing.MoveLineChartByMouseListener
Sets the button that needs to be pressed to move the chart.
setMovementMouseButton(int) - Method in class de.slothsoft.charts.swt.MoveLineChartByMouseListener
Sets the button that needs to be pressed to move the chart.
setPieBorder(double) - Method in class de.slothsoft.charts.piechart.PieChart
Sets the pie's border size.
setPieColor(int) - Method in class de.slothsoft.charts.piechart.PieChart
Sets the color of the pie as ARGB int, e.g.
setPosition(Title.Position) - Method in class de.slothsoft.charts.common.Title
Sets the position of the title.
setPosition(XAxis.Position) - Method in class de.slothsoft.charts.linechart.XAxis
Sets the position of the x axis.
setPosition(YAxis.Position) - Method in class de.slothsoft.charts.linechart.YAxis
Sets the position of the y axis.
setPreferredArea(Area) - Method in class de.slothsoft.charts.linechart.FunctionLine
Sets the area this line would like to display.
setSize(double) - Method in class de.slothsoft.charts.common.Title
Sets the height of the title, if one is drawn.
setSpace(int) - Method in class de.slothsoft.charts.common.Border
Sets the border size in all four directions.
setSpaceOnBottom(int) - Method in class de.slothsoft.charts.common.Border
Sets the border size on the bottom.
setSpaceOnLeft(int) - Method in class de.slothsoft.charts.common.Border
Sets the border size on the left.
setSpaceOnRight(int) - Method in class de.slothsoft.charts.common.Border
Sets the border size on the right.
setSpaceOnTop(int) - Method in class de.slothsoft.charts.common.Border
Sets the border size on the top.
setStartAngle(double) - Method in class de.slothsoft.charts.piechart.PieChart
Sets the angle the pie starts drawing its slices.
setStartX(double) - Method in class de.slothsoft.charts.Area
 
setStartY(double) - Method in class de.slothsoft.charts.Area
 
setStepSize(double) - Method in class de.slothsoft.charts.linechart.FunctionLine
Sets the value that is used to determine which x values are drawn in FunctionLine.paintOn(GraphicContext, PaintInstructions), i.e.
setText(String) - Method in class de.slothsoft.charts.common.Title
Sets the text that is the title or null to show there is no title.
setTickSize(int) - Method in class de.slothsoft.charts.common.Axis
Sets the size of the ticks in pixels.
setTickSteps(int) - Method in class de.slothsoft.charts.common.Axis
Sets the range after which a tick is painted on the graph.
setUp() - Method in class de.slothsoft.charts.test.AbstractGraphicContextSanityTest
 
setValue(double) - Method in class de.slothsoft.charts.barchart.Bar
Sets the value this represents.
setValue(double) - Method in class de.slothsoft.charts.piechart.PieSlice
Sets the value this slice represents.
setZoomFactor(double) - Method in class de.slothsoft.charts.linechart.LineChart
Sets the factor which should be used to zoom the graph area.
size(double) - Method in class de.slothsoft.charts.common.Title
Sets the height of the title, if one is drawn.
snipNecessarySpace(Area) - Method in interface de.slothsoft.charts.ChartPart
This method removes space from the existing area to make room for this part.
snipNecessarySpace(Area) - Method in class de.slothsoft.charts.common.Border
 
snipNecessarySpace(Area) - Method in class de.slothsoft.charts.common.Title
 
space(int) - Method in class de.slothsoft.charts.common.Border
Sets the border size in all four directions.
spaceOnBottom(int) - Method in class de.slothsoft.charts.common.Border
Sets the border size on the bottom.
spaceOnLeft(int) - Method in class de.slothsoft.charts.common.Border
Sets the border size on the left.
spaceOnRight(int) - Method in class de.slothsoft.charts.common.Border
Sets the border size on the right.
spaceOnTop(int) - Method in class de.slothsoft.charts.common.Border
Sets the border size on the top.
startAngle(double) - Method in class de.slothsoft.charts.piechart.PieChart
Sets the angle the pie starts drawing its slices.
startX(double) - Method in class de.slothsoft.charts.Area
 
startY(double) - Method in class de.slothsoft.charts.Area
 
stepSize(double) - Method in class de.slothsoft.charts.linechart.FunctionLine
Sets the value that is used to determine which x values are drawn in FunctionLine.paintOn(GraphicContext, PaintInstructions), i.e.
SwingChartUtil - Class in de.slothsoft.charts.swing
Some util classes to generate stuff surrounding the Chart in Swing.
SwtChartUtil - Class in de.slothsoft.charts.swt
Some util classes to generate stuff surrounding the Chart in SWT.
SwtGraphicContext - Class in de.slothsoft.charts.swt
A GraphicContext implementation using the SWT GC to draw on whatever you like.
SwtGraphicContext(GC) - Constructor for class de.slothsoft.charts.swt.SwtGraphicContext
Constructor.

T

testAllPaintMethods() - Method in class de.slothsoft.charts.test.AbstractGraphicContextSanityTest
 
testPaintBarChart() - Method in class de.slothsoft.charts.test.AbstractGraphicContextSanityTest
 
testPaintLineChart() - Method in class de.slothsoft.charts.test.AbstractGraphicContextSanityTest
 
testPaintPieChart() - Method in class de.slothsoft.charts.test.AbstractGraphicContextSanityTest
 
testSetColor() - Method in class de.slothsoft.charts.test.AbstractGraphicContextSanityTest
 
testSetFont() - Method in class de.slothsoft.charts.test.AbstractGraphicContextSanityTest
 
testSetFontGettingBigger() - Method in class de.slothsoft.charts.test.AbstractGraphicContextSanityTest
 
text(String) - Method in class de.slothsoft.charts.common.Title
Sets the text that is the title or null to show there is no title.
TextAlignment - Enum in de.slothsoft.charts
General text alignment that can be used to draw text using an GraphicContext.
tickSize(int) - Method in class de.slothsoft.charts.common.Axis
Sets the size of the ticks in pixels.
tickSteps(int) - Method in class de.slothsoft.charts.common.Axis
Sets the range after which a tick is painted on the graph.
Title - Class in de.slothsoft.charts.common
A title over an Chart.
Title() - Constructor for class de.slothsoft.charts.common.Title
 
Title.Position - Enum in de.slothsoft.charts.common
The position of the Title.
toString() - Method in class de.slothsoft.charts.Area
 
toString() - Method in class de.slothsoft.charts.barchart.Bar
 
toString() - Method in class de.slothsoft.charts.common.Title
 
toString() - Method in class de.slothsoft.charts.PaintInstructions
 
toString() - Method in class de.slothsoft.charts.piechart.PieSlice
 
translate(double, double) - Method in interface de.slothsoft.charts.GraphicContext
Moves the drawing canvas's origin to the new coordinates.
translate(double, double) - Method in class de.slothsoft.charts.internal.DelegatingGraphicContext
 
translate(double, double) - Method in class de.slothsoft.charts.internal.LogGraphicContext
 
translate(double, double) - Method in class de.slothsoft.charts.swing.Graphics2DGraphicContext
 
translate(double, double) - Method in class de.slothsoft.charts.swt.SwtGraphicContext
 

U

unite(Area) - Method in class de.slothsoft.charts.Area
Returns an area surrounding this area and the one coming in.

V

value(double) - Method in class de.slothsoft.charts.barchart.Bar
Sets the value this represents.
value(double) - Method in class de.slothsoft.charts.piechart.PieSlice
Sets the value this slice represents.
valueOf(String) - Static method in enum de.slothsoft.charts.common.Title.Position
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.slothsoft.charts.Font
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.slothsoft.charts.linechart.XAxis.Position
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.slothsoft.charts.linechart.YAxis.Position
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.slothsoft.charts.TextAlignment
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.slothsoft.charts.common.Title.Position
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.slothsoft.charts.Font
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.slothsoft.charts.linechart.XAxis.Position
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.slothsoft.charts.linechart.YAxis.Position
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.slothsoft.charts.TextAlignment
Returns an array containing the constants of this enum type, in the order they are declared.

X

XAxis - Class in de.slothsoft.charts.linechart
The X axis of a LineChart.
XAxis(LineChart) - Constructor for class de.slothsoft.charts.linechart.XAxis
Constructor for a LineChart.
XAxis.Position - Enum in de.slothsoft.charts.linechart
The position of the X axis.
XYAxis - Class in de.slothsoft.charts.barchart
The X or Y axis of a BarChart.
XYAxis(BarChart) - Constructor for class de.slothsoft.charts.barchart.XYAxis
Constructor for a BarChart.

Y

YAxis - Class in de.slothsoft.charts.linechart
The Y axis of a LineChart.
YAxis(LineChart) - Constructor for class de.slothsoft.charts.linechart.YAxis
Constructor for a LineChart.
YAxis.Position - Enum in de.slothsoft.charts.linechart
The position of the Y axis.

Z

zoomDisplayedAreaInByChartCoordinates(double, double) - Method in class de.slothsoft.charts.linechart.LineChart
Zooms the graph area in using the chart's coordinates.
zoomDisplayedAreaInByGraphCoordinates(double, double) - Method in class de.slothsoft.charts.linechart.LineChart
Zooms the graph area in using the graph's coordinates.
zoomDisplayedAreaOutByChartCoordinates(double, double) - Method in class de.slothsoft.charts.linechart.LineChart
Zooms the graph area out using the chart's coordinates.
zoomDisplayedAreaOutByGraphCoordinates(double, double) - Method in class de.slothsoft.charts.linechart.LineChart
Zooms the graph area out using the graph's coordinates.
zoomFactor(double) - Method in class de.slothsoft.charts.linechart.LineChart
Sets the factor which should be used to zoom the graph area.
A B C D E F G H I L M P R S T U V X Y Z 
Skip navigation links

Copyright © 2020. All rights reserved.