Package cox.jmatt.java.MathTools.demo.gpgdemo

This package holds the GPGenerator graph paper generation panels.

See:
          Description

Class Summary
BarChartPanel This panel generates simple bar charts and line charts.
BPSPanel BPS stands for 'blood pressure (and) sugar,' and this panel generates a chart to track that.
GPickle This class acts solely as a container for graph paper generator Panels.
GraphPanel This is the base Panel for the graph paper generator panels.
GraphPanelFactory This class exists to provide scripts with access to the various GraphPanel subclasses.
HexGridPanel HexGridPanel is a quick and dirty generator for hexagonal grid paper.
IsometricPanel This generator creates three types of isometrically-scaled paper: lined-grid isometric, diamond grid and isometric dots.
LedgerPanel LedgerPanel generates a rectangular grid consisting of evenly-spaced rows and columns of uneven width.
LetteringPanel This class is designed to create lettering guides like the ones used by children when learning to write.
LogPanel This panel generates logarithmic and semilog graph paper.
MusicPanel This generator creates blank music paper.
OffsetQuadPanel This generator produces square- or rectangular-grid paper with alternate rows offset, yielding a brick-like pattern.
PerspectivePanel This generator produces a one-point square-perspective grid.
PolarPanel This class generates graph paper for polar coordinates.
QuadrillePanel This panel generates standard, square-grid (quadrille) graph paper.
SymmetricLogPanel This generator produces graph paper similar to log paper.
 

Package cox.jmatt.java.MathTools.demo.gpgdemo Description

This package holds the GPGenerator graph paper generation panels. The base class is GraphPanel which adds the drawGraph() method to a standard Panel. This method accepts the top, bottom, left and right margins of the SVGTag representing the sheet of graph paper. These are the margins set in GPGenerator, which are passed in when the method is called. In addition to drawGraph(), GraphPanel's main reason for existence there are utility methods to extract and clamp String values pulled from TextFields.

The documentation for each type of graph paper is contained within its GraphPanel's javadoc. The preferred way to use these demo panels is through the MathTools GUI but it is not the only way. Each panel has setter methods for all configurable data plus the drawGraph() method. This means any of the classes in this package can be instantiated (outside a GUI, even) and used from a program or script. The only data required outside configuration are the margins and an SVGTag to hold the graph.

The GraphPanelFactory allows the specialized demo classes here to be exposed to scripts. While the preferred method is still by GUI, this allows easy use of the calculations and panels here, should the need arise.