JRubik v0.6

es.aeat.eett.plugins.chart
Class ConfiAxis

java.lang.Object
  extended byes.aeat.eett.plugins.chart.ConfiAxis
All Implemented Interfaces:
Confi

class ConfiAxis
extends java.lang.Object
implements Confi

Author:
f00992

Field Summary
private  boolean autoRange
           
private  boolean domainAxis
           
private static ConfiAxis domainInstance
           
private static java.lang.String KEY_DOMAIN_AXIS
           
private static java.lang.String KEY_LABEL
           
private static java.lang.String KEY_LABEL_COLOR
           
private static java.lang.String KEY_LABEL_FONT
           
private static java.lang.String KEY_LABEL_INSETS
           
private static java.lang.String KEY_RANGE
           
private static java.lang.String KEY_RANGE_AUTO
           
private static java.lang.String KEY_RANGE_AXIS
           
private static java.lang.String KEY_RANGE_MAX_VAL
           
private static java.lang.String KEY_RANGE_MIN_VAL
           
private static java.lang.String KEY_TICK_LABEL
           
private static java.lang.String KEY_TICK_LABEL_VISIBLE
           
private static java.lang.String KEY_TICK_MARKS_LABEL_VISIBLE
           
private  java.lang.String label
          The label for the axis.
private  java.awt.Color labelColor
          The axis label paint.
private  java.awt.Font labelFont
          The axis label font.
private  java.awt.Insets labelInsets
          The axis label insets.
private  double maximumValue
           
private  double minimumValue
           
private static ConfiAxis rangeInstance
           
private  java.awt.Font tickLabelFont
          The font used to display the tick labels.
private  java.awt.Insets tickLabelInsets
          The blank space around each tick label.
private  boolean tickLabelsVisible
          A flag that indicates whether or not tick labels are visible for the axis.
private  boolean tickMarksVisible
          A flag that indicates whether or not tick marks are visible for the axis.
 
Constructor Summary
private ConfiAxis(boolean domainAxis)
           
 
Method Summary
private  org.jfree.chart.axis.Axis getDomainAxis(org.jfree.chart.plot.Plot plot)
           
(package private) static ConfiAxis getDomainInstance()
           
static java.lang.String getKEY_DOMAIN_AXIS()
           
static java.lang.String getKEY_LABEL_COLOR()
           
static java.lang.String getKEY_LABEL_FONT()
           
static java.lang.String getKEY_LABEL_INSETS()
           
static java.lang.String getKEY_LABEL()
           
static java.lang.String getKEY_RANGE_AXIS()
           
static java.lang.String getKEY_TICK_LABEL()
           
 java.lang.String getLabel()
           
 java.awt.Color getLabelColor()
           
 java.awt.Font getLabelFont()
           
 java.awt.Insets getLabelInsets()
           
 double getMaximumValue()
           
 double getMinimumValue()
           
private  org.jfree.chart.axis.Axis getRangeAxis(org.jfree.chart.plot.Plot plot)
           
(package private) static ConfiAxis getRangeInstance()
           
 org.jdom.Element getRootElement()
           
 java.awt.Font getTickLabelFont()
           
 java.awt.Insets getTickLabelInsets()
           
 boolean isAutoRange()
           
 boolean isTickLabelsVisible()
           
 boolean isTickMarksVisible()
           
 void load(org.jfree.chart.JFreeChart chart)
          Carga, guarda, la configuracion del grafico
 boolean loadRootElement(org.jdom.Element eRoot)
           
 void restore(org.jfree.chart.JFreeChart chart)
          Restaura, aplica, la configuracion al grafico;
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_DOMAIN_AXIS

private static final java.lang.String KEY_DOMAIN_AXIS
See Also:
Constant Field Values

KEY_RANGE_AXIS

private static final java.lang.String KEY_RANGE_AXIS
See Also:
Constant Field Values

KEY_LABEL

private static final java.lang.String KEY_LABEL
See Also:
Constant Field Values

KEY_TICK_LABEL

private static final java.lang.String KEY_TICK_LABEL
See Also:
Constant Field Values

KEY_LABEL_FONT

private static final java.lang.String KEY_LABEL_FONT
See Also:
Constant Field Values

KEY_LABEL_COLOR

private static final java.lang.String KEY_LABEL_COLOR
See Also:
Constant Field Values

KEY_LABEL_INSETS

private static final java.lang.String KEY_LABEL_INSETS
See Also:
Constant Field Values

KEY_TICK_LABEL_VISIBLE

private static final java.lang.String KEY_TICK_LABEL_VISIBLE
See Also:
Constant Field Values

KEY_TICK_MARKS_LABEL_VISIBLE

private static final java.lang.String KEY_TICK_MARKS_LABEL_VISIBLE
See Also:
Constant Field Values

