org.jmol.jcamp

Class GraphCharacteristics

public class GraphCharacteristics extends Object

Field Summary
static StringINTEGRATION_DELIM
static StringINTEGRATION_VALUES_DELIM
static intMAX_DECIMALS
String_allIntegrationValues
String_axisColor
String_axisTextColor
DecimalFormat_decForm
String_graphCurveColor
boolean_grid
boolean_integrate
String_integrateCurveColor
String_integrateTextColor
Hashtable_integrationValues
String_lastPoint
boolean_reverse
String_textColor
ArrayList_unsortedIntegrationValues
boolean_zoomIn
Constructor Summary
GraphCharacteristics()
GraphCharacteristics(boolean zoomIn, boolean integrate, boolean grid, boolean reverse, String allIntegrationValues, String axisColor, String axisTextColor, String integrateCurveColor, String graphCurveColor, String textColor, String integrateTextColor)
Method Summary
StringgetAxisColor()
StringgetAxisTextColor()
StringgetGraphCurveColor()
booleangetGrid()
booleangetIntegrate()
StringgetIntegrateCurveColor()
StringgetIntegrateTextColor()
StringgetIntegrationCurveAreaValue(Double point)
booleangetReverse()
StringgetTextColor()
booleangetZoomIn()
StringisIntegrationCurvePoint(Double point)
voidsetAxisColor(String axisColor)
Setter and Getter methods for the 'Axis Color' option
voidsetAxisTextColor(String axisTextColor)
Setter and Getter methods for the 'Axis Text Color' option
voidsetGraphCurveColor(String graphCurveColor)
Setter and Getter methods for the 'Graph Curve Color' option
voidsetGrid(boolean grid)
Setter and Getter methods for the 'Grid' option
voidsetIntegrate(boolean integrate)
Setter and Getter methods for the 'Integrate' option
voidsetIntegrateCurveColor(String integrateCurveColor)
Setter and Getter methods for the 'Integrate Curve Color' option
voidsetIntegrateTextColor(String integrateTextColor)
voidsetIntegrationValues(ArrayList unsortedIntegrationValues)
Method to create a HashTable of integration curve area relationship to the concerned points
voidsetIntegrationValues()
Setter and Getter methods for the 'Integration Values' option
voidsetReverse(boolean reverse)
Setter and Getter methods for the 'Reverse' option
voidsetTextColor(String textColor)
Setter and Getter methods for the 'Graph Text Color' option
voidsetUnsortedIntegrationValues(String unsortedIntegrationValues)
Method to split and create an ArrayList of Integration relationship values
voidsetZoomIn(boolean zoomIn)
Setter and Getter methods for the 'Zoom In' option

Field Detail

INTEGRATION_DELIM

private static final String INTEGRATION_DELIM

INTEGRATION_VALUES_DELIM

private static final String INTEGRATION_VALUES_DELIM

MAX_DECIMALS

private static final int MAX_DECIMALS

_allIntegrationValues

private String _allIntegrationValues

_axisColor

private String _axisColor

_axisTextColor

private String _axisTextColor

_decForm

private DecimalFormat _decForm

_graphCurveColor

private String _graphCurveColor

_grid

private boolean _grid

_integrate

private boolean _integrate

_integrateCurveColor

private String _integrateCurveColor

_integrateTextColor

private String _integrateTextColor

_integrationValues

private Hashtable _integrationValues

_lastPoint

private String _lastPoint

_reverse

private boolean _reverse

_textColor

private String _textColor

_unsortedIntegrationValues

private ArrayList _unsortedIntegrationValues

_zoomIn

private boolean _zoomIn

Constructor Detail

GraphCharacteristics

public GraphCharacteristics()

GraphCharacteristics

public GraphCharacteristics(boolean zoomIn, boolean integrate, boolean grid, boolean reverse, String allIntegrationValues, String axisColor, String axisTextColor, String integrateCurveColor, String graphCurveColor, String textColor, String integrateTextColor)

Method Detail

getAxisColor

public String getAxisColor()

getAxisTextColor

public String getAxisTextColor()

getGraphCurveColor

public String getGraphCurveColor()

getGrid

public boolean getGrid()

getIntegrate

public boolean getIntegrate()

getIntegrateCurveColor

public String getIntegrateCurveColor()

getIntegrateTextColor

public String getIntegrateTextColor()

getIntegrationCurveAreaValue

public String getIntegrationCurveAreaValue(Double point)

getReverse

public boolean getReverse()

getTextColor

public String getTextColor()

getZoomIn

public boolean getZoomIn()

isIntegrationCurvePoint

private String isIntegrationCurvePoint(Double point)

setAxisColor

public void setAxisColor(String axisColor)
Setter and Getter methods for the 'Axis Color' option

setAxisTextColor

public void setAxisTextColor(String axisTextColor)
Setter and Getter methods for the 'Axis Text Color' option

setGraphCurveColor

public void setGraphCurveColor(String graphCurveColor)
Setter and Getter methods for the 'Graph Curve Color' option

setGrid

public void setGrid(boolean grid)
Setter and Getter methods for the 'Grid' option

setIntegrate

public void setIntegrate(boolean integrate)
Setter and Getter methods for the 'Integrate' option

setIntegrateCurveColor

public void setIntegrateCurveColor(String integrateCurveColor)
Setter and Getter methods for the 'Integrate Curve Color' option

setIntegrateTextColor

public void setIntegrateTextColor(String integrateTextColor)

setIntegrationValues

public void setIntegrationValues(ArrayList unsortedIntegrationValues)
Method to create a HashTable of integration curve area relationship to the concerned points

setIntegrationValues

public void setIntegrationValues()
Setter and Getter methods for the 'Integration Values' option

setReverse

public void setReverse(boolean reverse)
Setter and Getter methods for the 'Reverse' option

setTextColor

public void setTextColor(String textColor)
Setter and Getter methods for the 'Graph Text Color' option

setUnsortedIntegrationValues

public void setUnsortedIntegrationValues(String unsortedIntegrationValues)
Method to split and create an ArrayList of Integration relationship values

setZoomIn

public void setZoomIn(boolean zoomIn)
Setter and Getter methods for the 'Zoom In' option