KEY_RANGE

private static final java.lang.String KEY_RANGE
See Also:
Constant Field Values

KEY_RANGE_AUTO

private static final java.lang.String KEY_RANGE_AUTO
See Also:
Constant Field Values

KEY_RANGE_MAX_VAL

private static final java.lang.String KEY_RANGE_MAX_VAL
See Also:
Constant Field Values

KEY_RANGE_MIN_VAL

private static final java.lang.String KEY_RANGE_MIN_VAL
See Also:
Constant Field Values

label

private java.lang.String label
The label for the axis.


labelFont

private java.awt.Font labelFont
The axis label font.


labelColor

private java.awt.Color labelColor
The axis label paint.


labelInsets

private java.awt.Insets labelInsets
The axis label insets.


tickLabelInsets

private java.awt.Insets tickLabelInsets
The blank space around each tick label.


tickLabelsVisible

private boolean tickLabelsVisible
A flag that indicates whether or not tick labels are visible for the axis.


tickLabelFont

private java.awt.Font tickLabelFont
The font used to display the tick labels.


tickMarksVisible

private boolean tickMarksVisible
A flag that indicates whether or not tick marks are visible for the axis.


autoRange

private boolean autoRange

minimumValue

private double minimumValue

maximumValue

private double maximumValue

domainInstance

private static ConfiAxis domainInstance

rangeInstance

private static ConfiAxis rangeInstance

domainAxis

private boolean domainAxis
Constructor Detail

ConfiAxis

private ConfiAxis(boolean domainAxis)
Method Detail

getDomainInstance

static ConfiAxis getDomainInstance()

getRangeInstance

static ConfiAxis getRangeInstance()

loadRootElement

public boolean loadRootElement(org.jdom.Element eRoot)
Specified by:
loadRootElement in interface Confi

getRootElement

public org.jdom.Element getRootElement()
Specified by:
getRootElement in interface Confi

load

public void load(org.jfree.chart.JFreeChart chart)
Description copied from interface: Confi
Carga, guarda, la configuracion del grafico

Specified by:
load in interface Confi
Parameters:
chart -

restore

public void restore(org.jfree.chart.JFreeChart chart)
Description copied from interface: Confi
Restaura, aplica, la configuracion al grafico;

Specified by:
restore in interface Confi
Parameters:
chart -

getDomainAxis

private org.jfree.chart.axis.Axis getDomainAxis(org.jfree.chart.plot.Plot plot)

getRangeAxis

private org.jfree.chart.axis.Axis getRangeAxis(org.jfree.chart.plot.Plot plot)

getKEY_DOMAIN_AXIS

public static java.lang.String getKEY_DOMAIN_AXIS()
Returns:
Returns the KEY_DOMAIN_AXIS.

getKEY_RANGE_AXIS

public static java.lang.String getKEY_RANGE_AXIS()
Returns:
Returns the kEY_RANGE_AXIS.

getKEY_LABEL

public static java.lang.String getKEY_LABEL()
Returns:
Returns the kEY_LABEL.

getKEY_LABEL_COLOR

public static java.lang.String getKEY_LABEL_COLOR()
Returns:
Returns the kEY_LABEL_COLOR.

getKEY_LABEL_FONT

public static java.lang.String getKEY_LABEL_FONT()
Returns:
Returns the kEY_LABEL_FONT.

getKEY_LABEL_INSETS

public static java.lang.String getKEY_LABEL_INSETS()
Returns:
Returns the kEY_LABEL_INSETS.

getKEY_TICK_LABEL

public static java.lang.String getKEY_TICK_LABEL()
Returns:
Returns the kEY_TICK_LABEL.

getLabel

public java.lang.String getLabel()
Returns:
Returns the label.

getLabelColor

public java.awt.Color getLabelColor()
Returns:
Returns the labelColor.

getLabelFont

public java.awt.Font getLabelFont()
Returns:
Returns the labelFont.

getLabelInsets

public java.awt.Insets getLabelInsets()
Returns:
Returns the labelInsets.

getTickLabelFont

public java.awt.Font getTickLabelFont()
Returns:
Returns the tickLabelFont.

getTickLabelInsets

public java.awt.Insets getTickLabelInsets()
Returns:
Returns the tickLabelInsets.

isTickLabelsVisible

public boolean isTickLabelsVisible()
Returns:
Returns the tickLabelsVisible.

isTickMarksVisible

public boolean isTickMarksVisible()
Returns:
Returns the tickMarksVisible.

isAutoRange

public boolean isAutoRange()
Returns:
Returns the autoRange.

getMaximumValue

public double getMaximumValue()
Returns:
Returns the maximumValue.

getMinimumValue

public double getMinimumValue()
Returns:
Returns the minimumValue.

JRubik v0.6

JRubik v0.6